From 35f27d7316aa29ef3ea542599e386f54a0c7f933 Mon Sep 17 00:00:00 2001 From: bbbradsmith Date: Sat, 30 Mar 2019 00:14:09 -0400 Subject: [PATCH] loop detection shouldn't be on by default --- distribute/nsfplay.txt | 3 ++- xgm/player/nsf/nsfconfig.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/distribute/nsfplay.txt b/distribute/nsfplay.txt index bfd99f0..8db45ac 100644 --- a/distribute/nsfplay.txt +++ b/distribute/nsfplay.txt @@ -52,12 +52,13 @@ Global options: STOP_SEC: (s) seconds of silence before auto stop LOOP_NUM: (#) loops to allow before stopping AUTO_STOP: 1=automatically stop after silence + AUTO_DETECT: 1=automatically detect loop if no track time is given in the file DETECT_TIME: (ms) loop detection comparison buffer DETECT_INT: (ms) jitter allowed between time comparisons in loop detection + DETECT_ALT: 1=use alternate loop detection algorithm LPF: 0-400 lowpass filter strength (0=off, 112=default, 400=full) HPF: 0-256 highpass filter strength (256=off, 164=default, 0=full) TITLE_FORMAT: title string format (see below), default: %L (%n/%e) %T - %A - DETECT_ALT: 1=use alternate loop detection algorithm VSYNC_ADJUST: 1=ignore NSF frame length setting MULT_SPEED: clock multiplier (256 = no multiplier) NTSC_BASECYCLES: NTSC master clock speed diff --git a/xgm/player/nsf/nsfconfig.cpp b/xgm/player/nsf/nsfconfig.cpp index 64c072d..af1d482 100644 --- a/xgm/player/nsf/nsfconfig.cpp +++ b/xgm/player/nsf/nsfconfig.cpp @@ -91,7 +91,7 @@ NSFPlayerConfig::NSFPlayerConfig () : PlayerConfig () CreateValue("STOP_SEC", 3); CreateValue("LOOP_NUM", 2); CreateValue("AUTO_STOP", 1); - CreateValue("AUTO_DETECT", 1); + CreateValue("AUTO_DETECT", 0); CreateValue("DETECT_TIME", 30*1000); CreateValue("DETECT_INT", 5000); CreateValue("LPF", 112);