REMOVED sound reverse stereo remains
This commit is contained in:
parent
f5eabba1c7
commit
ae0394a1e4
|
@ -74,8 +74,6 @@ u32 soundNextPosition = 0;
|
||||||
bool soundOffFlag = false;
|
bool soundOffFlag = false;
|
||||||
bool soundPaused = true;
|
bool soundPaused = true;
|
||||||
|
|
||||||
bool soundReverse = false;
|
|
||||||
|
|
||||||
void interp_rate() { /* empty for now */ }
|
void interp_rate() { /* empty for now */ }
|
||||||
|
|
||||||
class Gba_Pcm {
|
class Gba_Pcm {
|
||||||
|
|
|
@ -58,9 +58,6 @@ extern int soundVolume; // emulator volume code (not linear)
|
||||||
extern int soundInterpolation; // 1 if PCM should have low-pass filtering
|
extern int soundInterpolation; // 1 if PCM should have low-pass filtering
|
||||||
extern float soundFiltering; // 0.0 = none, 1.0 = max (only if soundInterpolation!=0)
|
extern float soundFiltering; // 0.0 = none, 1.0 = max (only if soundInterpolation!=0)
|
||||||
|
|
||||||
// Not used anymore
|
|
||||||
extern bool soundReverse;
|
|
||||||
|
|
||||||
// Unknown purpose
|
// Unknown purpose
|
||||||
extern int soundBufferTotalLen;
|
extern int soundBufferTotalLen;
|
||||||
extern u32 soundNextPosition;
|
extern u32 soundNextPosition;
|
||||||
|
|
|
@ -43,7 +43,6 @@ extern int soundTicks;
|
||||||
extern int SOUND_CLOCK_TICKS;
|
extern int SOUND_CLOCK_TICKS;
|
||||||
extern u32 soundNextPosition;
|
extern u32 soundNextPosition;
|
||||||
|
|
||||||
extern bool soundReverse;
|
|
||||||
extern bool soundOffFlag;
|
extern bool soundOffFlag;
|
||||||
|
|
||||||
int const ticks_to_time = 2 * GB_APU_OVERCLOCK;
|
int const ticks_to_time = 2 * GB_APU_OVERCLOCK;
|
||||||
|
|
|
@ -151,7 +151,6 @@ struct {
|
||||||
{ "OptionsSound11Khz", ID_OPTIONS_SOUND_11KHZ },
|
{ "OptionsSound11Khz", ID_OPTIONS_SOUND_11KHZ },
|
||||||
{ "OptionsSound22Khz", ID_OPTIONS_SOUND_22KHZ },
|
{ "OptionsSound22Khz", ID_OPTIONS_SOUND_22KHZ },
|
||||||
{ "OptionsSound44Khz", ID_OPTIONS_SOUND_44KHZ },
|
{ "OptionsSound44Khz", ID_OPTIONS_SOUND_44KHZ },
|
||||||
{ "OptionsSoundReverseStereo", ID_OPTIONS_SOUND_REVERSESTEREO },
|
|
||||||
{ "OptionsSoundVolume1x", ID_OPTIONS_SOUND_VOLUME_1X },
|
{ "OptionsSoundVolume1x", ID_OPTIONS_SOUND_VOLUME_1X },
|
||||||
{ "OptionsSoundVolume2x", ID_OPTIONS_SOUND_VOLUME_2X },
|
{ "OptionsSoundVolume2x", ID_OPTIONS_SOUND_VOLUME_2X },
|
||||||
{ "OptionsSoundVolume3x", ID_OPTIONS_SOUND_VOLUME_3X },
|
{ "OptionsSoundVolume3x", ID_OPTIONS_SOUND_VOLUME_3X },
|
||||||
|
|
|
@ -206,8 +206,6 @@ BEGIN_MESSAGE_MAP(MainWnd, CWnd)
|
||||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_EMULATOR_BMPFORMAT, OnUpdateOptionsEmulatorBmpformat)
|
ON_UPDATE_COMMAND_UI(ID_OPTIONS_EMULATOR_BMPFORMAT, OnUpdateOptionsEmulatorBmpformat)
|
||||||
ON_COMMAND(ID_OPTIONS_SOUND_MUTE, OnOptionsSoundMute)
|
ON_COMMAND(ID_OPTIONS_SOUND_MUTE, OnOptionsSoundMute)
|
||||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_MUTE, OnUpdateOptionsSoundMute)
|
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_MUTE, OnUpdateOptionsSoundMute)
|
||||||
ON_COMMAND(ID_OPTIONS_SOUND_REVERSESTEREO, OnOptionsSoundReversestereo)
|
|
||||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_REVERSESTEREO, OnUpdateOptionsSoundReversestereo)
|
|
||||||
ON_COMMAND(ID_OPTIONS_SOUND_11KHZ, OnOptionsSound11khz)
|
ON_COMMAND(ID_OPTIONS_SOUND_11KHZ, OnOptionsSound11khz)
|
||||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_11KHZ, OnUpdateOptionsSound11khz)
|
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_11KHZ, OnUpdateOptionsSound11khz)
|
||||||
ON_COMMAND(ID_OPTIONS_SOUND_22KHZ, OnOptionsSound22khz)
|
ON_COMMAND(ID_OPTIONS_SOUND_22KHZ, OnOptionsSound22khz)
|
||||||
|
|
|
@ -207,8 +207,6 @@ public:
|
||||||
afx_msg void OnUpdateOptionsEmulatorBmpformat(CCmdUI* pCmdUI);
|
afx_msg void OnUpdateOptionsEmulatorBmpformat(CCmdUI* pCmdUI);
|
||||||
afx_msg void OnOptionsSoundMute();
|
afx_msg void OnOptionsSoundMute();
|
||||||
afx_msg void OnUpdateOptionsSoundMute(CCmdUI* pCmdUI);
|
afx_msg void OnUpdateOptionsSoundMute(CCmdUI* pCmdUI);
|
||||||
afx_msg void OnOptionsSoundReversestereo();
|
|
||||||
afx_msg void OnUpdateOptionsSoundReversestereo(CCmdUI* pCmdUI);
|
|
||||||
afx_msg void OnOptionsSound11khz();
|
afx_msg void OnOptionsSound11khz();
|
||||||
afx_msg void OnUpdateOptionsSound11khz(CCmdUI* pCmdUI);
|
afx_msg void OnUpdateOptionsSound11khz(CCmdUI* pCmdUI);
|
||||||
afx_msg void OnOptionsSound22khz();
|
afx_msg void OnOptionsSound22khz();
|
||||||
|
|
|
@ -832,16 +832,6 @@ void MainWnd::OnAudioEffects()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWnd::OnOptionsSoundReversestereo()
|
|
||||||
{
|
|
||||||
soundReverse = !soundReverse;
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWnd::OnUpdateOptionsSoundReversestereo(CCmdUI* pCmdUI)
|
|
||||||
{
|
|
||||||
pCmdUI->SetCheck(soundReverse);
|
|
||||||
}
|
|
||||||
|
|
||||||
void MainWnd::OnOptionsSound11khz()
|
void MainWnd::OnOptionsSound11khz()
|
||||||
{
|
{
|
||||||
if(theApp.cartridgeType == 0)
|
if(theApp.cartridgeType == 0)
|
||||||
|
|
|
@ -1591,8 +1591,6 @@ void VBA::loadSettings()
|
||||||
|
|
||||||
soundQuality = regQueryDwordValue("soundQuality", 1);
|
soundQuality = regQueryDwordValue("soundQuality", 1);
|
||||||
|
|
||||||
soundReverse = regQueryDwordValue("soundReverse", 0) ? true : false;
|
|
||||||
|
|
||||||
soundVolume = regQueryDwordValue("soundVolume", 0);
|
soundVolume = regQueryDwordValue("soundVolume", 0);
|
||||||
if(soundVolume < 0 || soundVolume > 5)
|
if(soundVolume < 0 || soundVolume > 5)
|
||||||
soundVolume = 0;
|
soundVolume = 0;
|
||||||
|
@ -2587,8 +2585,6 @@ void VBA::saveSettings()
|
||||||
|
|
||||||
regSetDwordValue("soundQuality", soundQuality);
|
regSetDwordValue("soundQuality", soundQuality);
|
||||||
|
|
||||||
regSetDwordValue("soundReverse", soundReverse);
|
|
||||||
|
|
||||||
regSetDwordValue("soundVolume", soundVolume);
|
regSetDwordValue("soundVolume", soundVolume);
|
||||||
|
|
||||||
regSetDwordValue("soundInterpolation", soundInterpolation);
|
regSetDwordValue("soundInterpolation", soundInterpolation);
|
||||||
|
|
|
@ -684,7 +684,6 @@
|
||||||
#define ID_TOOLS_CUSTOMIZE 40145
|
#define ID_TOOLS_CUSTOMIZE 40145
|
||||||
#define ID_TOOLS_TILEVIEWER 40146
|
#define ID_TOOLS_TILEVIEWER 40146
|
||||||
#define ID_OPTIONS_GAMEBOY_COLORS 40147
|
#define ID_OPTIONS_GAMEBOY_COLORS 40147
|
||||||
#define ID_OPTIONS_SOUND_REVERSESTEREO 40150
|
|
||||||
#define ID_TOOLS_DISASSEMBLE 40151
|
#define ID_TOOLS_DISASSEMBLE 40151
|
||||||
#define ID_TOOLS_DEBUG_GDB 40152
|
#define ID_TOOLS_DEBUG_GDB 40152
|
||||||
#define ID_TOOLS_DEBUG_LOADANDWAIT 40153
|
#define ID_TOOLS_DEBUG_LOADANDWAIT 40153
|
||||||
|
|
Loading…
Reference in New Issue