Home
last modified time | relevance | path

Searched refs:getFrameSizeInBytes (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/audio/aidl/common/tests/
Dutils_tests.cpp30 using aidl::android::hardware::audio::common::getFrameSizeInBytes;
153 EXPECT_EQ(0UL, getFrameSizeInBytes(AudioFormatDescription{}, AudioChannelLayout{})); in TEST()
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()
164 EXPECT_EQ(sizeof(float), getFrameSizeInBytes(make_AudioFormatDescription(PcmType::FLOAT_32_BIT), in TEST()
167 getFrameSizeInBytes(make_AudioFormatDescription(PcmType::FLOAT_32_BIT), in TEST()
170 getFrameSizeInBytes(make_AudioFormatDescription("bitstream"), AudioChannelLayout{})); in TEST()
172 getFrameSizeInBytes(make_AudioFormatDescription(PcmType::INT_16_BIT, "encapsulated"), in TEST()
/hardware/interfaces/audio/aidl/default/
DEffectContext.cpp23 using aidl::android::hardware::audio::common::getFrameSizeInBytes;
198 mInputFrameSize = ::aidl::android::hardware::audio::common::getFrameSizeInBytes( in updateIOFrameSize()
200 mOutputFrameSize = ::aidl::android::hardware::audio::common::getFrameSizeInBytes( in updateIOFrameSize()
DStream.cpp32 using aidl::android::hardware::audio::common::getFrameSizeInBytes;
71 return getFrameSizeInBytes(mFormat, mChannelLayout); in getFrameSize()
DModule.cpp38 using aidl::android::hardware::audio::common::getFrameSizeInBytes;
193 getFrameSizeInBytes(portConfigIt->format.value(), portConfigIt->channelMask.value()); in createStreamContext()
/hardware/interfaces/audio/aidl/common/include/
DUtils.h101 constexpr size_t getFrameSizeInBytes( in getFrameSizeInBytes() function
/hardware/interfaces/audio/aidl/vts/
DEffectHelper.h163 auto frameSize = ::aidl::android::hardware::audio::common::getFrameSizeInBytes( in allocateInputData()