From ea16b847607d9115adbdc7050a4e6ad95359bac9 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 17 Aug 2009 22:00:02 +0200 Subject: config updates --- conf.c | 2 +- config-example | 25 ++++++++++++++++++------- 2 files changed, 19 insertions(+), 8 deletions(-) diff --git a/conf.c b/conf.c index 90a5f0a2..03c3a785 100644 --- a/conf.c +++ b/conf.c @@ -22,7 +22,7 @@ conf_load (void) { int line = 0; while (fgets (str, 1024, fp) != NULL) { line++; - if (str[0] == '#') { + if (str[0] == '#' || str[0] <= 0x20) { continue; } uint8_t *p = (uint8_t *)str; diff --git a/config-example b/config-example index 02691796..c9c03dd6 100644 --- a/config-example +++ b/config-example @@ -1,16 +1,27 @@ +# alsa soundcard ID +# normally you should keep default here # for secondary soundcard enter it's name as reported by "aplay -L" # e.g. default:CARD=I82801DBICH4 # or default:CARD=Audigy2 alsa_soundcard default -# prefer native samplerate of soundcard -# 48k is good default on creative cards + +# mixing frequency (samplerate) +# prefer native samplerate of your soundcard +# e.g. 48k for creative cards +# consult your soundcard manual if you don't want to get crappy results samplerate 48000 -# 0 - sinc_best_quality -# ^^^^^ my pc can't handle that btw :) -# 1 - sinc_medium_quality + +# samplerate conversion quality +# that thing controls how your 44100 mp3s are being converted into soundcard samplerate (see above) +# 0 - sinc_best_quality (my pc can't handle that) +# 1 - sinc_medium_quality (good enough but still slow) # 2 - sinc_fastest # 3 - sinc_zero_order_hold # 4 - linear +# sinc_fastest is a good balance between performance and quality. src_quality 2 -hvsc_path /home/waker/hvsc/C64Music/DOCUMENTS/Songlengths.txt -hvsc_enable 1 + +# those next 2 are disabled by default, cause most people probably don't have HVSC +# in case you don't know what HVSC is - keep disabled +#hvsc_path /home/waker/hvsc/C64Music/DOCUMENTS/Songlengths.txt +#hvsc_enable 1 -- cgit v1.2.3