Searched refs:channelCount (Results 1 – 11 of 11) sorted by relevance
/hardware/libhardware_legacy/audio/ |
D | AudioHardwareInterface.cpp | 113 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()
|
D | A2dpAudioInterface.h | 52 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
|
D | A2dpAudioInterface.cpp | 202 size_t A2dpAudioInterface::getInputBufferSize(uint32_t sampleRate, int format, int channelCount) in getInputBufferSize() argument 204 return mHardwareInterface->getInputBufferSize(sampleRate, format, channelCount); in getInputBufferSize()
|
D | AudioDumpInterface.h | 149 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
|
D | AudioDumpInterface.cpp | 251 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/ |
D | AudioHardwareBase.h | 48 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount);
|
D | AudioHardwareInterface.h | 251 virtual size_t getInputBufferSize(uint32_t sampleRate, int format, int channelCount) = 0;
|
/hardware/qcom/audio/legacy/alsa_sound/ |
D | AudioUsbALSA.h | 90 …struct pcm * configureDevice(unsigned flags, char* hw, int sampleRate, int channelCount, int perio…
|
D | AudioUsbALSA.cpp | 590 …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()
|
D | AudioHardwareALSA.cpp | 1410 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()
|
D | audio_hw_hal.cpp | 510 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()
|