diff options
Diffstat (limited to 'services/audioflinger/PlaybackTracks.h')
-rw-r--r-- | services/audioflinger/PlaybackTracks.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/services/audioflinger/PlaybackTracks.h b/services/audioflinger/PlaybackTracks.h index b898924..37e39a0 100644 --- a/services/audioflinger/PlaybackTracks.h +++ b/services/audioflinger/PlaybackTracks.h @@ -44,7 +44,6 @@ public: void flush(); void destroy(); - void mute(bool); int name() const { return mName; } audio_stream_type_t streamType() const { @@ -78,7 +77,6 @@ protected: virtual size_t framesReady() const; - bool isMuted() const { return mMute; } bool isPausing() const { return mState == PAUSING; } @@ -111,11 +109,6 @@ public: protected: - // written by Track::mute() called by binder thread(s), without a mutex or barrier. - // read by Track::isMuted() called by playback thread, also without a mutex or barrier. - // The lack of mutex or barrier is safe because the mute status is only used by itself. - bool mMute; - // FILLED state is used for suppressing volume ramp at begin of playing enum {FS_INVALID, FS_FILLING, FS_FILLED, FS_ACTIVE}; mutable uint8_t mFillingUpStatus; |