Loading services/audioflinger/PlaybackTracks.h +6 −0 Original line number Diff line number Diff line Loading @@ -183,6 +183,12 @@ public: } } static bool checkServerLatencySupported( audio_format_t format, audio_output_flags_t flags) { return audio_is_linear_pcm(format) && (flags & AUDIO_OUTPUT_FLAG_HW_AV_SYNC) == 0; } audio_output_flags_t getOutputFlags() const { return mFlags; } float getSpeed() const { return mSpeed; } protected: Loading services/audioflinger/Tracks.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -713,8 +713,7 @@ AudioFlinger::PlaybackThread::Track::Track( thread->mFastTrackAvailMask &= ~(1 << i); } mServerLatencySupported = thread->type() == ThreadBase::MIXER || thread->type() == ThreadBase::DUPLICATING; mServerLatencySupported = checkServerLatencySupported(format, flags); #ifdef TEE_SINK mTee.setId(std::string("_") + std::to_string(mThreadIoHandle) + "_" + std::to_string(mId) + "_T"); Loading Loading
services/audioflinger/PlaybackTracks.h +6 −0 Original line number Diff line number Diff line Loading @@ -183,6 +183,12 @@ public: } } static bool checkServerLatencySupported( audio_format_t format, audio_output_flags_t flags) { return audio_is_linear_pcm(format) && (flags & AUDIO_OUTPUT_FLAG_HW_AV_SYNC) == 0; } audio_output_flags_t getOutputFlags() const { return mFlags; } float getSpeed() const { return mSpeed; } protected: Loading
services/audioflinger/Tracks.cpp +1 −2 Original line number Diff line number Diff line Loading @@ -713,8 +713,7 @@ AudioFlinger::PlaybackThread::Track::Track( thread->mFastTrackAvailMask &= ~(1 << i); } mServerLatencySupported = thread->type() == ThreadBase::MIXER || thread->type() == ThreadBase::DUPLICATING; mServerLatencySupported = checkServerLatencySupported(format, flags); #ifdef TEE_SINK mTee.setId(std::string("_") + std::to_string(mThreadIoHandle) + "_" + std::to_string(mId) + "_T"); Loading