/third_party/libsnd/src/ |
H A D | sndfile.c | 1427 if (psf->channel_map == NULL) in sf_command() 1430 if (data == NULL || datasize != SIGNED_SIZEOF (psf->channel_map [0]) * psf->sf.channels) in sf_command() 1435 memcpy (data, psf->channel_map, datasize) ; in sf_command() 1443 if (data == NULL || datasize != SIGNED_SIZEOF (psf->channel_map [0]) * psf->sf.channels) in sf_command() 1458 free (psf->channel_map) ; in sf_command() 1459 if ((psf->channel_map = malloc (datasize)) == NULL) in sf_command() 1464 memcpy (psf->channel_map, data, datasize) ; in sf_command() 1468 ** Don't pass user data, use validated psf->channel_map data instead. in sf_command() 2995 free (psf->channel_map) ; in psf_close()
|
H A D | wavlike.c | 349 free (psf->channel_map) ; in wavlike_read_fmt_chunk() 351 if ((psf->channel_map = calloc (psf->sf.channels, sizeof (psf->channel_map [0]))) == NULL) in wavlike_read_fmt_chunk() 365 psf->channel_map [k++] = channel_mask_bits [bit].id ; in wavlike_read_fmt_chunk()
|
H A D | common.h | 427 int *channel_map ; member
|
H A D | rf64.c | 837 wpriv->wavex_channelmask = wavlike_gen_channel_mask (psf->channel_map, psf->sf.channels) ; in rf64_command()
|
/third_party/alsa-utils/topology/nhlt/intel/ssp/ |
H A D | ssp-internal.h | 36 uint32_t channel_map; member
|
/third_party/pulseaudio/src/pulse/ |
H A D | internal.h | 166 pa_channel_map channel_map; member
|
H A D | scache.c | 65 pa_tagstruct_put_channel_map(t, &s->channel_map); in pa_stream_connect_upload()
|
H A D | introspect.c | 110 pa_tagstruct_get_channel_map(t, &i.channel_map) < 0) || in context_get_server_info_callback() 118 pa_channel_map_init_extend(&i.channel_map, i.sample_spec.channels, PA_CHANNEL_MAP_DEFAULT); in context_get_server_info_callback() 177 pa_tagstruct_get_channel_map(t, &i.channel_map) < 0 || in context_get_sink_info_callback() 457 pa_tagstruct_get_channel_map(t, &i.channel_map) < 0 || in context_get_source_info_callback() 1238 pa_tagstruct_get_channel_map(t, &i.channel_map) < 0 || in context_get_sink_input_info_callback() 1343 pa_tagstruct_get_channel_map(t, &i.channel_map) < 0 || in context_get_source_output_info_callback() 1747 pa_tagstruct_get_channel_map(t, &i.channel_map) < 0 || in context_get_sample_info_callback()
|
H A D | stream.c | 123 s->channel_map = *map; in pa_stream_new_with_proplist_internal() 125 pa_channel_map_init(&s->channel_map); in pa_stream_new_with_proplist_internal() 1138 (!(s->flags & PA_STREAM_FIX_CHANNELS) && !pa_channel_map_equal(&cm, &s->channel_map))))) { in pa_create_stream_callback() 1147 s->channel_map = cm; in pa_create_stream_callback() 1318 PA_TAG_CHANNEL_MAP, &s->channel_map, in create_stream() 2644 return &s->channel_map; in pa_stream_get_channel_map()
|
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-mixer.h | 295 pa_channel_map channel_map; member
|
H A D | alsa-ucm.c | 1556 pa_channel_map_init_extend(&m->channel_map, channels, PA_CHANNEL_MAP_ALSA); in alsa_mapping_add_ucm_modifier() 1558 pa_channel_map_init(&m->channel_map); in alsa_mapping_add_ucm_modifier() 1619 pa_channel_map_init_extend(&m->channel_map, channels, PA_CHANNEL_MAP_ALSA); in ucm_create_mapping_direction() 1627 if (channels < m->channel_map.channels) in ucm_create_mapping_direction() 1628 pa_channel_map_init_extend(&m->channel_map, channels, PA_CHANNEL_MAP_ALSA); in ucm_create_mapping_direction() 1920 bool exact_channels = m->channel_map.channels > 0; in mapping_open_pcm() 1923 try_map = m->channel_map; in mapping_open_pcm() 1938 m->channel_map = try_map; in mapping_open_pcm()
|
/third_party/pulseaudio/src/modules/ |
H A D | module-zeroconf-publish.c | 164 s->cm = sink->channel_map; in get_service_data() 175 s->cm = source->channel_map; in get_service_data() 313 txt = avahi_string_list_add_pair(txt, "channel_map", pa_channel_map_snprint(cm, sizeof(cm), &s->cm)); in publish_service()
|
H A D | module-rygel-media-server.c | 362 mime_type = pa_sample_spec_to_mime_type_mimefy(&sink->sample_spec, &sink->channel_map); in append_variant_mime_type() 364 mime_type = pa_sample_spec_to_mime_type_mimefy(&source->sample_spec, &source->channel_map); in append_variant_mime_type()
|
H A D | module-loopback.c | 55 "channel_map=<channel map> " 204 "channel_map", 1599 map = source->channel_map; in pa__init() 1605 map = sink->channel_map; in pa__init() 1638 if (pa_modargs_get_value(ma, "channels", NULL) || pa_modargs_get_value(ma, "channel_map", NULL)) in pa__init() 1772 map = u->source_output->channel_map; in pa__init()
|
H A D | module-combine-sink.c | 68 "channel_map=<channel map>" 88 "channel_map", 1171 pa_sink_input_new_data_set_channel_map(&data, &u->sink->channel_map); 1538 /* Check the specified slave sinks for sample_spec and channel_map to use for the combined sink */ 1561 slaves_map = slave_sink->channel_map; 1570 if (!pa_channel_map_equal(&slaves_map, &slave_sink->channel_map))
|
H A D | module-virtual-source.c | 55 "channel_map=<channel map> " 93 "channel_map", 516 map = master->channel_map; in pa__init()
|
H A D | module-virtual-sink.c | 49 "channel_map=<channel map> " 77 "channel_map", 505 map = master->channel_map; in pa__init()
|
/third_party/ffmpeg/libavcodec/ |
H A D | ac3enc_template.c | 75 samples[s->channel_map[ch]], in copy_input_samples()
|
H A D | aacenc.c | 539 const uint8_t *channel_map = s->reorder_map; in copy_input_samples() local 549 frame->extended_data[channel_map[ch]], in copy_input_samples()
|
/third_party/pulseaudio/src/modules/rtp/ |
H A D | module-rtp-send.c | 275 cm = s->channel_map; in pa__init()
|
/third_party/pulseaudio/src/pulsecore/ |
H A D | protocol-simple.c | 739 if (pa_modargs_get_sample_spec_and_channel_map(ma, &o->sample_spec, &o->channel_map, PA_CHANNEL_MAP_DEFAULT) < 0) { in pa_simple_options_parse()
|
H A D | protocol-native.c | 157 s->channel_map = *map; in upload_stream_new() 445 *map = s->source_output->channel_map; in record_stream_new() 950 *map = s->sink_input->channel_map; in playback_stream_new() 2911 else if (pa_scache_add_item(c->protocol->core, s->name, &s->sample_spec, &s->channel_map, &s->memchunk, s->proplist, &idx) < 0) in command_finish_upload_stream() 3044 PA_TAG_CHANNEL_MAP, &sink->channel_map, in sink_fill_tagstruct() 3119 PA_TAG_CHANNEL_MAP, &source->channel_map, in source_fill_tagstruct() 3291 pa_tagstruct_put_channel_map(t, &s->channel_map); in sink_input_fill_tagstruct() 3334 pa_tagstruct_put_channel_map(t, &s->channel_map); in source_output_fill_tagstruct() 3375 pa_tagstruct_put_channel_map(t, &e->channel_map); in scache_fill_tagstruct()
|
H A D | protocol-esound.c | 703 pa_cvolume_remap(&volume, &ce->channel_map, &stereo); in esd_proto_all_info() 822 pa_cvolume_remap(&volume, &stereo, &ce->channel_map); in esd_proto_sample_pan()
|
/third_party/alsa-utils/aplay/ |
H A D | aplay.c | 156 static snd_pcm_chmap_t *channel_map = NULL; /* chmap to override */ variable 826 channel_map = snd_pcm_chmap_parse_string(optarg); 827 if (!channel_map) { 1278 snd_pcm_chmap_t *chmap = channel_map;
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
H A D | module-echo-cancel.c | 70 "channel_map=<channel map> " 274 "channel_map", 1765 source_map = source_master->channel_map; in pa__init() 1766 sink_map = sink_master->channel_map; in pa__init()
|