Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2828)

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2469023002: Support floating-point audio output for Linux (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | media/audio/pulse/pulse_output.cc » ('j') | media/audio/pulse/pulse_output.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index 3ea9437961ce40fd8765b508fc131f8f5b4233d7..71f4ae94314e3316cd6dd84ab6634aa4bcab4e57 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -748,7 +748,7 @@ WebAudioDevice* RendererBlinkPlatformImpl::createAudioDevice(
// For CHANNEL_LAYOUT_DISCRETE, pass the explicit channel count along with
// the channel layout when creating an |AudioParameters| object.
media::AudioParameters params(media::AudioParameters::AUDIO_PCM_LOW_LATENCY,
- layout, static_cast<int>(sample_rate), 16,
+ layout, static_cast<int>(sample_rate), 32,
DaleCurtis 2016/11/01 18:51:37 Drop this change. I can't guarantee it'll plumb pr
Raymond Toy 2016/11/01 22:01:47 You're right. It's not plumbed through.
buffer_size);
params.set_channels_for_discrete(channels);
« no previous file with comments | « no previous file | media/audio/pulse/pulse_output.cc » ('j') | media/audio/pulse/pulse_output.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698