Home
last modified time | relevance | path

Searched refs:codec_sample_rate (Results 1 – 8 of 8) sorted by relevance

/system/bt/audio_a2dp_hw/test/
Daudio_a2dp_hw_test.cc25 btav_a2dp_codec_sample_rate_t codec_sample_rate) { in codec_sample_rate2value() argument
26 switch (codec_sample_rate) { in codec_sample_rate2value()
101 for (const auto codec_sample_rate : codec_sample_rate_array) { in TEST_F() local
105 codec_sample_rate, codec_bits_per_sample, codec_channel_mode); in TEST_F()
108 if ((codec_sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) || in TEST_F()
116 uint32_t sample_rate = codec_sample_rate2value(codec_sample_rate); in TEST_F()
/system/bt/audio_hearing_aid_hw/test/
Daudio_hearing_aid_hw_test.cc25 btav_a2dp_codec_sample_rate_t codec_sample_rate) { in codec_sample_rate2value() argument
26 switch (codec_sample_rate) { in codec_sample_rate2value()
101 for (const auto codec_sample_rate : codec_sample_rate_array) { in TEST_F() local
105 codec_sample_rate, codec_bits_per_sample, codec_channel_mode); in TEST_F()
108 if ((codec_sample_rate == BTAV_A2DP_CODEC_SAMPLE_RATE_NONE) || in TEST_F()
116 uint32_t sample_rate = codec_sample_rate2value(codec_sample_rate); in TEST_F()
/system/bt/audio_hearing_aid_hw/include/
Daudio_hearing_aid_hw.h143 btav_a2dp_codec_sample_rate_t codec_sample_rate,
/system/bt/audio_a2dp_hw/include/
Daudio_a2dp_hw.h147 btav_a2dp_codec_sample_rate_t codec_sample_rate,
/system/bt/stack/a2dp/
Da2dp_codec_config.cc425 btav_a2dp_codec_sample_rate_t codec_sample_rate) { in codecSampleRate2Str() argument
428 if (codec_sample_rate & BTAV_A2DP_CODEC_SAMPLE_RATE_44100) { in codecSampleRate2Str()
432 if (codec_sample_rate & BTAV_A2DP_CODEC_SAMPLE_RATE_48000) { in codecSampleRate2Str()
436 if (codec_sample_rate & BTAV_A2DP_CODEC_SAMPLE_RATE_88200) { in codecSampleRate2Str()
440 if (codec_sample_rate & BTAV_A2DP_CODEC_SAMPLE_RATE_96000) { in codecSampleRate2Str()
444 if (codec_sample_rate & BTAV_A2DP_CODEC_SAMPLE_RATE_176400) { in codecSampleRate2Str()
448 if (codec_sample_rate & BTAV_A2DP_CODEC_SAMPLE_RATE_192000) { in codecSampleRate2Str()
454 ss << "UnknownSampleRate(0x" << std::hex << codec_sample_rate << ")"; in codecSampleRate2Str()
/system/bt/stack/include/
Da2dp_codec_api.h238 btav_a2dp_codec_sample_rate_t codec_sample_rate);
/system/bt/audio_hearing_aid_hw/src/
Daudio_hearing_aid_hw.cc975 btav_a2dp_codec_sample_rate_t codec_sample_rate, in audio_ha_hw_stream_compute_buffer_size() argument
985 switch (codec_sample_rate) { in audio_ha_hw_stream_compute_buffer_size()
1012 ERROR("Invalid sample rate: 0x%x", codec_sample_rate); in audio_ha_hw_stream_compute_buffer_size()
/system/bt/audio_a2dp_hw/src/
Daudio_a2dp_hw.cc1020 btav_a2dp_codec_sample_rate_t codec_sample_rate, in audio_a2dp_hw_stream_compute_buffer_size() argument
1030 switch (codec_sample_rate) { in audio_a2dp_hw_stream_compute_buffer_size()
1051 ERROR("Invalid sample rate: 0x%x", codec_sample_rate); in audio_a2dp_hw_stream_compute_buffer_size()