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

Issue 437813005: change opus sample format to kSampleFormatF32 (Closed)

Created:
6 years, 4 months ago by tbutter
Modified:
6 years, 4 months ago
Reviewers:
DaleCurtis, vignesh
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

change opus sample format to kSampleFormatF32 Playing a WebM File with opus audio via MediaSource currently uses kSampleFormatS16. In a video src it uses kSampleFormatF32. S16 does not work (just plays noise). BUG=400247 R=vigneshv@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287743

Patch Set 1 #

Total comments: 1

Patch Set 2 : single opus if-block #

Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -2 lines) Patch
M media/formats/webm/webm_audio_client.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tbutter
6 years, 4 months ago (2014-08-04 13:23:06 UTC) #1
DaleCurtis
Hmm, are you saying that OPUS in MSE works if it's just audio, but in ...
6 years, 4 months ago (2014-08-04 20:03:00 UTC) #2
DaleCurtis
https://codereview.chromium.org/437813005/diff/1/media/formats/webm/webm_audio_client.cc File media/formats/webm/webm_audio_client.cc (right): https://codereview.chromium.org/437813005/diff/1/media/formats/webm/webm_audio_client.cc#newcode84 media/formats/webm/webm_audio_client.cc:84: (audio_codec == kCodecOpus) ? kSampleFormatF32 : kSampleFormatPlanarF32, Might as ...
6 years, 4 months ago (2014-08-04 20:04:30 UTC) #3
tbutter
On 2014/08/04 20:03:00, DaleCurtis wrote: > Hmm, are you saying that OPUS in MSE works ...
6 years, 4 months ago (2014-08-04 20:09:54 UTC) #4
DaleCurtis
Looks like none of the android code uses sampleformat, so this should be okay.
6 years, 4 months ago (2014-08-04 20:19:52 UTC) #5
DaleCurtis
lgtm % nit. I removed "NOTRY=true" from the description. Please don't set that in general. ...
6 years, 4 months ago (2014-08-04 20:20:47 UTC) #6
vignesh
On 2014/08/04 20:04:30, DaleCurtis wrote: > https://codereview.chromium.org/437813005/diff/1/media/formats/webm/webm_audio_client.cc > File media/formats/webm/webm_audio_client.cc (right): > > https://codereview.chromium.org/437813005/diff/1/media/formats/webm/webm_audio_client.cc#newcode84 > ...
6 years, 4 months ago (2014-08-04 20:21:49 UTC) #7
tbutter
The CQ bit was checked by tbutter@gmail.com
6 years, 4 months ago (2014-08-06 06:23:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tbutter@gmail.com/437813005/20001
6 years, 4 months ago (2014-08-06 06:24:30 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 09:22:14 UTC) #10
Message was sent while issue was closed.
Change committed as 287743

Powered by Google App Engine
This is Rietveld 408576698