diff options
Diffstat (limited to 'services/audioflinger/Threads.h')
-rw-r--r-- | services/audioflinger/Threads.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/services/audioflinger/Threads.h b/services/audioflinger/Threads.h index f13cb54..443b8d7 100644 --- a/services/audioflinger/Threads.h +++ b/services/audioflinger/Threads.h @@ -528,7 +528,7 @@ private: status_t addTrack_l(const sp<Track>& track); bool destroyTrack_l(const sp<Track>& track); void removeTrack_l(const sp<Track>& track); - void signal_l(); + void broadcast_l(); void readOutputParameters(); @@ -592,6 +592,8 @@ private: // Bit 0 is reset by the async callback thread calling resetDraining(). Out of sequence // callbacks are ignored. uint32_t mDrainSequence; + // A condition that must be evaluated by prepareTrack_l() has changed and we must not wait + // for async write callback in the thread loop before evaluating it bool mSignalPending; sp<AsyncCallbackThread> mCallbackThread; |