mirror of
https://github.com/samsonjs/media.git
synced 2026-04-11 12:15:47 +00:00
Release AudioTrack when done.
This commit is contained in:
parent
7f44d8f9b9
commit
d27b6de119
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ public class LibopusAudioTrackRenderer extends TrackRenderer {
|
|||
}
|
||||
audioSessionId = AudioTrack.SESSION_ID_NOT_SET;
|
||||
try {
|
||||
audioTrack.reset();
|
||||
audioTrack.release();
|
||||
} finally {
|
||||
inputBuffer = null;
|
||||
outputBuffer = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue