1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Initialize volume to 50% by default.

Submitted by:	soralx@cydem.org
Approved by:	junovitch (mentor)
This commit is contained in:
Carlos J. Puga Medina 2016-03-30 09:02:32 +00:00
parent 555dee4076
commit af96a72c50
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412161
2 changed files with 14 additions and 1 deletions

View File

@ -4,7 +4,7 @@
PORTNAME= mpv
PORTVERSION= 0.16.0
DISTVERSIONPREFIX= v
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= multimedia audio

View File

@ -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;