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

Unified Diff: media/audio/pulse/pulse_util.cc

Issue 2469023002: Support floating-point audio output for Linux (Closed)
Patch Set: Address review comments 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 | « media/audio/pulse/pulse_output.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/pulse/pulse_util.cc
diff --git a/media/audio/pulse/pulse_util.cc b/media/audio/pulse/pulse_util.cc
index 8d6b06cebd9d745fb6a7fa6e0ebc2e512b2757a6..ba4d4bed83757c8135d7d7c9da1b47a02f43f6f5 100644
--- a/media/audio/pulse/pulse_util.cc
+++ b/media/audio/pulse/pulse_util.cc
@@ -285,8 +285,7 @@ bool CreateOutputStream(pa_threaded_mainloop** mainloop,
// Set sample specifications.
pa_sample_spec sample_specifications;
- sample_specifications.format = BitsToPASampleFormat(
- params.bits_per_sample());
+ sample_specifications.format = PA_SAMPLE_FLOAT32;
sample_specifications.rate = params.sample_rate();
sample_specifications.channels = params.channels();
« no previous file with comments | « media/audio/pulse/pulse_output.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698