Skip to content

Commit

Permalink
fix some bug
Browse files Browse the repository at this point in the history
  • Loading branch information
CainKernel committed Mar 7, 2020
1 parent 4780e50 commit 275f6a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ int AudioStreamPlayer::onAudioProvider(short **buffer, int bufSize) {
mMutex.lock();
if (mAudioTranscoder != nullptr && mSpeed != mAudioTranscoder->getSpeed()) {
mAudioTranscoder->setSpeed(mSpeed);
mAudioTranscoder->flush();
}
mAudioTranscoder->flush();
mMutex.unlock();
if (!mFrameQueue->empty()) {
int size = 0;
Expand Down

0 comments on commit 275f6a4

Please sign in to comment.