diff options
Diffstat (limited to 'media/libmediaplayerservice/VorbisPlayer.cpp')
-rw-r--r-- | media/libmediaplayerservice/VorbisPlayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/libmediaplayerservice/VorbisPlayer.cpp b/media/libmediaplayerservice/VorbisPlayer.cpp index a0e0f39..9a64403 100644 --- a/media/libmediaplayerservice/VorbisPlayer.cpp +++ b/media/libmediaplayerservice/VorbisPlayer.cpp @@ -385,7 +385,7 @@ status_t VorbisPlayer::createOutputTrack() { LOGV("Create AudioTrack object: rate=%ld, channels=%d\n", vi->rate, vi->channels); - if (mAudioSink->open(vi->rate, vi->channels, DEFAULT_AUDIOSINK_BUFFERCOUNT) != NO_ERROR) { + if (mAudioSink->open(vi->rate, vi->channels, AudioSystem::PCM_16_BIT, DEFAULT_AUDIOSINK_BUFFERCOUNT) != NO_ERROR) { LOGE("mAudioSink open failed"); return ERROR_OPEN_FAILED; } |