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

Issue 10991019: audio_manager_linux: Allow CRAS to decide if sample rate conversion is needed. (Closed)

Created:
8 years, 2 months ago by dgreid
Modified:
8 years, 2 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

audio_manager_linux: Allow CRAS to decide if sample rate conversion is needed. When using CRAS, set up audio streams based on the desired sample rate, not the "hardware" sample rate. CRAS will configure the hardware for the sample rate if possible and sample rate convert if not. BUG=chromium-os:34724 TEST=play 44.1 video on youtube, check that the hardware is configured for 44.1. Signed-off-by: Dylan Reid <dgreid@chromium.org>; Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=158772

Patch Set 1 #

Total comments: 2

Patch Set 2 : changed per suggestions #

Patch Set 3 : comment fix. #

Total comments: 3

Patch Set 4 : comment and cast fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M media/audio/linux/audio_manager_linux.cc View 1 2 3 1 chunk +8 lines, -7 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dgreid
There is a bug to for the audio_manager and avoid ifdefs hopefully I'll have time ...
8 years, 2 months ago (2012-09-25 19:42:56 UTC) #1
DaleCurtis
Slightly off topic, but ideally in the plain Linux case we'd query the supported sample ...
8 years, 2 months ago (2012-09-25 19:56:55 UTC) #2
dgreid
On 2012/09/25 19:56:55, DaleCurtis wrote: > Slightly off topic, but ideally in the plain Linux ...
8 years, 2 months ago (2012-09-25 20:41:07 UTC) #3
DaleCurtis
LGTM % nits. Nice to know about the Linux stuff, I'll probably talk to you ...
8 years, 2 months ago (2012-09-25 20:49:46 UTC) #4
scherkus (not reviewing)
lgtm w/ nit http://codereview.chromium.org/10991019/diff/7001/media/audio/linux/audio_manager_linux.cc File media/audio/linux/audio_manager_linux.cc (right): http://codereview.chromium.org/10991019/diff/7001/media/audio/linux/audio_manager_linux.cc#newcode354 media/audio/linux/audio_manager_linux.cc:354: if (static_cast<size_t>(input_params.frames_per_buffer()) < buffer_size) nit: you ...
8 years, 2 months ago (2012-09-25 20:52:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgreid@chromium.org/10991019/3
8 years, 2 months ago (2012-09-25 23:11:50 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dgreid@chromium.org/10991019/3
8 years, 2 months ago (2012-09-26 00:16:36 UTC) #7
commit-bot: I haz the power
Change committed as 158772
8 years, 2 months ago (2012-09-26 08:58:51 UTC) #8
dgreid
Could one of you drover this into M23 for me? merge approved here: crosbug.com/34724 Thanks, ...
8 years, 2 months ago (2012-10-03 20:25:54 UTC) #9
dgreid
Sorry to bother you again but could one of you merge this to 23 for ...
8 years, 2 months ago (2012-10-09 16:52:47 UTC) #10
Ami GONE FROM CHROMIUM
I'll merge r158772 to M23. On Tue, Oct 9, 2012 at 9:52 AM, <dgreid@chromium.org> wrote: ...
8 years, 2 months ago (2012-10-09 16:57:46 UTC) #11
Ami GONE FROM CHROMIUM
8 years, 2 months ago (2012-10-09 16:59:35 UTC) #12
On Tue, Oct 9, 2012 at 9:57 AM, Ami Fischman <fischman@chromium.org> wrote:

> I'll merge r158772 to M23.


Committed revision 160859.

Powered by Google App Engine
This is Rietveld 408576698