Bug 837573 - No music sound output after A2dp link disconnected. r=kinetik

--HG--
extra : rebase_source : 3491096105d594074f840afcd26d69bfaeb07519
This commit is contained in:
Randy Lin 2013-02-18 18:21:29 +08:00
parent caba81f473
commit ad4ad3bd29

View File

@ -158,7 +158,7 @@ sa_stream_open(sa_stream_t *s) {
}
int32_t chanConfig = s->channels == 1 ?
AudioSystem::CHANNEL_OUT_MONO : AudioSystem::CHANNEL_OUT_STEREO;
AUDIO_CHANNEL_OUT_MONO : AUDIO_CHANNEL_OUT_STEREO;
int frameCount;
if (AudioTrack::getMinFrameCount(&frameCount, s->streamType,