Lines Matching defs:reply
989 static void read_sink_format_reply(struct userdata *u, pa_tagstruct *reply, pa_sink *sink) {
994 pa_assert(reply);
997 pa_tagstruct_putu32(reply, PA_DEVICE_TYPE_SINK);
998 pa_tagstruct_putu32(reply, sink->index);
1003 /* Fake a reply with PCM encoding supported */
1006 pa_tagstruct_putu8(reply, 1);
1008 pa_tagstruct_put_format_info(reply, f);
1015 /* Write all the formats from the entry to the reply */
1016 pa_tagstruct_putu8(reply, pa_idxset_size(e->formats));
1018 pa_tagstruct_put_format_info(reply, f);
1028 pa_tagstruct *reply = NULL;
1040 reply = pa_tagstruct_new();
1041 pa_tagstruct_putu32(reply, PA_COMMAND_REPLY);
1042 pa_tagstruct_putu32(reply, tag);
1049 pa_tagstruct_putu32(reply, EXT_VERSION);
1077 read_sink_format_reply(u, reply, sink);
1087 pa_assert(reply);
1106 read_sink_format_reply(u, reply, sink);
1182 pa_pstream_send_tagstruct(pa_native_connection_get_pstream(c), reply);
1187 if (reply)
1188 pa_tagstruct_free(reply);