Home
last modified time | relevance | path

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

/hardware/interfaces/audio/effect/all-versions/default/
DVirtualizerEffect.cpp39 void VirtualizerEffect::speakerAnglesFromHal(const int32_t* halAngles, uint32_t channelCount, in speakerAnglesFromHal() argument
41 speakerAngles.resize(channelCount); in speakerAnglesFromHal()
42 for (uint32_t i = 0; i < channelCount; ++i) { in speakerAnglesFromHal()
198 uint32_t channelCount = in getVirtualSpeakerAngles() local
200 size_t halSpeakerAnglesSize = sizeof(int32_t) * 3 * channelCount; in getVirtualSpeakerAngles()
211 channelCount = valueSize / (sizeof(int32_t) * 3); in getVirtualSpeakerAngles()
213 speakerAnglesFromHal(reinterpret_cast<const int32_t*>(valueData), channelCount, in getVirtualSpeakerAngles()
DVirtualizerEffect.h109 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/msm8998/original-kernel-headers/linux/
Dmsm_audio_alac.h16 uint8_t channelCount; member
/hardware/qcom/msm8996/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/qcom/msm8996/kernel-headers/linux/
Dmsm_audio_alac.h32 uint8_t channelCount; member
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp196 void getChannelCount(uint32_t* channelCount);
236 void AudioEffectHidlTest::getChannelCount(uint32_t* channelCount) { in getChannelCount() argument
249 *channelCount = audio_channel_count_from_out_mask( in getChannelCount()
401 uint32_t channelCount; in TEST_P() local
402 getChannelCount(&channelCount); in TEST_P()
404 volumes.resize(channelCount); in TEST_P()
405 for (uint32_t i = 0; i < channelCount; ++i) { in TEST_P()
417 uint32_t channelCount; in TEST_P() local
418 getChannelCount(&channelCount); in TEST_P()
420 volumes.resize(channelCount); in TEST_P()
[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/flac/
DC2SoftFlacEnc.cpp228 uint32_t channelCount = mIntf->getChannelCount(); in process() local
232 outCapacity += mBlockSize * channelCount * sizeof(int16_t); in process()
253 size_t processSize = MIN(kInBlockSize * channelCount * sizeof(int16_t), (inSize - inPos)); in process()
254 const unsigned nbInputFrames = processSize / (channelCount * sizeof(int16_t)); in process()
/hardware/google/av/media/codecs/aac/
DC2SoftAacEnc.cpp121 const C2P<C2StreamChannelCountInfo::input> &channelCount) { in MaxBufSizeCalculator() argument
123 me.set().value = 1024 * sizeof(short) * channelCount.v.value; in MaxBufSizeCalculator()
296 uint32_t channelCount = mIntf->getChannelCount(); in process() local
339 mNumBytesPerInputFrame = encInfo.frameLength * channelCount * sizeof(int16_t); in process()
474 + (consumed * 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…
DAudioUsbALSA.cpp590 …sbALSA::configureDevice(unsigned flags, char* hw, int sampleRate, int channelCount, int periodSize… in configureDevice() argument
605 ALOGD("Setting hardware params: sampleRate:%d, channels: %d",sampleRate, channelCount); in configureDevice()
606 err = setHardwareParams(handle, sampleRate, channelCount,periodSize); in configureDevice()
DAudioHardwareALSA.cpp1410 size_t AudioHardwareALSA::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) in getInputBufferSize() argument
1415 bufferSize = (sampleRate * channelCount * 20 * sizeof(int16_t)) / 1000; in getInputBufferSize()
1417 bufferSize = 256 * sizeof(int16_t) * channelCount; in getInputBufferSize()
1419 bufferSize = 512 * sizeof(int16_t) * channelCount; in getInputBufferSize()
1421 bufferSize = 1024 * sizeof(int16_t) * channelCount; in getInputBufferSize()
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.cpp213 int32_t delay, int32_t padding, int32_t sampleRate, int32_t channelCount) { in initSkipCutBuffer() argument
218 setSkipCutBuffer(delay, padding, channelCount); in initSkipCutBuffer()
224 void updateSkipCutBuffer(int32_t sampleRate, int32_t channelCount) { in updateSkipCutBuffer() argument
234 setSkipCutBuffer(delay, padding, channelCount); in updateSkipCutBuffer()
261 void setSkipCutBuffer(int32_t skip, int32_t cut, int32_t channelCount) { in setSkipCutBuffer() argument
268 mSkipCutBuffer = new SkipCutBuffer(skip, cut, channelCount); in setSkipCutBuffer()
2352 int32_t channelCount; in start() local
2354 if (outputFormat->findInt32(KEY_CHANNEL_COUNT, &channelCount) in start()
2367 (*buffers)->initSkipCutBuffer(delay, padding, sampleRate, channelCount); in start()
2640 int32_t channelCount; in handleWork() local
[all …]