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

Unified Diff: media/formats/webm/webm_audio_client.cc

Issue 437813005: change opus sample format to kSampleFormatF32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 months 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/formats/webm/webm_audio_client.cc
diff --git a/media/formats/webm/webm_audio_client.cc b/media/formats/webm/webm_audio_client.cc
index e0d382c256b12707aafd0b8a78c1679a16c72d81..8162e569c86e345847ed1e04ab152bfbde114fb7 100644
--- a/media/formats/webm/webm_audio_client.cc
+++ b/media/formats/webm/webm_audio_client.cc
@@ -81,7 +81,7 @@ bool WebMAudioClient::InitializeConfig(
config->Initialize(
audio_codec,
- (audio_codec == kCodecOpus) ? kSampleFormatS16 : kSampleFormatPlanarF32,
+ (audio_codec == kCodecOpus) ? kSampleFormatF32 : kSampleFormatPlanarF32,
DaleCurtis 2014/08/04 20:04:30 Might as well move this up to the (audio_codec ==
channel_layout,
samples_per_second,
extra_data,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698