summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/AudioPlayer.cpp
diff options
context:
space:
mode:
authorAndreas Huber <andih@google.com>2010-04-13 09:58:39 -0700
committerAndreas Huber <andih@google.com>2010-04-13 12:04:05 -0700
commita98420e863c374d1f15309467f2a1fc58d979d3b (patch)
tree0d441bd1258015fbef734718fe6c8271cd36f060 /media/libstagefright/AudioPlayer.cpp
parent81f82c32459029bf0744e28c73f95a7f18cab5ac (diff)
downloadframeworks_av-a98420e863c374d1f15309467f2a1fc58d979d3b.zip
frameworks_av-a98420e863c374d1f15309467f2a1fc58d979d3b.tar.gz
frameworks_av-a98420e863c374d1f15309467f2a1fc58d979d3b.tar.bz2
Better diagnostics in the stagefright commandline tool, support for playing sine-tones using a filename of "sine:[samplingrate]", i.e. sine:44100. Support for playing audio through to the speakers by using "-o" in addition to "-a".
related-to-bug: 2553359 Change-Id: Ic49eb89feb62474d9513bc21571e0e8fe3a15e0b
Diffstat (limited to 'media/libstagefright/AudioPlayer.cpp')
-rw-r--r--media/libstagefright/AudioPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libstagefright/AudioPlayer.cpp b/media/libstagefright/AudioPlayer.cpp
index 005c64a..bcf2463 100644
--- a/media/libstagefright/AudioPlayer.cpp
+++ b/media/libstagefright/AudioPlayer.cpp
@@ -102,7 +102,7 @@ status_t AudioPlayer::start(bool sourceAlreadyStarted) {
(numChannels == 2)
? AudioSystem::CHANNEL_OUT_STEREO
: AudioSystem::CHANNEL_OUT_MONO,
- 8192, 0, &AudioCallback, this, 0);
+ 0, 0, &AudioCallback, this, 0);
if ((err = mAudioTrack->initCheck()) != OK) {
delete mAudioTrack;