mirror of https://github.com/PCSX2/pcsx2.git
SPU2Ghz: New defaults
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@382 a6443dda-0b58-4228-96e9-037be469359c
This commit is contained in:
parent
a555f60477
commit
1c8203a3af
|
@ -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:
|
||||
|
|
|
@ -451,7 +451,7 @@ public:
|
|||
|
||||
const char* GetLongName() const
|
||||
{
|
||||
return "DirectSound";
|
||||
return "DirectSound (nice)";
|
||||
}
|
||||
|
||||
} DS;
|
||||
|
|
|
@ -57,8 +57,8 @@ SndOutModule* mods[]=
|
|||
&NullOut,
|
||||
WaveOut,
|
||||
DSoundOut,
|
||||
DSound51Out,
|
||||
ASIOOut,
|
||||
//DSound51Out,
|
||||
//ASIOOut,
|
||||
XAudio2Out,
|
||||
NULL // signals the end of our list
|
||||
};
|
||||
|
|
|
@ -231,7 +231,7 @@ public:
|
|||
|
||||
const char* GetLongName() const
|
||||
{
|
||||
return "XAudio 2 (Experimental)";
|
||||
return "XAudio 2 (Recommended)";
|
||||
}
|
||||
|
||||
} XA2;
|
||||
|
|
Loading…
Reference in New Issue