Index: content/renderer/pepper/pepper_platform_audio_output.cc |
diff --git a/content/renderer/pepper/pepper_platform_audio_output.cc b/content/renderer/pepper/pepper_platform_audio_output.cc |
index 74f3d0a0bb8395332acc131e1f24ec4c6bf13bd9..715a459f4856b05c256e49eaf3599b165964fa4e 100644 |
--- a/content/renderer/pepper/pepper_platform_audio_output.cc |
+++ b/content/renderer/pepper/pepper_platform_audio_output.cc |
@@ -14,6 +14,7 @@ |
#include "content/renderer/pepper/audio_helper.h" |
#include "content/renderer/render_thread_impl.h" |
#include "media/base/audio_hardware_config.h" |
+#include "ppapi/shared_impl/ppb_audio_config_shared.h" |
namespace content { |
@@ -126,7 +127,8 @@ bool PepperPlatformAudioOutput::Initialize( |
media::AudioParameters params( |
media::AudioParameters::AUDIO_PCM_LOW_LATENCY, |
- media::CHANNEL_LAYOUT_STEREO, sample_rate, 16, frames_per_buffer); |
+ media::CHANNEL_LAYOUT_STEREO, sample_rate, |
+ ppapi::kBitsPerAudioOutputSample, frames_per_buffer); |
io_message_loop_proxy_->PostTask( |
FROM_HERE, |