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

Issue 23723009: Implement GetAudioOutputDeviceNames for Cras. (Closed)

Created:
7 years, 3 months ago by Jói
Modified:
7 years, 3 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Visibility:
Public.

Description

Implement GetAudioOutputDeviceNames for Cras. This does the same as the GetAudioInputDeviceNames implementation for Cras, which is to say it just adds the default device to the list, leaving it to Cras to route appropriately. BUG=276894

Patch Set 1 #

Patch Set 2 : Remove empty impl. #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -14 lines) Patch
M media/audio/cras/audio_manager_cras.h View 2 chunks +2 lines, -3 lines 0 comments Download
M media/audio/cras/audio_manager_cras.cc View 1 3 chunks +19 lines, -11 lines 5 comments Download

Messages

Total messages: 12 (0 generated)
Jói
Currently untested, sending out for feedback on whether this seems right, will commit only after ...
7 years, 3 months ago (2013-09-09 18:06:45 UTC) #1
tommi (sloooow) - chröme
Dylan - can you take a look at this? Is it OK to assume that ...
7 years, 3 months ago (2013-09-09 18:13:42 UTC) #2
dgreid
On 2013/09/09 18:13:42, tommi wrote: > Dylan - can you take a look at this? ...
7 years, 3 months ago (2013-09-09 20:32:26 UTC) #3
tommi (sloooow) - chröme
On 2013/09/09 20:32:26, dgreid wrote: > On 2013/09/09 18:13:42, tommi wrote: > > Dylan - ...
7 years, 3 months ago (2013-09-09 20:53:05 UTC) #4
tfarina
https://codereview.chromium.org/23723009/diff/3001/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/23723009/diff/3001/media/audio/cras/audio_manager_cras.cc#newcode19 media/audio/cras/audio_manager_cras.cc:19: namespace { minor-question: hasn't media folks decided to use ...
7 years, 3 months ago (2013-09-15 03:17:44 UTC) #5
Jói
https://codereview.chromium.org/23723009/diff/3001/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/23723009/diff/3001/media/audio/cras/audio_manager_cras.cc#newcode19 media/audio/cras/audio_manager_cras.cc:19: namespace { On 2013/09/15 03:17:45, tfarina wrote: > minor-question: ...
7 years, 3 months ago (2013-09-16 08:56:45 UTC) #6
tommi (sloooow) - chröme
https://codereview.chromium.org/23723009/diff/3001/media/audio/cras/audio_manager_cras.cc File media/audio/cras/audio_manager_cras.cc (right): https://codereview.chromium.org/23723009/diff/3001/media/audio/cras/audio_manager_cras.cc#newcode19 media/audio/cras/audio_manager_cras.cc:19: namespace { On 2013/09/16 08:56:45, Jói wrote: > On ...
7 years, 3 months ago (2013-09-16 10:47:41 UTC) #7
Jói
OK, will fix in the files I'm touching. I guess this means we use static ...
7 years, 3 months ago (2013-09-16 11:23:29 UTC) #8
tommi (sloooow) - chröme
Andrew gave me the details on this a couple of years back but I can't ...
7 years, 3 months ago (2013-09-16 14:16:55 UTC) #9
Jói
Thanks. FWIW, it's not important for the current CL, which only had a few functions ...
7 years, 3 months ago (2013-09-16 15:28:56 UTC) #10
scherkus (not reviewing)
On 2013/09/16 15:28:56, Jói wrote: > Thanks. FWIW, it's not important for the current CL, ...
7 years, 3 months ago (2013-09-17 02:26:00 UTC) #11
Jói
7 years, 3 months ago (2013-09-17 08:03:56 UTC) #12
OK, thanks Andrew.

On Tue, Sep 17, 2013 at 4:26 AM,  <scherkus@chromium.org> wrote:
> On 2013/09/16 15:28:56, Jói wrote:
>>
>> Thanks. FWIW, it's not important for the current CL, which only had a
>> few functions in an anonymous namespace. Just wanted to clarify the
>> policy if there is one.
>
>
> Many moons ago (IIRC before the style was clarified), media folk preferred
> static not for speed but because it made for more legible symbols when
> debugging
> and the Java-ness requirement of sticking static before everything makes it
> clear what's static and what isn't as opposed to hunting for the anonymous
> namespace opening/closing braces.
>
> At this point it's more about keeping code consistent.
>
> The one place where it all breaks down is defining classes inside of .cc
> files.
> Sigh.
>
> https://codereview.chromium.org/23723009/

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698