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

Issue 661389: Create pulseaudio upstart job, and add default client configurations + startup volume. (Closed)

Created:
10 years, 9 months ago by awong
Modified:
9 years, 7 months ago
Reviewers:
Chris Masone, tedbo
CC:
chromium-os-reviews_chromium.org
Visibility:
Public.

Description

Create a pulseaudio upstart job that starts pulseaudio on entrance into runlevel 2. Also, setup some default client configurations. Specifically: 1) Disable autospawning by clients. upstart should spawn the only job. 2) Put the runtime dir in /var/run/pulse instead of ${HOME}/.pulse to work around HOME being reset during window manager login. 3) Put the state directory in /home/chronos/.pulse explicitly for the same reason. 4) Add a basic script for first-run volume configuration.

Patch Set 1 #

Patch Set 2 : Using post-start #

Patch Set 3 : Fixed up some bugs #

Patch Set 4 : This time for sure #

Total comments: 4

Patch Set 5 : Address Ted's comments #

Patch Set 6 : Setting up to use customize_rootfs #

Patch Set 7 : Share one pulseaudio daemon for all users. #

Patch Set 8 : explicit state/runtime directories #

Patch Set 9 : style fixes. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -4 lines) Patch
M src/platform/acpi/action_hotkey.sh View 1 2 3 4 5 6 7 2 chunks +2 lines, -4 lines 0 comments Download
A src/platform/audioconfig/pulse/client-cros.conf View 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
A src/platform/audioconfig/pulse/firstrun.pa View 1 chunk +16 lines, -0 lines 0 comments Download
A src/platform/init/pulseaudio.conf View 1 2 3 4 5 6 7 8 1 chunk +48 lines, -0 lines 0 comments Download
M src/platform/init/windowmanager.conf View 3 4 5 7 8 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
awong
I'm in the process of testing this, but I wanted to know if you had ...
10 years, 9 months ago (2010-03-02 20:28:37 UTC) #1
Chris Masone
On 2010/03/02 20:28:37, awong wrote: > I'm in the process of testing this, but I ...
10 years, 9 months ago (2010-03-02 20:33:17 UTC) #2
awong
How's this version look? I got rid of the amixer invocation and the post-start (there ...
10 years, 9 months ago (2010-03-03 03:24:52 UTC) #3
tedbo
FYI A few comments: http://codereview.chromium.org/661389/diff/1013/1014 File src/platform/acpi/action_hotkey.sh (right): http://codereview.chromium.org/661389/diff/1013/1014#newcode1 src/platform/acpi/action_hotkey.sh:1: #!/bin/bash Please do not assume ...
10 years, 9 months ago (2010-03-03 04:19:25 UTC) #4
awong
http://codereview.chromium.org/661389/diff/1013/1014 File src/platform/acpi/action_hotkey.sh (right): http://codereview.chromium.org/661389/diff/1013/1014#newcode1 src/platform/acpi/action_hotkey.sh:1: #!/bin/bash On 2010/03/03 04:19:25, tedbo wrote: > Please do ...
10 years, 9 months ago (2010-03-03 18:30:08 UTC) #5
Chris Masone
On 2010/03/03 18:30:08, awong wrote: > http://codereview.chromium.org/661389/diff/1013/1014 > File src/platform/acpi/action_hotkey.sh (right): > > http://codereview.chromium.org/661389/diff/1013/1014#newcode1 > ...
10 years, 9 months ago (2010-03-03 18:35:59 UTC) #6
awong
On Wed, Mar 3, 2010 at 10:35 AM, <cmasone@chromium.org> wrote: > On 2010/03/03 18:30:08, awong ...
10 years, 9 months ago (2010-03-03 19:06:55 UTC) #7
awong
here's a cleaned up version of stuff. "everything should work now."
10 years, 9 months ago (2010-03-06 02:52:48 UTC) #8
Chris Masone
10 years, 9 months ago (2010-03-06 06:41:22 UTC) #9
On 2010/03/06 02:52:48, awong wrote:
> here's a cleaned up version of stuff.  "everything should work now."

lgtm

Powered by Google App Engine
This is Rietveld 408576698