- Changed defaults and ranges for the soundtouch timestretch parameters. This reduces added latency from timestretching.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3939 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
ramapcsx2 2010-10-18 12:50:13 +00:00
parent 921e865c8e
commit 2b068be3ab
5 changed files with 30 additions and 29 deletions

View File

@ -153,6 +153,7 @@ CRC::Game CRC::m_games[] =
{0x4C7BB3C8, SimpsonsGame, Unknown, 0},
{0x4C94B32C, SimpsonsGame, Unknown, 0},
{0xD71B57F4, Genji, Unknown, 0},
{0xE04EA200, StarOcean3, EU, 0},
{0x23A97857, StarOcean3, US, 0},
{0xBEC32D49, StarOcean3, JP, 0},
{0x8192A241, StarOcean3, JP, 0}, //NTSC JP special directors cut limited extra sugar on top edition (the special one :p)

View File

@ -84,18 +84,18 @@ extern int SynchMode;
namespace SoundtouchCfg
{
// Timestretch Slider Bounds, Min/Max
static const int SequenceLen_Min = 30;
static const int SequenceLen_Max = 90;
static const int SequenceLen_Min = 20;
static const int SequenceLen_Max = 100;
static const int SeekWindow_Min = 10;
static const int SeekWindow_Max = 32;
static const int SeekWindow_Max = 30;
static const int Overlap_Min = 3;
static const int Overlap_Min = 5;
static const int Overlap_Max = 15;
static int SequenceLenMS = 50;
static int SeekWindowMS = 15;
static int OverlapMS = 25;
static int SequenceLenMS = 30;
static int SeekWindowMS = 20;
static int OverlapMS = 10;
void ReadSettings();
void WriteSettings();

View File

@ -42,9 +42,9 @@ void ApplySettings( soundtouch::SoundTouch& sndtouch )
void ReadSettings()
{
SequenceLenMS = CfgReadInt( L"SOUNDTOUCH", L"SequenceLengthMS", 63 );
SeekWindowMS = CfgReadInt( L"SOUNDTOUCH", L"SeekWindowMS", 16 );
OverlapMS = CfgReadInt( L"SOUNDTOUCH", L"OverlapMS", 7 );
SequenceLenMS = CfgReadInt( L"SOUNDTOUCH", L"SequenceLengthMS", 30 );
SeekWindowMS = CfgReadInt( L"SOUNDTOUCH", L"SeekWindowMS", 20 );
OverlapMS = CfgReadInt( L"SOUNDTOUCH", L"OverlapMS", 10 );
ClampValues();
WriteSettings();
@ -62,9 +62,9 @@ static GtkWidget *seq_slide, *seek_slide, *over_slide;
void restore_defaults()
{
gtk_range_set_value(GTK_RANGE(seq_slide), 63);
gtk_range_set_value(GTK_RANGE(seek_slide), 16);
gtk_range_set_value(GTK_RANGE(over_slide), 7);
gtk_range_set_value(GTK_RANGE(seq_slide), 30);
gtk_range_set_value(GTK_RANGE(seek_slide), 20);
gtk_range_set_value(GTK_RANGE(over_slide), 10);
}
void DisplayDialog()

View File

@ -20,19 +20,19 @@
#include "SoundTouch/SoundTouch.h"
static int SequenceLenMS = 50;
static int SeekWindowMS = 15;
static int OverlapMS = 25;
static int SequenceLenMS = 30;
static int SeekWindowMS = 20;
static int OverlapMS = 10;
// Timestretch Slider Bounds, Min/Max
static const int SequenceLen_Min = 50;
static const int SequenceLen_Max = 90;
static const int SequenceLen_Min = 20;
static const int SequenceLen_Max = 100;
static const int SeekWindow_Min = 10;
static const int SeekWindow_Max = 32;
static const int SeekWindow_Max = 30;
static const int Overlap_Min = 3;
static const int Overlap_Max = 25;
static const int Overlap_Min = 5;
static const int Overlap_Max = 15;
void SoundtouchCfg::ApplySettings( soundtouch::SoundTouch& sndtouch )
{
@ -50,9 +50,9 @@ static void ClampValues()
void SoundtouchCfg::ReadSettings()
{
SequenceLenMS = CfgReadInt( L"SOUNDTOUCH", L"SequenceLengthMS", 50 );
SeekWindowMS = CfgReadInt( L"SOUNDTOUCH", L"SeekWindowMS", 15 );
OverlapMS = CfgReadInt( L"SOUNDTOUCH", L"OverlapMS", 25 );
SequenceLenMS = CfgReadInt( L"SOUNDTOUCH", L"SequenceLengthMS", 30 );
SeekWindowMS = CfgReadInt( L"SOUNDTOUCH", L"SeekWindowMS", 20 );
OverlapMS = CfgReadInt( L"SOUNDTOUCH", L"OverlapMS", 10 );
ClampValues();
}

View File

@ -148,12 +148,12 @@ BEGIN
CTEXT "Seekwindow Size",IDC_STATIC,70,125,66,9
CONTROL "",IDC_OVERLAP_SLIDER,"msctls_trackbar32",TBS_AUTOTICKS | WS_TABSTOP,50,170,105,10
CTEXT "Overlap",IDC_STATIC,86,162,34,9
LTEXT "50",IDC_STATIC,50,112,9,8
LTEXT "90",IDC_STATIC,146,112,9,8
LTEXT "20",IDC_STATIC,50,112,9,8
LTEXT "100",IDC_STATIC,146,112,13,8
LTEXT "10",IDC_STATIC,50,149,9,8
LTEXT "32",IDC_STATIC,146,149,9,8
LTEXT "3",IDC_STATIC,52,184,8,8
LTEXT "25",IDC_STATIC,146,184,9,8
LTEXT "30",IDC_STATIC,146,149,9,8
LTEXT "5",IDC_STATIC,52,184,8,8
LTEXT "15",IDC_STATIC,146,184,9,8
PUSHBUTTON "Reset Defaults",IDC_RESET_DEFAULTS,61,62,82,12
END