Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp347 AudioConfiguration audio_config = {}; in TEST_P() local
356 audio_config.pcmConfig(pcm_parameters); in TEST_P()
358 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P()
617 AudioConfiguration audio_config = {}; in TEST_P() local
627 audio_config.codecConfig(codec_config); in TEST_P()
629 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P()
652 AudioConfiguration audio_config = {}; in TEST_P() local
662 audio_config.codecConfig(codec_config); in TEST_P()
664 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P()
687 AudioConfiguration audio_config = {}; in TEST_P() 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.h741 const struct audio_config *config);
755 struct audio_config *config,
766 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()
527 static void submix_sanitize_config(struct audio_config * const config, const bool is_input_format) in audio_config_compare()
539 const struct audio_config * const config, in audio_config_compare()
544 audio_config pipe_config; in audio_config_compare()
565 const audio_config * const input_config = opening_input ? config : &pipe_config; in audio_config_compare()
566 const audio_config * const output_config = opening_input ? &pipe_config : config; in audio_config_compare()
1373 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/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/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.3/default/
DSoundTriggerHw.cpp545 event->audioConfig.sampleRateHz = halEvent->audio_config.sample_rate; in convertRecognitionEventFromHal()
547 (audio::common::V2_0::AudioChannelMask)halEvent->audio_config.channel_mask; in convertRecognitionEventFromHal()
548 event->audioConfig.format = (audio::common::V2_0::AudioFormat)halEvent->audio_config.format; in convertRecognitionEventFromHal()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c500 event->common.audio_config = AUDIO_CONFIG_INITIALIZER; in stdev_keyphrase_event_alloc()
501 event->common.audio_config.sample_rate = 16000; in stdev_keyphrase_event_alloc()
502 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in stdev_keyphrase_event_alloc()
503 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT; in stdev_keyphrase_event_alloc()
533 event->common.audio_config = AUDIO_CONFIG_INITIALIZER; in stdev_generic_event_alloc()
534 event->common.audio_config.sample_rate = 16000; in stdev_generic_event_alloc()
535 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in stdev_generic_event_alloc()
536 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT; in stdev_generic_event_alloc()
/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()