diff options
author | Steve Kondik <shade@chemlab.org> | 2013-02-06 06:49:41 -0800 |
---|---|---|
committer | Steve Kondik <shade@chemlab.org> | 2013-02-06 06:49:41 -0800 |
commit | d852697190e617c43930723bbb446375394b4194 (patch) | |
tree | 6b4a41bd9514773160000adef25efdc3fd0a5f27 /media | |
parent | 0320f8a25d3670b55c50028830fea20e351b60ff (diff) | |
download | frameworks_av-d852697190e617c43930723bbb446375394b4194.zip frameworks_av-d852697190e617c43930723bbb446375394b4194.tar.gz frameworks_av-d852697190e617c43930723bbb446375394b4194.tar.bz2 |
stagefright: Fix tunnel mode ifdefs
* Was breaking on 8660 due to previous commit.
Change-Id: Ia9f5c45552cc933db336a66b6d1214b65e810488
Diffstat (limited to 'media')
-rw-r--r-- | media/libstagefright/AwesomePlayer.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/media/libstagefright/AwesomePlayer.cpp b/media/libstagefright/AwesomePlayer.cpp index 4b14baa..7d077f5 100644 --- a/media/libstagefright/AwesomePlayer.cpp +++ b/media/libstagefright/AwesomePlayer.cpp @@ -229,7 +229,7 @@ AwesomePlayer::AwesomePlayer() mAudioStatusEventPending = false; reset(); -#ifdef QCOM_ENHANCED_AUDIO +#ifdef USE_TUNNEL_MODE mIsTunnelAudio = false; #endif } @@ -241,7 +241,7 @@ AwesomePlayer::~AwesomePlayer() { reset(); -#ifdef QCOM_ENHANCED_AUDIO +#ifdef USE_TUNNEL_MODE // Disable Tunnel Mode Audio if (mIsTunnelAudio) { if(mTunnelAliveAP > 0) { @@ -1039,7 +1039,7 @@ status_t AwesomePlayer::play_l() { // We don't want to post an error notification at this point, // the error returned from MediaPlayer::start() will suffice. bool sendErrorNotification = false; -#ifdef QCOM_ENHANCED_AUDIO +#ifdef IS_TUNNEL_MODE if(mIsTunnelAudio) { // For tunnel Audio error has to be posted to the client sendErrorNotification = true; @@ -1542,7 +1542,7 @@ status_t AwesomePlayer::initAudioDecoder() { } ALOGV("nchannels %d;LPA will be skipped if nchannels is > 2 or nchannels == 0", nchannels); - +#endif #ifdef USE_TUNNEL_MODE char tunnelDecode[PROPERTY_VALUE_MAX]; property_get("tunnel.decode",tunnelDecode,"0"); @@ -1575,7 +1575,6 @@ status_t AwesomePlayer::initAudioDecoder() { } else ALOGD("Normal Audio Playback"); -#endif if (isStreamingHTTP()) { ALOGV("Streaming, force disable tunnel mode playback"); |