Home
last modified time | relevance | path

Searched defs:TrackBase (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libaudioprocessing/include/media/
DAudioMixerBase.h213 struct TrackBase { struct
214 TrackBase() in TrackBase() function
219 virtual ~TrackBase() {} in ~TrackBase() argument
221 virtual uint32_t getOutputChannelCount() { return channelCount; } in getOutputChannelCount()
222 virtual uint32_t getMixerChannelCount() { return mMixerChannelCount; } in getMixerChannelCount()
224 bool needsRamp() { return (volumeInc[0] | volumeInc[1] | auxInc) != 0; } in needsRamp()
226 bool doesResample() const { return mResampler.get() != nullptr; } in doesResample()
228 void resetResampler() { if (mResampler.get() != nullptr) mResampler->reset(); } in resetResampler()
230 size_t getUnreleasedFrames() const { return mResampler.get() != nullptr ? in getUnreleasedFrames()
233 bool useStereoVolume() const { return channelMask == AUDIO_CHANNEL_OUT_STEREO in useStereoVolume()
[all …]
/frameworks/av/services/audioflinger/
DTracks.cpp84 TrackBase::TrackBase( in TrackBase() function in android::TrackBase