Home
last modified time | relevance | path

Searched refs:make_AudioFormatDescription (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/audio/aidl/common/tests/
Dutils_tests.cpp126 AudioFormatDescription make_AudioFormatDescription(AudioFormatType type) { in make_AudioFormatDescription() function
132 AudioFormatDescription make_AudioFormatDescription(PcmType pcm) { in make_AudioFormatDescription() function
133 auto result = make_AudioFormatDescription(AudioFormatType::PCM); in make_AudioFormatDescription()
138 AudioFormatDescription make_AudioFormatDescription(const std::string& encoding) { in make_AudioFormatDescription() function
144 AudioFormatDescription make_AudioFormatDescription(PcmType transport, const std::string& encoding) { in make_AudioFormatDescription() function
145 auto result = make_AudioFormatDescription(encoding); in make_AudioFormatDescription()
154 EXPECT_EQ(sizeof(int16_t), getFrameSizeInBytes(make_AudioFormatDescription(PcmType::INT_16_BIT), in TEST()
157 getFrameSizeInBytes(make_AudioFormatDescription(PcmType::INT_16_BIT), in TEST()
159 EXPECT_EQ(sizeof(int32_t), getFrameSizeInBytes(make_AudioFormatDescription(PcmType::INT_32_BIT), in TEST()
162 getFrameSizeInBytes(make_AudioFormatDescription(PcmType::INT_32_BIT), in TEST()
[all …]
/hardware/interfaces/audio/aidl/default/alsa/
DUtils.cpp130 AudioFormatDescription make_AudioFormatDescription(AudioFormatType type) { in make_AudioFormatDescription() function
136 AudioFormatDescription make_AudioFormatDescription(PcmType pcm) { in make_AudioFormatDescription() function
137 auto result = make_AudioFormatDescription(AudioFormatType::PCM); in make_AudioFormatDescription()
144 {make_AudioFormatDescription(PcmType::UINT_8_BIT), PCM_FORMAT_S8}, in getAudioFormatDescriptorToPcmFormatMap()
145 {make_AudioFormatDescription(PcmType::INT_16_BIT), PCM_FORMAT_S16_LE}, in getAudioFormatDescriptorToPcmFormatMap()
146 {make_AudioFormatDescription(PcmType::FIXED_Q_8_24), PCM_FORMAT_S24_LE}, in getAudioFormatDescriptorToPcmFormatMap()
147 {make_AudioFormatDescription(PcmType::INT_24_BIT), PCM_FORMAT_S24_3LE}, in getAudioFormatDescriptorToPcmFormatMap()
148 {make_AudioFormatDescription(PcmType::INT_32_BIT), PCM_FORMAT_S32_LE}, in getAudioFormatDescriptorToPcmFormatMap()
149 {make_AudioFormatDescription(PcmType::FLOAT_32_BIT), PCM_FORMAT_FLOAT_LE}, in getAudioFormatDescriptorToPcmFormatMap()