Merge pull request #986 from ssakash/SPU2-X_dlgchanges

SPU2-X: Minor changes to dialog and stuffs
This commit is contained in:
Gregory Hainaut 2015-11-21 17:07:11 +01:00
commit a2887d1536
4 changed files with 6 additions and 4 deletions

View File

@ -63,7 +63,7 @@ float VolumeAdjustBR;
float VolumeAdjustSL;
float VolumeAdjustSR;
float VolumeAdjustLFE;
int delayCycles;
unsigned int delayCycles;
bool postprocess_filter_enabled = true;
bool postprocess_filter_dealias = false;

View File

@ -45,7 +45,7 @@ extern float VolumeAdjustBR;
extern float VolumeAdjustSL;
extern float VolumeAdjustSR;
extern float VolumeAdjustLFE;
extern int delayCycles;
extern unsigned int delayCycles;
struct Stereo51Out16DplII;
struct Stereo51Out32DplII;

View File

@ -58,7 +58,7 @@ float VolumeAdjustBR;
float VolumeAdjustSL;
float VolumeAdjustSR;
float VolumeAdjustLFE;
int delayCycles;
unsigned int delayCycles;
bool postprocess_filter_enabled = 1;
bool postprocess_filter_dealias = false;

View File

@ -98,7 +98,7 @@ BOOL CALLBACK SoundtouchCfg::DialogProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM
WriteSettings();
EndDialog(hWnd,0);
}
else if( wmId == IDC_RESET_DEFAULTS )
else if( wmId == IDC_RESET_DEFAULTS )
{
SequenceLenMS = 30;
SeekWindowMS = 20;
@ -107,6 +107,8 @@ BOOL CALLBACK SoundtouchCfg::DialogProc(HWND hWnd,UINT uMsg,WPARAM wParam,LPARAM
SendDialogMsg( hWnd, IDC_SEQLEN_SLIDER, TBM_SETPOS, TRUE, SequenceLenMS );
SendDialogMsg( hWnd, IDC_SEEKWIN_SLIDER, TBM_SETPOS, TRUE, SeekWindowMS );
SendDialogMsg( hWnd, IDC_OVERLAP_SLIDER, TBM_SETPOS, TRUE, OverlapMS );
AssignSliderValue((HWND)lParam, hWnd, SequenceLenMS);
}
else if( wmId == IDCANCEL )
{