diff options
Diffstat (limited to 'services/audioflinger')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 8acd244..1a37f4f 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -6359,6 +6359,7 @@ bool AudioFlinger::RecordThread::isValidSyncEvent(const sp<SyncEvent>& event) co status_t AudioFlinger::RecordThread::setSyncEvent(const sp<SyncEvent>& event) { +#if 0 // This branch is currently dead code, but is preserved in case it will be needed in future if (!isValidSyncEvent(event)) { return BAD_VALUE; } @@ -6376,6 +6377,9 @@ status_t AudioFlinger::RecordThread::setSyncEvent(const sp<SyncEvent>& event) } } return ret; +#else + return BAD_VALUE; +#endif } void AudioFlinger::RecordThread::RecordTrack::destroy() |