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