| Index: remoting/host/audio_capturer_win.cc
|
| diff --git a/remoting/host/audio_capturer_win.cc b/remoting/host/audio_capturer_win.cc
|
| index 8a256454fac9362d4a5774fb85a00c1cc1cd4328..5004a0561704147f472c115eef9d6c8dc0627419 100644
|
| --- a/remoting/host/audio_capturer_win.cc
|
| +++ b/remoting/host/audio_capturer_win.cc
|
| @@ -268,7 +268,8 @@ void AudioCapturerWin::DoCapture() {
|
| packet->set_data(data, frames * wave_format_ex_->nBlockAlign);
|
| packet->set_sampling_rate(sampling_rate_);
|
|
|
| - callback_.Run(packet.Pass());
|
| + if (!AudioCapturer::IsPacketOfSilence(packet.get()))
|
| + callback_.Run(packet.Pass());
|
|
|
| hr = audio_capture_client_->ReleaseBuffer(frames);
|
| if (FAILED(hr)) {
|
|
|