From ff851f50b36f68c868be21140b376b8e51084a4e Mon Sep 17 00:00:00 2001 From: Claudio Matsuoka Date: Wed, 6 Aug 2014 10:19:36 -0300 Subject: [PATCH] Add parameter default_pan to configuration file Signed-off-by: Claudio Matsuoka --- Changelog | 1 + src/read_config.c | 1 + src/xmp.conf | 5 +++++ 3 files changed, 7 insertions(+) diff --git a/Changelog b/Changelog index 25b72f3..174d16b 100644 --- a/Changelog +++ b/Changelog @@ -3,6 +3,7 @@ Stable versions 4.0.9: - Add option '-p' to set the default pan amplitude + - Add parameter 'default_pan' to configuration file 4.0.8 (20140714): - Add command 'c' to display module comment diff --git a/src/read_config.c b/src/read_config.c index bce15b0..5860aac 100644 --- a/src/read_config.c +++ b/src/read_config.c @@ -113,6 +113,7 @@ int read_config(struct options *o) getval_yn("reverse", o->reverse, 1); getval_no("amplify", o->amplify); getval_no("mix", o->mix); + getval_no("default_pan", o->defpan); /*getval_no("chorus", o->chorus); getval_no("reverb", o->reverb);*/ getval_no("srate", o->rate); diff --git a/src/xmp.conf b/src/xmp.conf index 2eafd4d..69dd534 100644 --- a/src/xmp.conf +++ b/src/xmp.conf @@ -133,3 +133,8 @@ # Percentual stereo mixing. Default is 70%. # #mix = 70 + +# default_pan = +# Default pan setting for 4-channel Amiga modules. Default is 100% +# +#default_pan = 100