summaryrefslogtreecommitdiff
path: root/multimedia/mpv/files
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2016-03-30 09:02:32 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2016-03-30 09:02:32 +0000
commitaf96a72c50eb5dcc79619acad5d519b0f6c9a65f (patch)
tree17d3ec4e70cce95543fd450c3af5b7aa0fe50c18 /multimedia/mpv/files
parentUpdate devel/elixir-plug to version 1.1.3. (diff)
- Initialize volume to 50% by default.
Submitted by: soralx@cydem.org Approved by: junovitch (mentor)
Diffstat (limited to 'multimedia/mpv/files')
-rw-r--r--multimedia/mpv/files/patch-audio_mixer.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/multimedia/mpv/files/patch-audio_mixer.c b/multimedia/mpv/files/patch-audio_mixer.c
new file mode 100644
index 000000000000..15d7b2681133
--- /dev/null
+++ b/multimedia/mpv/files/patch-audio_mixer.c
@@ -0,0 +1,13 @@
+--- audio/mixer.c.orig 2016-03-29 14:12:22 UTC
++++ audio/mixer.c
+@@ -57,8 +57,8 @@ struct mixer *mixer_init(void *talloc_ct
+ *mixer = (struct mixer) {
+ .log = mp_log_new(mixer, global->log, "mixer"),
+ .opts = global->opts,
+- .vol_l = 100,
+- .vol_r = 100,
++ .vol_l = -1,
++ .vol_r = -1,
+ .driver = "",
+ };
+ return mixer;