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:
parent
7b496e026b
commit
c88f558135
@ -97,6 +97,7 @@ public class WebRtcAudioTrack {
|
||||
if (speakerMute) {
|
||||
byteBuffer.clear();
|
||||
byteBuffer.put(emptyBytes);
|
||||
byteBuffer.position(0);
|
||||
}
|
||||
int bytesWritten = 0;
|
||||
if (WebRtcAudioUtils.runningOnLollipopOrHigher()) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user