Home
last modified time | relevance | path

Searched refs:channelCount (Results 1 – 19 of 19) sorted by relevance

/hardware/interfaces/audio/effect/all-versions/default/include/effect/all-versions/default/
DVirtualizerEffect.impl.h37 void VirtualizerEffect::speakerAnglesFromHal(const int32_t* halAngles, uint32_t channelCount, in speakerAnglesFromHal() argument
39 speakerAngles.resize(channelCount); in speakerAnglesFromHal()
40 for (uint32_t i = 0; i < channelCount; ++i) { in speakerAnglesFromHal()
192 uint32_t channelCount = in getVirtualSpeakerAngles() local
194 size_t halSpeakerAnglesSize = sizeof(int32_t) * 3 * channelCount; in getVirtualSpeakerAngles()
205 channelCount = valueSize / (sizeof(int32_t) * 3); in getVirtualSpeakerAngles()
207 speakerAnglesFromHal(reinterpret_cast<const int32_t*>(valueData), channelCount, in getVirtualSpeakerAngles()
DVirtualizerEffect.h114 void speakerAnglesFromHal(const int32_t* halAngles, uint32_t channelCount,
/hardware/libhardware_legacy/audio/
DAudioHardwareInterface.cpp113 size_t AudioHardwareBase::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) in getInputBufferSize() argument
123 if (channelCount != 1) { in getInputBufferSize()
124 ALOGW("getInputBufferSize bad channel count: %d", channelCount); in getInputBufferSize()
DA2dpAudioInterface.h52 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
DA2dpAudioInterface.cpp203 size_t A2dpAudioInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) in getInputBufferSize() argument
205 return mHardwareInterface->getInputBufferSize(sampleRate, format, channelCount); in getInputBufferSize()
DAudioDumpInterface.h149 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
DAudioDumpInterface.cpp251 size_t AudioDumpInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) in getInputBufferSize() argument
253 return mFinalInterface->getInputBufferSize(sampleRate, format, channelCount); in getInputBufferSize()
/hardware/qcom/msm8996/kernel-headers/linux/
Dmsm_audio_alac.h32 uint8_t channelCount; member
/hardware/qcom/msm8996/original-kernel-headers/linux/
Dmsm_audio_alac.h16 uint8_t channelCount; member
/hardware/qcom/msm8998/original-kernel-headers/linux/
Dmsm_audio_alac.h16 uint8_t channelCount; member
/hardware/qcom/msm8998/kernel-headers/linux/
Dmsm_audio_alac.h32 uint8_t channelCount; member
/hardware/interfaces/audio/effect/2.0/vts/functional/
DVtsHalAudioEffectV2_0TargetTest.cpp207 void getChannelCount(uint32_t* channelCount);
244 void AudioEffectHidlTest::getChannelCount(uint32_t* channelCount) { in getChannelCount() argument
257 *channelCount = audio_channel_count_from_out_mask( in getChannelCount()
412 uint32_t channelCount; in TEST_F() local
413 getChannelCount(&channelCount); in TEST_F()
415 volumes.resize(channelCount); in TEST_F()
416 for (uint32_t i = 0; i < channelCount; ++i) { in TEST_F()
428 uint32_t channelCount; in TEST_F() local
429 getChannelCount(&channelCount); in TEST_F()
431 volumes.resize(channelCount); in TEST_F()
[all …]
/hardware/interfaces/audio/effect/4.0/vts/functional/
DVtsHalAudioEffectV4_0TargetTest.cpp210 void getChannelCount(uint32_t* channelCount);
247 void AudioEffectHidlTest::getChannelCount(uint32_t* channelCount) { in getChannelCount() argument
260 *channelCount = audio_channel_count_from_out_mask( in getChannelCount()
415 uint32_t channelCount; in TEST_F() local
416 getChannelCount(&channelCount); in TEST_F()
418 volumes.resize(channelCount); in TEST_F()
419 for (uint32_t i = 0; i < channelCount; ++i) { in TEST_F()
431 uint32_t channelCount; in TEST_F() local
432 getChannelCount(&channelCount); in TEST_F()
434 volumes.resize(channelCount); in TEST_F()
[all …]
/hardware/libhardware_legacy/include/hardware_legacy/
DAudioHardwareBase.h48 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
DAudioHardwareInterface.h250 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0;
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.cpp253 uint32_t channelCount = mIntf->getChannelCount(); in process() local
291 mNumBytesPerInputFrame = encInfo.frameLength * channelCount * sizeof(int16_t); in process()
382 + (consumed * 1000000ll / channelCount / sampleRate); in process()
385 mInputTimeUs += outargs.numInSamples * 1000000ll / channelCount / sampleRate; in process()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.h90 …struct pcm * configureDevice(unsigned flags, char* hw, int sampleRate, int channelCount, int perio…
Daudio_hw_hal.cpp510 uint8_t channelCount = popcount(config->channel_mask); in adev_get_input_buffer_size() local
511 return qadev->hwif->getInputBufferSize(config->sample_rate, config->format, channelCount); in adev_get_input_buffer_size()
/hardware/google/av/media/sfplugin/
DCCodecBufferChannel.cpp194 int32_t delay, int32_t padding, int32_t sampleRate, int32_t channelCount) { in initSkipCutBuffer() argument
199 setSkipCutBuffer(delay, padding, channelCount); in initSkipCutBuffer()
205 void updateSkipCutBuffer(int32_t sampleRate, int32_t channelCount) { in updateSkipCutBuffer() argument
215 setSkipCutBuffer(delay, padding, channelCount); in updateSkipCutBuffer()
242 void setSkipCutBuffer(int32_t skip, int32_t cut, int32_t channelCount) { in setSkipCutBuffer() argument
249 mSkipCutBuffer = new SkipCutBuffer(skip, cut, channelCount); in setSkipCutBuffer()
1886 int32_t channelCount; in start() local
1888 if (outputFormat->findInt32(KEY_CHANNEL_COUNT, &channelCount) in start()
1901 (*buffers)->initSkipCutBuffer(delay, padding, sampleRate, channelCount); in start()
2017 int32_t channelCount; in handleWork() local
[all …]