re-add waveout. It is useful for troubleshooting

This commit is contained in:
Chris Danford
2005-11-28 05:10:16 +00:00
parent 299e1f7d68
commit f6f700f910
3 changed files with 25 additions and 19 deletions
@@ -73,6 +73,8 @@ BOOL ChangeGameSettings::OnInitDialog()
CheckDlgButton( IDC_RADIO_SOUND_DIRECTSOUND_HARDWARE, BST_CHECKED );
else if( sValue.CompareNoCase("DirectSound-sw")==0 )
CheckDlgButton( IDC_RADIO_SOUND_DIRECTSOUND_SOFTWARE, BST_CHECKED );
else if( sValue.CompareNoCase("WaveOut")==0 )
CheckDlgButton( IDC_RADIO_SOUND_WAVEOUT, BST_CHECKED );
else if( sValue.CompareNoCase("null")==0 )
CheckDlgButton( IDC_RADIO_SOUND_NULL, BST_CHECKED );
else
@@ -116,6 +118,8 @@ void ChangeGameSettings::OnOK()
ini.SetValue( "Options", "SoundDrivers", "DirectSound" );
else if( BST_CHECKED == IsDlgButtonChecked(IDC_RADIO_SOUND_DIRECTSOUND_SOFTWARE) )
ini.SetValue( "Options", "SoundDrivers", "DirectSound-sw" );
else if( BST_CHECKED == IsDlgButtonChecked(IDC_RADIO_SOUND_WAVEOUT) )
ini.SetValue( "Options", "SoundDrivers", "WaveOut" );
else if( BST_CHECKED == IsDlgButtonChecked(IDC_RADIO_SOUND_NULL) )
ini.SetValue( "Options", "SoundDrivers", "null" );
else