Fix Android audio playback mute.

TBR=henrika@webrtc.org

BUG=b/29066336

Review URL: https://codereview.webrtc.org/2040653002 .

Cr-Commit-Position: refs/heads/master@{#13051}
This commit is contained in:
Alex Glaznev 2016-06-06 10:33:34 -07:00
parent 7b496e026b
commit c88f558135

View File

@ -97,6 +97,7 @@ public class WebRtcAudioTrack {
if (speakerMute) {
byteBuffer.clear();
byteBuffer.put(emptyBytes);
byteBuffer.position(0);
}
int bytesWritten = 0;
if (WebRtcAudioUtils.runningOnLollipopOrHigher()) {