summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorvivek mehta <mvivek@codeaurora.org>2015-10-16 12:15:07 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2015-10-24 00:24:53 -0700
commit10c638d2d22514c665746327ffae0a0026d11d52 (patch)
tree5f7432862976edd7a31b2570f68e856b20a51140 /include
parent27194a9abb4fbeeac4efc8c14aab127f8550742e (diff)
downloadframeworks_av-10c638d2d22514c665746327ffae0a0026d11d52.zip
frameworks_av-10c638d2d22514c665746327ffae0a0026d11d52.tar.gz
frameworks_av-10c638d2d22514c665746327ffae0a0026d11d52.tar.bz2
libmedia : audio: handle set playback rate when direct pcm used
- In direct PCM usecase if setplayback rate is called then invalidate the common block and send empty offload structure below to use default path. CRs-Fixed: 916660 Change-Id: I6df7c10b7115c77a19564e2f9fabc511d76a2410
Diffstat (limited to 'include')
-rw-r--r--include/media/AudioTrack.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/media/AudioTrack.h b/include/media/AudioTrack.h
index 42883b5..42fa3be 100644
--- a/include/media/AudioTrack.h
+++ b/include/media/AudioTrack.h
@@ -942,6 +942,7 @@ protected:
// For Device Selection API
// a value of AUDIO_PORT_HANDLE_NONE indicated default (AudioPolicyManager) routing.
audio_port_handle_t mSelectedDeviceId;
+ bool mPlaybackRateSet;
private:
class DeathNotifier : public IBinder::DeathRecipient {