REMOVED remains of soundLowPass option
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@637 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
00b508dfb9
commit
88a0e28b29
|
@ -74,7 +74,6 @@ u32 soundNextPosition = 0;
|
|||
bool soundOffFlag = false;
|
||||
bool soundPaused = true;
|
||||
|
||||
bool soundLowPass = false;
|
||||
bool soundReverse = false;
|
||||
|
||||
void interp_rate() { /* empty for now */ }
|
||||
|
|
|
@ -59,7 +59,6 @@ extern int soundInterpolation; // 1 if PCM should have low-pass filtering
|
|||
extern float soundFiltering; // 0.0 = none, 1.0 = max (only if soundInterpolation!=0)
|
||||
|
||||
// Not used anymore
|
||||
extern bool soundLowPass;
|
||||
extern bool soundReverse;
|
||||
|
||||
// Unknown purpose
|
||||
|
|
|
@ -43,7 +43,6 @@ extern int soundTicks;
|
|||
extern int SOUND_CLOCK_TICKS;
|
||||
extern u32 soundNextPosition;
|
||||
|
||||
extern bool soundLowPass;
|
||||
extern bool soundReverse;
|
||||
extern bool soundOffFlag;
|
||||
|
||||
|
|
|
@ -151,7 +151,6 @@ struct {
|
|||
{ "OptionsSound11Khz", ID_OPTIONS_SOUND_11KHZ },
|
||||
{ "OptionsSound22Khz", ID_OPTIONS_SOUND_22KHZ },
|
||||
{ "OptionsSound44Khz", ID_OPTIONS_SOUND_44KHZ },
|
||||
{ "OptionsSoundLowPassFilter", ID_OPTIONS_SOUND_LOWPASSFILTER },
|
||||
{ "OptionsSoundReverseStereo", ID_OPTIONS_SOUND_REVERSESTEREO },
|
||||
{ "OptionsSoundVolume1x", ID_OPTIONS_SOUND_VOLUME_1X },
|
||||
{ "OptionsSoundVolume2x", ID_OPTIONS_SOUND_VOLUME_2X },
|
||||
|
|
|
@ -206,8 +206,6 @@ BEGIN_MESSAGE_MAP(MainWnd, CWnd)
|
|||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_EMULATOR_BMPFORMAT, OnUpdateOptionsEmulatorBmpformat)
|
||||
ON_COMMAND(ID_OPTIONS_SOUND_MUTE, OnOptionsSoundMute)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_MUTE, OnUpdateOptionsSoundMute)
|
||||
ON_COMMAND(ID_OPTIONS_SOUND_LOWPASSFILTER, OnOptionsSoundLowpassfilter)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_LOWPASSFILTER, OnUpdateOptionsSoundLowpassfilter)
|
||||
ON_COMMAND(ID_OPTIONS_SOUND_REVERSESTEREO, OnOptionsSoundReversestereo)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_REVERSESTEREO, OnUpdateOptionsSoundReversestereo)
|
||||
ON_COMMAND(ID_OPTIONS_SOUND_11KHZ, OnOptionsSound11khz)
|
||||
|
|
|
@ -207,8 +207,6 @@ public:
|
|||
afx_msg void OnUpdateOptionsEmulatorBmpformat(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSoundMute();
|
||||
afx_msg void OnUpdateOptionsSoundMute(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSoundLowpassfilter();
|
||||
afx_msg void OnUpdateOptionsSoundLowpassfilter(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSoundReversestereo();
|
||||
afx_msg void OnUpdateOptionsSoundReversestereo(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSound11khz();
|
||||
|
|
|
@ -832,16 +832,6 @@ void MainWnd::OnAudioEffects()
|
|||
}
|
||||
}
|
||||
|
||||
void MainWnd::OnOptionsSoundLowpassfilter()
|
||||
{
|
||||
soundLowPass = !soundLowPass;
|
||||
}
|
||||
|
||||
void MainWnd::OnUpdateOptionsSoundLowpassfilter(CCmdUI* pCmdUI)
|
||||
{
|
||||
pCmdUI->SetCheck(soundLowPass);
|
||||
}
|
||||
|
||||
void MainWnd::OnOptionsSoundReversestereo()
|
||||
{
|
||||
soundReverse = !soundReverse;
|
||||
|
|
|
@ -1591,8 +1591,6 @@ void VBA::loadSettings()
|
|||
|
||||
soundQuality = regQueryDwordValue("soundQuality", 1);
|
||||
|
||||
soundLowPass = regQueryDwordValue("soundLowPass", 0) ? true : false;
|
||||
|
||||
soundReverse = regQueryDwordValue("soundReverse", 0) ? true : false;
|
||||
|
||||
soundVolume = regQueryDwordValue("soundVolume", 0);
|
||||
|
@ -2589,8 +2587,6 @@ void VBA::saveSettings()
|
|||
|
||||
regSetDwordValue("soundQuality", soundQuality);
|
||||
|
||||
regSetDwordValue("soundLowPass", soundLowPass);
|
||||
|
||||
regSetDwordValue("soundReverse", soundReverse);
|
||||
|
||||
regSetDwordValue("soundVolume", soundVolume);
|
||||
|
|
|
@ -684,7 +684,6 @@
|
|||
#define ID_TOOLS_CUSTOMIZE 40145
|
||||
#define ID_TOOLS_TILEVIEWER 40146
|
||||
#define ID_OPTIONS_GAMEBOY_COLORS 40147
|
||||
#define ID_OPTIONS_SOUND_LOWPASSFILTER 40149
|
||||
#define ID_OPTIONS_SOUND_REVERSESTEREO 40150
|
||||
#define ID_TOOLS_DISASSEMBLE 40151
|
||||
#define ID_TOOLS_DEBUG_GDB 40152
|
||||
|
|
Loading…
Reference in New Issue