Home
last modified time | relevance | path

Searched refs:getChannels (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/
DFLACExtractor.cpp93 unsigned getChannels() const { in getChannels() function in android::FLACParser
558 if (getChannels() == 0 || getChannels() > 8) { in init()
559 ALOGE("unsupported channel count %u", getChannels()); in init()
607 if (table[i].mChannels >= getChannels() && in init()
616 mTrackMetadata->setInt32(kKeyChannelCount, getChannels()); in init()
637 mMaxBufferSize = getMaxBlockSize() * getChannels() * sizeof(short); in allocateBuffers()
676 mWriteHeader.channels != getChannels() || in readBuffer()
679 getSampleRate(), getChannels(), getBitsPerSample(), in readBuffer()
690 size_t bufferSize = blocksize * getChannels() * sizeof(short); in readBuffer()
695 (*mCopy)(data, mWriteBuffer, blocksize, getChannels()); in readBuffer()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioProfile.h66 const ChannelsVector &getChannels() const { return mChannelMasks; } in getChannels() function
170 setChannelsFor(profileToAdd->getChannels(), profileToAdd->getFormat()); in addProfileFromHal()
263 dynamicFormatProfile->getChannels(), in setFormats()
306 sp<AudioProfile> profileToAdd = new AudioProfile(format, profile->getChannels(), in setSampleRatesFor()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioProfile.cpp59 (left.getChannels() == compareTo.getChannels()) && in operator ==()
DAudioPort.cpp80 const ChannelsVector &channelsToExport = mProfiles[profileIndex]->getChannels(); in toAudioPort()
326 pickChannelMask(pickedChannelMask, mProfiles[i]->getChannels()); in pickAudioProfile()
DSerializer.cpp206 profile->setDynamicChannels(profile->getChannels().isEmpty()); in deserialize()