/system/media/audio_utils/ |
D | resampler.c | 35 uint32_t channel_count; // number of channels (interleaved) member 106 rsmp->in_buf_size * rsmp->channel_count * sizeof(int16_t)); in resampler_resample_from_provider() 114 memcpy(rsmp->in_buf + rsmp->frames_in * rsmp->channel_count, in resampler_resample_from_provider() 116 buf.frame_count * rsmp->channel_count * sizeof(int16_t)); in resampler_resample_from_provider() 123 if (rsmp->channel_count == 1) { in resampler_resample_from_provider() 134 out + framesWr * rsmp->channel_count, in resampler_resample_from_provider() 145 rsmp->in_buf + inFrames * rsmp->channel_count, in resampler_resample_from_provider() 146 rsmp->frames_in * rsmp->channel_count * sizeof(int16_t)); in resampler_resample_from_provider() 170 if (rsmp->channel_count == 1) { in resampler_resample_from_input() 234 rsmp->channel_count = channelCount; in create_resampler()
|
D | PowerLog.cpp | 249 uint32_t channel_count, audio_format_t format, size_t entries, size_t frames_per_entry) in power_log_create() argument 256 PowerLog(sample_rate, channel_count, format, entries, frames_per_entry)); in power_log_create()
|
/system/media/alsa_utils/ |
D | alsa_device_profile.c | 563 unsigned channel_count; in profile_get_channel_count_strs() local 565 (channel_count = profile->channel_counts[index]) != 0; in profile_get_channel_count_strs() 569 if (channel_count < chans_strs_size in profile_get_channel_count_strs() 570 && chans_strs[channel_count] != NULL in profile_get_channel_count_strs() 571 && channel_count < 2 /* positional only for fewer than 2 channels */) { in profile_get_channel_count_strs() 573 if (buffSize - curStrLen < strlen(chans_strs[channel_count]) + 2) { in profile_get_channel_count_strs() 581 curStrLen = strlcat(buffer, chans_strs[channel_count], buffSize); in profile_get_channel_count_strs() 586 if (buffSize - curStrLen < strlen(index_chans_strs[channel_count]) + 2) { in profile_get_channel_count_strs() 594 curStrLen = strlcat(buffer, index_chans_strs[channel_count], buffSize); in profile_get_channel_count_strs()
|
/system/media/audio/include/system/ |
D | audio.h | 831 uint32_t channel_count) in audio_channel_mask_for_index_assignment_from_count() argument 833 if (channel_count == 0) { in audio_channel_mask_for_index_assignment_from_count() 836 if (channel_count > AUDIO_CHANNEL_COUNT_MAX) { in audio_channel_mask_for_index_assignment_from_count() 839 uint32_t bits = (1 << channel_count) - 1; in audio_channel_mask_for_index_assignment_from_count() 854 static inline audio_channel_mask_t audio_channel_out_mask_from_count(uint32_t channel_count) in audio_channel_out_mask_from_count() argument 857 switch (channel_count) { in audio_channel_out_mask_from_count() 899 static inline audio_channel_mask_t audio_channel_in_mask_from_count(uint32_t channel_count) in audio_channel_in_mask_from_count() argument 902 switch (channel_count) { in audio_channel_in_mask_from_count() 918 return audio_channel_mask_for_index_assignment_from_count(channel_count); in audio_channel_in_mask_from_count() 928 static inline audio_channel_mask_t haptic_channel_mask_from_count(uint32_t channel_count) in haptic_channel_mask_from_count() argument [all …]
|
/system/bt/service/test/ |
D | a2dp_sink_unittest.cc | 53 uint8_t channel_count = 0; member 70 uint8_t channel_count) override { in OnAudioConfig() argument 74 audio_config_.channel_count = channel_count; in OnAudioConfig() 265 EXPECT_EQ(kChannelCount, delegate.audio_config().channel_count); in TEST_F()
|
/system/bt/service/ |
D | a2dp_sink.h | 43 uint32_t sample_rate, uint8_t channel_count) = 0; 78 uint8_t channel_count) override;
|
D | a2dp_sink.cc | 133 uint8_t channel_count) { in AudioConfigCallback() argument 137 delegate_->OnAudioConfig(device_address, sample_rate, channel_count); in AudioConfigCallback()
|
/system/bt/btif/src/ |
D | btif_a2dp_sink.cc | 89 channel_count(0), in BtifA2dpSinkControlBlock() 107 channel_count = 0; in Reset() 117 tA2DP_CHANNEL_COUNT channel_count; member in BtifA2dpSinkControlBlock 343 return btif_a2dp_sink_cb.channel_count; in btif_a2dp_sink_get_channel_count() 565 int channel_count = A2DP_GetTrackChannelCount(p_buf->codec_info); in btif_a2dp_sink_decoder_update_event() local 566 if (channel_count == -1) { in btif_a2dp_sink_decoder_update_event() 577 btif_a2dp_sink_cb.channel_count = channel_count; in btif_a2dp_sink_decoder_update_event()
|
D | btif_a2dp_control.cc | 188 tA2DP_CHANNEL_COUNT channel_count = btif_a2dp_sink_get_channel_count(); in btif_a2dp_recv_ctrl_data() local 194 UIPC_Send(*a2dp_uipc, UIPC_CH_ID_AV_CTRL, 0, &channel_count, in btif_a2dp_recv_ctrl_data()
|
D | btif_av.cc | 67 int channel_count; member 687 const RawAddress& peer_address, int sample_rate, int channel_count); 1486 p_config_req->channel_count); in ProcessEvent() 1700 p_config_req->channel_count); in ProcessEvent() 2356 const RawAddress& peer_address, int sample_rate, int channel_count) { in btif_av_report_sink_audio_config_state() argument 2358 peer_address.ToString().c_str(), sample_rate, channel_count); in btif_av_report_sink_audio_config_state() 2362 peer_address, sample_rate, channel_count)); in btif_av_report_sink_audio_config_state() 2594 config_req.channel_count = in bta_av_sink_media_callback() 2596 if (config_req.channel_count == -1) { in bta_av_sink_media_callback()
|
/system/bt/service/common/android/bluetooth/ |
D | IBluetoothA2dpSinkCallback.aidl | 23 void OnAudioConfig(String device_address, int sample_rate, int channel_count); in OnAudioConfig() argument
|
/system/bt/stack/a2dp/ |
D | a2dp_aac_encoder.cc | 217 p_feeding_params->channel_count = A2DP_GetTrackChannelCountAac(p_codec_info); in a2dp_aac_encoder_update() 220 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); in a2dp_aac_encoder_update() 470 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_feeding_reset() 513 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_get_num_frame_iteration() 547 p_feeding_params->channel_count * in a2dp_aac_encode_frames() 580 p_encoder_params->frame_length * p_feeding_params->channel_count; in a2dp_aac_encode_frames() 632 p_feeding_params->channel_count * in a2dp_aac_encode_frames() 669 a2dp_aac_encoder_cb.feeding_params.channel_count * in a2dp_aac_read_feeding()
|
D | a2dp_sbc_encoder.cc | 218 p_feeding_params->channel_count = A2DP_GetTrackChannelCountSbc(p_codec_info); in a2dp_sbc_encoder_update() 221 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); in a2dp_sbc_encoder_update() 386 a2dp_sbc_encoder_cb.feeding_params.channel_count * in a2dp_sbc_feeding_reset() 431 a2dp_sbc_encoder_cb.feeding_params.channel_count * in a2dp_sbc_get_num_frame_iteration() 566 a2dp_sbc_encoder_cb.feeding_params.channel_count * in a2dp_sbc_encode_frames() 697 read_size *= a2dp_sbc_encoder_cb.feeding_params.channel_count; in a2dp_sbc_read_feeding() 719 a2dp_sbc_encoder_cb.feeding_params.channel_count); in a2dp_sbc_read_feeding()
|
D | a2dp_vendor_ldac_encoder.cc | 382 p_feeding_params->channel_count = in a2dp_vendor_ldac_encoder_update() 386 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); in a2dp_vendor_ldac_encoder_update() 526 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_vendor_ldac_feeding_reset() 582 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_ldac_get_num_frame_iteration() 686 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_ldac_encode_frames() 721 a2dp_ldac_encoder_cb.feeding_params.channel_count * in a2dp_ldac_read_feeding()
|
D | a2dp_vendor_aptx_hd_encoder.cc | 264 p_feeding_params->channel_count = in a2dp_vendor_aptx_hd_encoder_update() 268 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); in a2dp_vendor_aptx_hd_encoder_update() 429 a2dp_aptx_hd_encoder_cb.feeding_params.channel_count) / in a2dp_vendor_aptx_hd_send_frames()
|
D | a2dp_vendor_aptx_encoder.cc | 263 p_feeding_params->channel_count = in a2dp_vendor_aptx_encoder_update() 267 p_feeding_params->bits_per_sample, p_feeding_params->channel_count); in a2dp_vendor_aptx_encoder_update() 440 (pcm_bytes_encoded / a2dp_aptx_encoder_cb.feeding_params.channel_count) / in a2dp_vendor_aptx_send_frames()
|
/system/bt/service/hal/ |
D | fake_bluetooth_av_interface.cc | 100 uint8_t channel_count) { in NotifyAudioConfig() argument 102 observer.AudioConfigCallback(this, bda, sample_rate, channel_count); in NotifyAudioConfig()
|
D | bluetooth_av_interface.cc | 110 uint8_t channel_count) { in SinkAudioConfigCallback() argument 115 channel_count); in SinkAudioConfigCallback() 312 uint32_t sample_rate, uint8_t channel_count) { in AudioConfigCallback() argument
|
D | fake_bluetooth_av_interface.h | 58 uint8_t channel_count);
|
D | bluetooth_av_interface.h | 60 uint8_t channel_count);
|
/system/extras/sound/ |
D | playwav.c | 27 uint32_t channel_count; member 61 config.channel_count = channels; in pcm_play() 237 cfg.channel_count = hdr.num_channels; in wav_rec()
|
/system/media/audio_utils/include/audio_utils/ |
D | PowerLog.h | 129 uint32_t channel_count, audio_format_t format, size_t entries, size_t frames_per_entry);
|
/system/bt/service/ipc/binder/ |
D | bluetooth_a2dp_sink_binder_server.cc | 179 uint8_t channel_count) { in OnAudioConfig() argument 188 channel_count); in OnAudioConfig()
|
D | bluetooth_a2dp_sink_binder_server.h | 66 uint8_t channel_count) override;
|
/system/bt/include/hardware/ |
D | bt_av.h | 267 uint8_t channel_count);
|