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

Unified Diff: src/platform/audioconfig/pulse/firstrun.pa

Issue 672002: Reapply 97758de2adf4eb8c861b66826e890e5c3479e071. (Closed)
Patch Set: Created 10 years, 9 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 | « src/platform/audioconfig/pulse/client-cros.conf ('k') | src/platform/init/pulseaudio.conf » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/audioconfig/pulse/firstrun.pa
diff --git a/src/platform/audioconfig/pulse/firstrun.pa b/src/platform/audioconfig/pulse/firstrun.pa
new file mode 100644
index 0000000000000000000000000000000000000000..8d330f02f6d8f09ee5913124ccba3a09c6c4cc09
--- /dev/null
+++ b/src/platform/audioconfig/pulse/firstrun.pa
@@ -0,0 +1,16 @@
+#!/usr/bin/pulseaudio -nF
+
+# Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+# A PulseAudio script that sets the initial volume of the first sink to 70%
+# of PA_NORM (generally 70% of max volume).
+#
+# TODO(ajwong): There should be one file per board that configures all
+# devices, not just the first.
+
+.nofail
+
+set-sink-mute 0 false
+set-sink-volume 0 45876
« no previous file with comments | « src/platform/audioconfig/pulse/client-cros.conf ('k') | src/platform/init/pulseaudio.conf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698