SPU2Ghz: New defaults

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@382 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
ramapcsx2 2008-12-03 18:53:59 +00:00 committed by Gregory Hainaut
parent a555f60477
commit 1c8203a3af
4 changed files with 10 additions and 10 deletions

View File

@ -80,11 +80,11 @@ bool EffectsEnabled=false;
// OUTPUT
int SampleRate=48000;
int SndOutLatencyMS=140;
int SndOutLatencyMS=160;
//int SndOutLatency=1024;
//int MaxBufferCount=8;
//int CurBufferCount=MaxBufferCount;
bool timeStretchEnabled=false;
bool timeStretchEnabled=true;
u32 OutputModule=0; //OUTPUT_DSOUND;
@ -263,16 +263,16 @@ void ReadSettings()
EffectsEnabled = false; // force disabled for now.
SampleRate=CfgReadInt("OUTPUT","Sample_Rate",48000);
SndOutLatencyMS=CfgReadInt("OUTPUT","Latency", 140);
SndOutLatencyMS=CfgReadInt("OUTPUT","Latency", 160);
//OutputModule = CfgReadInt("OUTPUT","Output_Module", OUTPUT_DSOUND );
char omodid[128];
CfgReadStr( "OUTPUT", "Output_Module", omodid, 127, DSoundOut->GetIdent() );
CfgReadStr( "OUTPUT", "Output_Module", omodid, 127, XAudio2Out->GetIdent() );
// find the driver index of this module:
OutputModule = FindOutputModuleById( omodid );
VolumeShiftModifier = CfgReadInt( "OUTPUT","Volume_Shift", 0 );
VolumeShiftModifier = CfgReadInt( "OUTPUT","Volume_Shift", 1 );
LimitMode=CfgReadInt("OUTPUT","Speed_Limit_Mode",0);
CfgReadStr("DSP PLUGIN","Filename",dspPlugin,255,"");
@ -285,7 +285,7 @@ void ReadSettings()
// Read DSOUNDOUT and WAVEOUT configs:
CfgReadStr( "DSOUNDOUT", "Device", Config_DSoundOut.Device, 254, "default" );
CfgReadStr( "WAVEOUT", "Device", Config_WaveOut.Device, 254, "default" );
Config_DSoundOut.NumBuffers = CfgReadInt( "DSOUNDOUT", "Buffer_Count", 4 );
Config_DSoundOut.NumBuffers = CfgReadInt( "DSOUNDOUT", "Buffer_Count", 5 );
Config_WaveOut.NumBuffers = CfgReadInt( "WAVEOUT", "Buffer_Count", 4 );
// Read DSOUND51 config:

View File

@ -451,7 +451,7 @@ public:
const char* GetLongName() const
{
return "DirectSound";
return "DirectSound (nice)";
}
} DS;

View File

@ -57,8 +57,8 @@ SndOutModule* mods[]=
&NullOut,
WaveOut,
DSoundOut,
DSound51Out,
ASIOOut,
//DSound51Out,
//ASIOOut,
XAudio2Out,
NULL // signals the end of our list
};

View File

@ -231,7 +231,7 @@ public:
const char* GetLongName() const
{
return "XAudio 2 (Experimental)";
return "XAudio 2 (Recommended)";
}
} XA2;