summaryrefslogtreecommitdiffstats
path: root/media/libmediaplayerservice/MediaPlayerService.cpp
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-03-07 09:15:37 -0800
committerGlenn Kasten <gkasten@google.com>2012-03-09 15:32:22 -0800
commit18868c5db2f90309c6d11e5837822135e4a0c0fa (patch)
tree58c7505f59a1a93ab729fc039aa5cb1eaa49652e /media/libmediaplayerservice/MediaPlayerService.cpp
parentf2015b625cd6bea86da7401e725332c35b90e7cf (diff)
downloadframeworks_av-18868c5db2f90309c6d11e5837822135e4a0c0fa.zip
frameworks_av-18868c5db2f90309c6d11e5837822135e4a0c0fa.tar.gz
frameworks_av-18868c5db2f90309c6d11e5837822135e4a0c0fa.tar.bz2
Use audio_policy_output_flags_t consistently
This affects: - IAudioFlinger::openOutput - AudioTrack::AudioTrack - AudioTrack::set - apps that call these Change-Id: I26fb281bac6cb87593d17697bc9cb37a835af205
Diffstat (limited to 'media/libmediaplayerservice/MediaPlayerService.cpp')
-rw-r--r--media/libmediaplayerservice/MediaPlayerService.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libmediaplayerservice/MediaPlayerService.cpp b/media/libmediaplayerservice/MediaPlayerService.cpp
index 1a85c9c..bbc53f3 100644
--- a/media/libmediaplayerservice/MediaPlayerService.cpp
+++ b/media/libmediaplayerservice/MediaPlayerService.cpp
@@ -1503,7 +1503,7 @@ status_t MediaPlayerService::AudioOutput::open(
format,
channelMask,
frameCount,
- 0 /* flags */,
+ AUDIO_POLICY_OUTPUT_FLAG_NONE,
CallbackWrapper,
this,
0,
@@ -1515,7 +1515,7 @@ status_t MediaPlayerService::AudioOutput::open(
format,
channelMask,
frameCount,
- 0,
+ AUDIO_POLICY_OUTPUT_FLAG_NONE,
NULL,
NULL,
0,