summaryrefslogtreecommitdiffstats
path: root/libvideoeditor
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-03-06 18:55:35 -0800
committerGlenn Kasten <gkasten@google.com>2012-03-08 17:22:56 -0800
commit09e1ef282e7b2df400a9f35feb47b48b67af0f3b (patch)
tree8039cabafa340daa6a47c3ea564e0258f03025c9 /libvideoeditor
parent8162c1a9f4df4bf4733e78f5b03398b2991ba79a (diff)
downloadframeworks_av-09e1ef282e7b2df400a9f35feb47b48b67af0f3b.zip
frameworks_av-09e1ef282e7b2df400a9f35feb47b48b67af0f3b.tar.gz
frameworks_av-09e1ef282e7b2df400a9f35feb47b48b67af0f3b.tar.bz2
Use audio_policy_output_flags_t consistently
Change-Id: I425cfd442257560dcf141d3d8599ddc7d21c1d13
Diffstat (limited to 'libvideoeditor')
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorAudioPlayer.cpp2
-rwxr-xr-xlibvideoeditor/lvpp/VideoEditorPlayer.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp
index 66800ea..d0ee51b 100755
--- a/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp
+++ b/libvideoeditor/lvpp/VideoEditorAudioPlayer.cpp
@@ -537,7 +537,7 @@ status_t VideoEditorAudioPlayer::start(bool sourceAlreadyStarted) {
(numChannels == 2)
? AUDIO_CHANNEL_OUT_STEREO
: AUDIO_CHANNEL_OUT_MONO,
- 0, 0, &AudioCallback, this, 0);
+ 0, AUDIO_POLICY_OUTPUT_FLAG_NONE, &AudioCallback, this, 0);
if ((err = mAudioTrack->initCheck()) != OK) {
delete mAudioTrack;
diff --git a/libvideoeditor/lvpp/VideoEditorPlayer.cpp b/libvideoeditor/lvpp/VideoEditorPlayer.cpp
index cb2edde..57cab08 100755
--- a/libvideoeditor/lvpp/VideoEditorPlayer.cpp
+++ b/libvideoeditor/lvpp/VideoEditorPlayer.cpp
@@ -435,7 +435,7 @@ status_t VideoEditorPlayer::VeAudioOutput::open(
format,
channelMask,
frameCount,
- 0 /* flags */,
+ AUDIO_POLICY_OUTPUT_FLAG_NONE,
CallbackWrapper,
this);
} else {