Loading media/libstagefright/AudioPlayer.cpp +7 −6 Original line number Diff line number Diff line Loading @@ -142,9 +142,10 @@ status_t AudioPlayer::start(bool sourceAlreadyStarted) { mFirstBuffer = NULL; } if (!sourceAlreadyStarted) { // At this point, source already got started // Stop the source when error is found. mSource->stop(); } mSource = NULL; return err; } Loading Loading @@ -174,9 +175,9 @@ status_t AudioPlayer::start(bool sourceAlreadyStarted) { mFirstBuffer = NULL; } if (!sourceAlreadyStarted) { // At this point, source already got started // Stop the source when error is found. mSource->stop(); } return err; } Loading Loading
media/libstagefright/AudioPlayer.cpp +7 −6 Original line number Diff line number Diff line Loading @@ -142,9 +142,10 @@ status_t AudioPlayer::start(bool sourceAlreadyStarted) { mFirstBuffer = NULL; } if (!sourceAlreadyStarted) { // At this point, source already got started // Stop the source when error is found. mSource->stop(); } mSource = NULL; return err; } Loading Loading @@ -174,9 +175,9 @@ status_t AudioPlayer::start(bool sourceAlreadyStarted) { mFirstBuffer = NULL; } if (!sourceAlreadyStarted) { // At this point, source already got started // Stop the source when error is found. mSource->stop(); } return err; } Loading