diff options
author | Eric Laurent <elaurent@google.com> | 2012-04-18 09:24:29 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-04-18 15:04:46 -0700 |
commit | 0ca3cf94c0dfc173ad7886ae162c4b67067539f6 (patch) | |
tree | bc156e7822e663626b78ec2ad09ef3970fbb48c5 /media/libmedia/SoundPool.cpp | |
parent | ee685f6d19a6cc3b0bf02e69eb5dea11a2aeb601 (diff) | |
download | frameworks_av-0ca3cf94c0dfc173ad7886ae162c4b67067539f6.zip frameworks_av-0ca3cf94c0dfc173ad7886ae162c4b67067539f6.tar.gz frameworks_av-0ca3cf94c0dfc173ad7886ae162c4b67067539f6.tar.bz2 |
rename audio policy output flags
Change-Id: I27c46bd1d1b2b5f96b87af7d05b951fef18a1312
Diffstat (limited to 'media/libmedia/SoundPool.cpp')
-rw-r--r-- | media/libmedia/SoundPool.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/media/libmedia/SoundPool.cpp b/media/libmedia/SoundPool.cpp index 3b7b96a..4b318ed 100644 --- a/media/libmedia/SoundPool.cpp +++ b/media/libmedia/SoundPool.cpp @@ -608,10 +608,10 @@ void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftV // do not create a new audio track if current track is compatible with sample parameters #ifdef USE_SHARED_MEM_BUFFER newTrack = new AudioTrack(streamType, sampleRate, sample->format(), - channels, sample->getIMemory(), AUDIO_POLICY_OUTPUT_FLAG_NONE, callback, userData); + channels, sample->getIMemory(), AUDIO_OUTPUT_FLAG_NONE, callback, userData); #else newTrack = new AudioTrack(streamType, sampleRate, sample->format(), - channels, frameCount, AUDIO_POLICY_OUTPUT_FLAG_NONE, callback, userData, + channels, frameCount, AUDIO_OUTPUT_FLAG_NONE, callback, userData, bufferFrames); #endif oldTrack = mAudioTrack; |