REMOVED sound echo menu item
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@636 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
8076bd1e18
commit
00b508dfb9
|
@ -248,10 +248,6 @@
|
|||
Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
|
||||
UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\win32\AudioEffectsDlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="Filters"
|
||||
>
|
||||
|
@ -609,6 +605,10 @@
|
|||
RelativePath="..\..\src\win32\Associate.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\win32\AudioEffectsDlg.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\win32\AVIWrite.cpp"
|
||||
>
|
||||
|
@ -956,10 +956,6 @@
|
|||
Filter="h;hpp;hxx;hm;inl;inc;xsd"
|
||||
UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
|
||||
>
|
||||
<File
|
||||
RelativePath="..\..\src\win32\AudioEffectsDlg.h"
|
||||
>
|
||||
</File>
|
||||
<Filter
|
||||
Name="GB"
|
||||
>
|
||||
|
@ -1163,6 +1159,10 @@
|
|||
RelativePath="..\..\src\win32\Associate.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\win32\AudioEffectsDlg.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="..\..\src\win32\AVIWrite.h"
|
||||
>
|
||||
|
|
|
@ -60,7 +60,6 @@ float soundFiltering = 1;
|
|||
static float soundFiltering_;
|
||||
int soundVolume = 0;
|
||||
static int soundVolume_;
|
||||
bool soundEcho = false;
|
||||
int soundEnableFlag = 0x3ff; // emulator channels enabled
|
||||
|
||||
int const SOUND_CLOCK_TICKS_ = 167772;
|
||||
|
|
|
@ -58,8 +58,6 @@ extern int soundVolume; // emulator volume code (not linear)
|
|||
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 bool soundEcho; // enables echo for GB, not GBA
|
||||
|
||||
// Not used anymore
|
||||
extern bool soundLowPass;
|
||||
extern bool soundReverse;
|
||||
|
|
|
@ -43,7 +43,6 @@ extern int soundTicks;
|
|||
extern int SOUND_CLOCK_TICKS;
|
||||
extern u32 soundNextPosition;
|
||||
|
||||
extern bool soundEcho;
|
||||
extern bool soundLowPass;
|
||||
extern bool soundReverse;
|
||||
extern bool soundOffFlag;
|
||||
|
@ -134,8 +133,6 @@ void gbSoundTick()
|
|||
|
||||
flush_samples();
|
||||
|
||||
gb_effects_config.enabled = soundEcho;
|
||||
|
||||
// Update effects config if it was changed
|
||||
if ( memcmp( &gb_effects_config_current, &gb_effects_config,
|
||||
sizeof gb_effects_config ) )
|
||||
|
|
|
@ -151,7 +151,6 @@ struct {
|
|||
{ "OptionsSound11Khz", ID_OPTIONS_SOUND_11KHZ },
|
||||
{ "OptionsSound22Khz", ID_OPTIONS_SOUND_22KHZ },
|
||||
{ "OptionsSound44Khz", ID_OPTIONS_SOUND_44KHZ },
|
||||
{ "OptionsSoundEcho", ID_OPTIONS_SOUND_ECHO },
|
||||
{ "OptionsSoundLowPassFilter", ID_OPTIONS_SOUND_LOWPASSFILTER },
|
||||
{ "OptionsSoundReverseStereo", ID_OPTIONS_SOUND_REVERSESTEREO },
|
||||
{ "OptionsSoundVolume1x", ID_OPTIONS_SOUND_VOLUME_1X },
|
||||
|
|
|
@ -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_ECHO, OnOptionsSoundEcho)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_ECHO, OnUpdateOptionsSoundEcho)
|
||||
ON_COMMAND(ID_OPTIONS_SOUND_LOWPASSFILTER, OnOptionsSoundLowpassfilter)
|
||||
ON_UPDATE_COMMAND_UI(ID_OPTIONS_SOUND_LOWPASSFILTER, OnUpdateOptionsSoundLowpassfilter)
|
||||
ON_COMMAND(ID_OPTIONS_SOUND_REVERSESTEREO, OnOptionsSoundReversestereo)
|
||||
|
|
|
@ -207,8 +207,6 @@ public:
|
|||
afx_msg void OnUpdateOptionsEmulatorBmpformat(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSoundMute();
|
||||
afx_msg void OnUpdateOptionsSoundMute(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSoundEcho();
|
||||
afx_msg void OnUpdateOptionsSoundEcho(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSoundLowpassfilter();
|
||||
afx_msg void OnUpdateOptionsSoundLowpassfilter(CCmdUI* pCmdUI);
|
||||
afx_msg void OnOptionsSoundReversestereo();
|
||||
|
|
|
@ -811,16 +811,6 @@ void MainWnd::OnUpdateOptionsSoundMute(CCmdUI* pCmdUI)
|
|||
pCmdUI->SetCheck(active == 0);
|
||||
}
|
||||
|
||||
void MainWnd::OnOptionsSoundEcho()
|
||||
{
|
||||
soundEcho = !soundEcho;
|
||||
}
|
||||
|
||||
void MainWnd::OnUpdateOptionsSoundEcho(CCmdUI* pCmdUI)
|
||||
{
|
||||
pCmdUI->SetCheck(soundEcho);
|
||||
}
|
||||
|
||||
void MainWnd::OnAudioEffects()
|
||||
{
|
||||
AudioEffectsDlg dlg;
|
||||
|
|
|
@ -1591,8 +1591,6 @@ void VBA::loadSettings()
|
|||
|
||||
soundQuality = regQueryDwordValue("soundQuality", 1);
|
||||
|
||||
soundEcho = regQueryDwordValue("soundEcho", 0) ? true : false;
|
||||
|
||||
soundLowPass = regQueryDwordValue("soundLowPass", 0) ? true : false;
|
||||
|
||||
soundReverse = regQueryDwordValue("soundReverse", 0) ? true : false;
|
||||
|
@ -2591,8 +2589,6 @@ void VBA::saveSettings()
|
|||
|
||||
regSetDwordValue("soundQuality", soundQuality);
|
||||
|
||||
regSetDwordValue("soundEcho", soundEcho);
|
||||
|
||||
regSetDwordValue("soundLowPass", soundLowPass);
|
||||
|
||||
regSetDwordValue("soundReverse", soundReverse);
|
||||
|
|
|
@ -1796,7 +1796,6 @@ BEGIN
|
|||
MENUITEM "Off", ID_OPTIONS_SOUND_PCMINTERPOLATION_NONE
|
||||
END
|
||||
MENUITEM SEPARATOR
|
||||
MENUITEM "&Echo", ID_OPTIONS_SOUND_ECHO
|
||||
MENUITEM "Effects...", ID_AUDIO_EFFECTS
|
||||
MENUITEM SEPARATOR
|
||||
POPUP "Sound Channels"
|
||||
|
|
|
@ -684,7 +684,6 @@
|
|||
#define ID_TOOLS_CUSTOMIZE 40145
|
||||
#define ID_TOOLS_TILEVIEWER 40146
|
||||
#define ID_OPTIONS_GAMEBOY_COLORS 40147
|
||||
#define ID_OPTIONS_SOUND_ECHO 40148
|
||||
#define ID_OPTIONS_SOUND_LOWPASSFILTER 40149
|
||||
#define ID_OPTIONS_SOUND_REVERSESTEREO 40150
|
||||
#define ID_TOOLS_DISASSEMBLE 40151
|
||||
|
|
Loading…
Reference in New Issue