Searched defs:TrackBase (Results 1 – 2 of 2) sorted by relevance
213 struct TrackBase { struct214 TrackBase() in TrackBase() function219 virtual ~TrackBase() {} in ~TrackBase() argument221 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 …]
84 TrackBase::TrackBase( in TrackBase() function in android::TrackBase