| Index: remoting/host/audio_capturer_win.cc
|
| diff --git a/remoting/host/audio_capturer_win.cc b/remoting/host/audio_capturer_win.cc
|
| index 03bd426b7747f0af2ad9f0f85d23fc416cca8be5..4dfc174da4aedc96ecf3e875ce526d79c75763bf 100644
|
| --- a/remoting/host/audio_capturer_win.cc
|
| +++ b/remoting/host/audio_capturer_win.cc
|
| @@ -294,10 +294,10 @@ void AudioCapturerWin::DoCapture() {
|
| scoped_ptr<AudioPacket> packet =
|
| scoped_ptr<AudioPacket>(new AudioPacket());
|
| packet->add_data(data, frames * wave_format_ex_->nBlockAlign);
|
| - packet->set_sampling_rate(sampling_rate_);
|
| - packet->set_bytes_per_sample(
|
| - static_cast<AudioPacket::BytesPerSample>(sizeof(int16)));
|
| packet->set_encoding(AudioPacket::ENCODING_RAW);
|
| + packet->set_sampling_rate(sampling_rate_);
|
| + packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2);
|
| + packet->set_channels(AudioPacket::CHANNELS_STEREO);
|
|
|
| callback_.Run(packet.Pass());
|
| }
|
|
|