Home
last modified time | relevance | path

Searched refs:n_formats (Results 1 – 13 of 13) sorted by relevance

/third_party/pulseaudio/src/pulse/
Dext-device-restore.c178 pa_tagstruct_getu8(t, &i.n_formats) < 0) { in ext_device_restore_read_device_formats_cb()
194 if (i.n_formats > 0) { in ext_device_restore_read_device_formats_cb()
195 i.formats = pa_xnew0(pa_format_info*, i.n_formats); in ext_device_restore_read_device_formats_cb()
197 for (j = 0; j < i.n_formats; j++) { in ext_device_restore_read_device_formats_cb()
217 for (j = 0; j < i.n_formats; j++) in ext_device_restore_read_device_formats_cb()
298 uint8_t n_formats, in pa_ext_device_restore_save_formats() argument
311 pa_assert(n_formats > 0); in pa_ext_device_restore_save_formats()
327 pa_tagstruct_putu8(t, n_formats); in pa_ext_device_restore_save_formats()
328 for (j = 0; j < n_formats; j++) in pa_ext_device_restore_save_formats()
Dext-device-restore.h40 uint8_t n_formats; /**< How many formats do we have? */ member
103 uint8_t n_formats,
Dintrospect.c247 uint8_t n_formats; in context_get_sink_info_callback() local
248 if (pa_tagstruct_getu8(t, &n_formats) < 0 || n_formats < 1) in context_get_sink_info_callback()
251 i.formats = pa_xnew0(pa_format_info*, n_formats); in context_get_sink_info_callback()
253 for (j = 0; j < n_formats; j++) { in context_get_sink_info_callback()
254 i.n_formats++; in context_get_sink_info_callback()
272 for (j = 0; j < i.n_formats; j++) in context_get_sink_info_callback()
300 for (j = 0; j < i.n_formats; j++) in context_get_sink_info_callback()
526 uint8_t n_formats; in context_get_source_info_callback() local
527 if (pa_tagstruct_getu8(t, &n_formats) < 0 || n_formats < 1) in context_get_source_info_callback()
530 i.formats = pa_xnew0(pa_format_info*, n_formats); in context_get_source_info_callback()
[all …]
Dstream.c94 unsigned int n_formats, in pa_stream_new_with_proplist_internal() argument
102 pa_assert((ss == NULL && map == NULL) || (formats == NULL && n_formats == 0)); in pa_stream_new_with_proplist_internal()
103 pa_assert(n_formats < PA_MAX_FORMATS); in pa_stream_new_with_proplist_internal()
127 s->n_formats = 0; in pa_stream_new_with_proplist_internal()
129 s->n_formats = n_formats; in pa_stream_new_with_proplist_internal()
130 for (i = 0; i < n_formats; i++) in pa_stream_new_with_proplist_internal()
236 unsigned int n_formats, in pa_stream_new_extended() argument
241 return pa_stream_new_with_proplist_internal(c, name, NULL, NULL, formats, n_formats, p); in pa_stream_new_extended()
316 for (i = 0; i < s->n_formats; i++) in stream_free()
1021 else if (s->n_formats == 1) in patch_buffer_attr()
[all …]
Dintrospect.h290 uint8_t n_formats; /**< Number of formats supported by the sink. \since 1.0 */ member
395 … uint8_t n_formats; /**< Number of formats supported by the source. \since 1.0 */ member
Dstream.h335 unsigned int n_formats /**< The number of formats being passed in */,
Dinternal.h167 uint8_t n_formats; member
/third_party/pulseaudio/src/modules/
Dmodule-device-restore.c351 uint8_t n_formats; in perportentry_write() local
360 n_formats = pa_idxset_size(e->formats); in perportentry_write()
361 pa_assert(n_formats > 0); in perportentry_write()
370 pa_tagstruct_putu8(t, n_formats); in perportentry_write()
393 uint8_t i, n_formats; in perportentry_read() local
419 pa_tagstruct_getu8(t, &n_formats) < 0 || n_formats < 1) { in perportentry_read()
424 for (i = 0; i < n_formats; ++i) { in perportentry_read()
1118 uint8_t i, n_formats; in extension_cb() local
1123 pa_tagstruct_getu8(t, &n_formats) < 0 || n_formats < 1) { in extension_cb()
1150 for (i = 0; i < n_formats; ++i) { in extension_cb()
Dmodule-tunnel.c1214 uint8_t n_formats; in read_formats() local
1217 if (pa_tagstruct_getu8(t, &n_formats) < 0) { /* no. of formats */ in read_formats()
1222 for (uint8_t j = 0; j < n_formats; j++) { in read_formats()
/third_party/pulseaudio/
DPROTOCOL223 uint8_t n_formats
235 uint8_t n_formats
249 uint8_t n_formats
267 uint8_t n_formats
/third_party/mesa3d/src/intel/vulkan/
Danv_formats.c419 uint32_t n_formats; member
422 .n_formats = ARRAY_SIZE(main_formats), },
424 .n_formats = ARRAY_SIZE(_4444_formats), },
426 .n_formats = ARRAY_SIZE(ycbcr_formats), },
436 enum_offset >= anv_formats[ext_number].n_formats) in anv_get_format()
/third_party/pulseaudio/src/utils/
Dpactl.c459 static const char* pa_format_infos_to_json_array(pa_format_info **formats, uint8_t n_formats) { in pa_format_infos_to_json_array() argument
471 for (i = 0; i < n_formats; i++) { in pa_format_infos_to_json_array()
655 …r_add_member_raw_json(encoder, "formats", pa_format_infos_to_json_array(i->formats, i->n_formats)); in get_sink_info_callback()
722 for (j = 0; j < i->n_formats; j++) in get_sink_info_callback()
840 …r_add_member_raw_json(encoder, "formats", pa_format_infos_to_json_array(i->formats, i->n_formats)); in get_source_info_callback()
906 for (j = 0; j < i->n_formats; j++) in get_source_info_callback()
/third_party/pulseaudio/src/pulsecore/
Dprotocol-native.c1950 uint8_t n_formats = 0; in command_create_playback_stream() local
2057 if (pa_tagstruct_getu8(t, &n_formats) < 0) { in command_create_playback_stream()
2062 if (n_formats) in command_create_playback_stream()
2065 for (i = 0; i < n_formats; i++) { in command_create_playback_stream()
2075 if (n_formats == 0) { in command_create_playback_stream()
2278 uint8_t n_formats = 0; in command_create_record_stream() local
2362 if (pa_tagstruct_getu8(t, &n_formats) < 0) { in command_create_record_stream()
2367 if (n_formats) in command_create_record_stream()
2370 for (i = 0; i < n_formats; i++) { in command_create_record_stream()
2393 if (n_formats == 0) { in command_create_record_stream()