Home
last modified time | relevance | path

Searched refs:channelCount (Results 1 – 18 of 18) 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/kernel-headers/linux/
Dmsm_audio_alac.h32 uint8_t channelCount; member
/hardware/qcom/msm8998/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/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/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()