diff options
author | Giulio Cervera <giulio.cervera@cyanogenmod.org> | 2013-06-01 18:43:26 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@cyanogenmod.org> | 2013-07-03 12:42:52 -0700 |
commit | 01d0bd2f8291089cb729b19d5931e1352bf31078 (patch) | |
tree | ff62335231bc3485ee520c8e75a935e5fbb2a730 /services | |
parent | 55825a64f871311382566a6dbb538b2ce72d0a5f (diff) | |
download | frameworks_av-01d0bd2f8291089cb729b19d5931e1352bf31078.zip frameworks_av-01d0bd2f8291089cb729b19d5931e1352bf31078.tar.gz frameworks_av-01d0bd2f8291089cb729b19d5931e1352bf31078.tar.bz2 |
audioflinger: remove redundand ifdef
Change-Id: Iefc64cf477fd58a29984a9c198d84e876dbcf1c5
Diffstat (limited to 'services')
-rw-r--r-- | services/audioflinger/AudioFlinger.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp index 0c3cb14..228dbfc 100644 --- a/services/audioflinger/AudioFlinger.cpp +++ b/services/audioflinger/AudioFlinger.cpp @@ -6531,7 +6531,6 @@ int64_t AudioFlinger::DirectAudioTrack::getTimeStamp() { } void AudioFlinger::DirectAudioTrack::postEOS(int64_t delayUs) { -#ifdef QCOM_HARDWARE if (delayUs == 0 ) { ALOGV("Notify Audio Track of EOS event"); mClient->notify(DIRECT_TRACK_EOS); @@ -6539,10 +6538,6 @@ void AudioFlinger::DirectAudioTrack::postEOS(int64_t delayUs) { ALOGV("Notify Audio Track of hardware failure event"); mClient->notify(DIRECT_TRACK_HW_FAIL); } -#else - ALOGV("Notify Audio Track of EOS event"); - mClient->notify(DIRECT_TRACK_EOS); -#endif } void AudioFlinger::DirectAudioTrack::allocateBufPool() { |