Home
last modified time | relevance | path

Searched refs:audio_config (Results 1 – 15 of 15) sorted by relevance

/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp367 AudioConfiguration audio_config = {}; in TEST_F() local
376 audio_config.pcmConfig(pcm_parameters); in TEST_F()
378 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_F()
637 AudioConfiguration audio_config = {}; in TEST_F() local
647 audio_config.codecConfig(codec_config); in TEST_F()
649 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_F()
672 AudioConfiguration audio_config = {}; in TEST_F() local
682 audio_config.codecConfig(codec_config); in TEST_F()
684 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_F()
707 AudioConfiguration audio_config = {}; in TEST_F() local
[all …]
/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSessionReport.h32 const AudioConfiguration& audio_config) { in OnSessionStarted() argument
36 session_ptr->OnSessionStarted(host_iface, dataMQ, audio_config); in OnSessionStarted()
DBluetoothAudioSession.cpp64 const AudioConfiguration& audio_config) { in OnSessionStarted() argument
69 } else if (!UpdateAudioConfig(audio_config)) { in OnSessionStarted()
71 << ", AudioConfiguration=" << toString(audio_config) in OnSessionStarted()
83 << ", AudioConfiguration=" << toString(audio_config); in OnSessionStarted()
171 const AudioConfiguration& audio_config) { in UpdateAudioConfig() argument
177 auto audio_config_discriminator = audio_config.getDiscriminator(); in UpdateAudioConfig()
189 audio_config_ = audio_config; in UpdateAudioConfig()
DBluetoothAudioSession.h102 bool UpdateAudioConfig(const AudioConfiguration& audio_config);
118 const AudioConfiguration& audio_config);
/hardware/libhardware/modules/soundtrigger/
Dsound_trigger_hw.c278 event->common.audio_config = AUDIO_CONFIG_INITIALIZER; in sound_trigger_keyphrase_event_alloc()
279 event->common.audio_config.sample_rate = 16000; in sound_trigger_keyphrase_event_alloc()
280 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in sound_trigger_keyphrase_event_alloc()
281 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT; in sound_trigger_keyphrase_event_alloc()
300 event->common.audio_config = AUDIO_CONFIG_INITIALIZER; in sound_trigger_generic_event_alloc()
301 event->common.audio_config.sample_rate = 16000; in sound_trigger_generic_event_alloc()
302 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in sound_trigger_generic_event_alloc()
303 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT; in sound_trigger_generic_event_alloc()
/hardware/libhardware/include/hardware/
Daudio.h726 const struct audio_config *config);
740 struct audio_config *config,
751 struct audio_config *config,
/hardware/libhardware/modules/audio_remote_submix/
Daudio_hw.cpp128 struct audio_config common;
324 static bool audio_config_compare(const audio_config * const input_config, in audio_config_compare()
325 const audio_config * const output_config) in audio_config_compare()
359 const struct audio_config * const config, in audio_config_compare()
525 static void submix_sanitize_config(struct audio_config * const config, const bool is_input_format) in audio_config_compare()
537 const struct audio_config * const config, in audio_config_compare()
542 audio_config pipe_config; in audio_config_compare()
563 const audio_config * const input_config = opening_input ? config : &pipe_config; in audio_config_compare()
564 const audio_config * const output_config = opening_input ? &pipe_config : config; in audio_config_compare()
1349 struct audio_config *config, in audio_config_compare()
[all …]
/hardware/libhardware/modules/audio/
Daudio_hw.c356 struct audio_config *config, in adev_open_output_stream()
480 const struct audio_config *config) in adev_get_input_buffer_size()
502 struct audio_config *config, in adev_open_input_stream()
/hardware/interfaces/soundtrigger/2.0/default/
DSoundTriggerHalImpl.cpp465 event->audioConfig.sampleRateHz = halEvent->audio_config.sample_rate; in convertRecognitionEventFromHal()
467 (audio::common::V2_0::AudioChannelMask)halEvent->audio_config.channel_mask; in convertRecognitionEventFromHal()
468 event->audioConfig.format = (audio::common::V2_0::AudioFormat)halEvent->audio_config.format; in convertRecognitionEventFromHal()
/hardware/libhardware/modules/audio_remote_submix/tests/
Dremote_submix_tests.cpp109 struct audio_config configIn = {}; in OpenInputStream()
122 struct audio_config configOut = {}; in OpenOutputStream()
/hardware/libhardware_legacy/audio/
Daudio_hw_hal.cpp481 const struct audio_config *config) in adev_get_input_buffer_size()
492 struct audio_config *config, in adev_open_output_stream()
557 struct audio_config *config, in adev_open_input_stream()
/hardware/qcom/audio/legacy/alsa_sound/
Daudio_hw_hal.cpp507 const struct audio_config *config) in adev_get_input_buffer_size()
556 struct audio_config *config, in adev_open_output_stream()
623 audio_config *config, in adev_open_input_stream()
/hardware/interfaces/soundtrigger/2.2/default/
DSoundTriggerHw.cpp489 event->audioConfig.sampleRateHz = halEvent->audio_config.sample_rate; in convertRecognitionEventFromHal()
491 (audio::common::V2_0::AudioChannelMask)halEvent->audio_config.channel_mask; in convertRecognitionEventFromHal()
492 event->audioConfig.format = (audio::common::V2_0::AudioFormat)halEvent->audio_config.format; in convertRecognitionEventFromHal()
/hardware/libhardware/modules/usbaudio/
Daudio_hal.c520 struct audio_config *config, in adev_open_output_stream()
679 const struct audio_config *config) in adev_get_input_buffer_size()
948 struct audio_config *config, in adev_open_input_stream()
/hardware/qcom/audio/hal/
Daudio_hw.c4922 struct audio_config *config, in adev_open_output_stream()
5787 const struct audio_config *config) in adev_get_input_buffer_size()
5841 struct audio_config *config, in adev_open_input_stream()