Home
last modified time | relevance | path

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

12

/hardware/interfaces/audio/effect/all-versions/default/
DVirtualizerEffect.cpp228 uint32_t channelCount = audio_channel_count_from_out_mask(halChannelMask); in getVirtualSpeakerAngles() local
229 size_t halSpeakerAnglesSize = sizeof(int32_t) * 3 * channelCount; in getVirtualSpeakerAngles()
238 channelCount = valueSize / (sizeof(int32_t) * 3); in getVirtualSpeakerAngles()
241 channelCount, speakerAngles); in getVirtualSpeakerAngles()
278 status_t VirtualizerEffect::speakerAnglesFromHal(const int32_t* halAngles, uint32_t channelCount, in getVirtualSpeakerAngles() argument
280 speakerAngles.resize(channelCount); in getVirtualSpeakerAngles()
281 for (uint32_t i = 0; i < channelCount; ++i) { in getVirtualSpeakerAngles()
294 status_t VirtualizerEffect::speakerAnglesFromHal(const int32_t* halAngles, uint32_t channelCount, in getVirtualSpeakerAngles() argument
296 speakerAngles.azimuth.resize(channelCount); in getVirtualSpeakerAngles()
297 speakerAngles.elevation.resize(channelCount); in getVirtualSpeakerAngles()
[all …]
/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);
/hardware/interfaces/audio/aidl/default/
DSoundDose.cpp78 void SoundDose::startDataProcessor(uint32_t sampleRate, uint32_t channelCount, in startDataProcessor() argument
87 sampleRate, channelCount, format, mMelCallback, /*deviceId=*/0, mRs2Value); in startDataProcessor()
89 mMelProcessor->updateAudioFormat(sampleRate, channelCount, format); in startDataProcessor()
/hardware/interfaces/audio/core/all-versions/vts/functional/tests/
Dgenerators_tests.cpp155 const uint32_t channelCount = in TEST() local
162 EXPECT_TRUE(channelCount <= 4) << "Unexpected channel count: " << channelCount << " " << in TEST()
/hardware/interfaces/audio/aidl/default/alsa/
DUtils.h63 unsigned int channelCount, int isInput);
65 unsigned int channelCount);
DUtils.cpp175 AudioChannelLayout getChannelLayoutMaskFromChannelCount(unsigned int channelCount, int isInput) { in getChannelLayoutMaskFromChannelCount() argument
178 channelCount, getInvalidChannelLayout()); in getChannelLayoutMaskFromChannelCount()
181 AudioChannelLayout getChannelIndexMaskFromChannelCount(unsigned int channelCount) { in getChannelIndexMaskFromChannelCount() argument
182 return findValueOrDefault(getSupportedChannelIndexLayoutMap(), channelCount, in getChannelIndexMaskFromChannelCount()
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/9/com/google/hardware/pixel/display/
DHistogramCapability.aidl38 int channelCount;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/11/com/google/hardware/pixel/display/
DHistogramCapability.aidl38 int channelCount;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/10/com/google/hardware/pixel/display/
DHistogramCapability.aidl38 int channelCount;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/12/com/google/hardware/pixel/display/
DHistogramCapability.aidl38 int channelCount;
/hardware/google/interfaces/display/aidl_api/com.google.hardware.pixel.display/current/com/google/hardware/pixel/display/
DHistogramCapability.aidl38 int channelCount;
/hardware/google/interfaces/display/com/google/hardware/pixel/display/
DHistogramCapability.aidl34 int channelCount;
/hardware/interfaces/audio/aidl/default/include/core-impl/
DSoundDose.h35 uint32_t samplerate, uint32_t channelCount,
56 uint32_t samplerate, uint32_t channelCount,
/hardware/interfaces/audio/effect/all-versions/vts/functional/
DVtsHalAudioEffectTargetTest.cpp221 void getChannelCount(uint32_t* channelCount);
279 void AudioEffectHidlTest::getChannelCount(uint32_t* channelCount) { in getChannelCount() argument
291 *channelCount = 1; in getChannelCount()
297 *channelCount = audio_channel_count_from_out_mask( in getChannelCount()
302 *channelCount = android::audio::policy::configuration::V7_0::getChannelCount( in getChannelCount()
304 ASSERT_NE(*channelCount, 0); in getChannelCount()
545 uint32_t channelCount; in TEST_P() local
546 ASSERT_NO_FATAL_FAILURE(getChannelCount(&channelCount)); in TEST_P()
548 volumes.resize(channelCount); in TEST_P()
549 for (uint32_t i = 0; i < channelCount; ++i) { in TEST_P()
[all …]
/hardware/interfaces/audio/aidl/default/bluetooth/
DStreamBluetooth.cpp134 const auto channelCount = in checkConfigParams() local
136 if ((pcmConfig.channelMode == ChannelMode::MONO && channelCount != 1) || in checkConfigParams()
137 (pcmConfig.channelMode == ChannelMode::STEREO && channelCount != 2)) { in checkConfigParams()
138 LOG(ERROR) << __func__ << ": Channel count mismatch, stream value=" << channelCount in checkConfigParams()
/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/graphics/common/libhwc2.1/libdevice/
DHistogramDevice.cpp53 HistogramDevice::HistogramDevice(ExynosDisplay* const display, const uint8_t channelCount, in HistogramDevice() argument
57 initChannels(channelCount, reservedChannels); in HistogramDevice()
564 void HistogramDevice::initChannels(const uint8_t channelCount, in initChannels() argument
567 HIST_LOG(I, "init with %u channels", channelCount); in initChannels()
570 mChannels.resize(channelCount); in initChannels()
577 "invalid channel cannot be reserved (channelCount: %u)", channelCount); in initChannels()
581 for (uint8_t channelId = 0; channelId < channelCount; ++channelId) { in initChannels()
593 uint8_t channelCount = 0; in initHistogramCapability() local
596 channelCount = mChannels.size(); in initHistogramCapability()
613 mHistogramCapability.channelCount = channelCount; in initHistogramCapability()
[all …]
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.h90 …struct pcm * configureDevice(unsigned flags, char* hw, int sampleRate, int channelCount, int perio…
/hardware/interfaces/audio/aidl/default/r_submix/
DSubmixRoute.cpp185 const int channelCount = getChannelCount(streamConfig.channelLayout); in createPipe() local
189 ::android::Format_from_SR_C(streamConfig.sampleRate, channelCount, audioFormat); in createPipe()
/hardware/interfaces/audio/aidl/vts/
DVtsHalBassBoostTargetTest.cpp82 int channelCount = getChannelCount( in setFrameCounts() local
84 mInputFrameCount = kInputSize / channelCount; in setFrameCounts()
85 mOutputFrameCount = kInputSize / channelCount; in setFrameCounts()
DVtsHalVolumeTargetTest.cpp68 int channelCount = getChannelCount( in initFrameCount() local
70 mInputFrameCount = kBufferSize / channelCount; in initFrameCount()
71 mOutputFrameCount = kBufferSize / channelCount; in initFrameCount()

12