diff options
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r-- | services/audioflinger/Threads.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index cda8095..7d3b854 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h @@ -895,6 +895,7 @@ public: virtual bool checkForNewParameter_l(const String8& keyValuePair, status_t& status); + virtual void flushHw_l(); protected: virtual int getTrackName_l(audio_channel_mask_t channelMask, @@ -930,6 +931,7 @@ public: OffloadThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, audio_io_handle_t id, uint32_t device); virtual ~OffloadThread() {}; + virtual void flushHw_l(); protected: // threadLoop snippets @@ -942,9 +944,6 @@ protected: virtual void onAddNewTrack_l(); private: - void flushHw_l(); - -private: bool mHwPaused; bool mFlushPending; size_t mPausedWriteLength; // length in bytes of write interrupted by pause |