Home
last modified time | relevance | path

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

/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.cpp202 size_t A2dpAudioInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) in getInputBufferSize() argument
204 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/libhardware_legacy/include/hardware_legacy/
DAudioHardwareBase.h48 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
DAudioHardwareInterface.h251 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()