Remove useless indirection class "PSPMixer"

This commit is contained in:
Henrik Rydgard 2015-01-11 12:02:49 +01:00
parent 3ca212ad0c
commit 62d86f3246
15 changed files with 19 additions and 110 deletions

View file

@ -59,8 +59,6 @@
static const int numCPUs = 1;
extern PMixer *g_mixer;
float mouseDeltaX = 0;
float mouseDeltaY = 0;
@ -124,9 +122,8 @@ void WindowsHost::SetWindowTitle(const char *message)
PostMessage(mainWindow_, MainWindow::WM_USER_WINDOW_TITLE_CHANGED, 0, 0);
}
void WindowsHost::InitSound(PMixer *mixer)
void WindowsHost::InitSound()
{
g_mixer = mixer;
}
void WindowsHost::UpdateSound()
@ -136,9 +133,6 @@ void WindowsHost::UpdateSound()
void WindowsHost::ShutdownSound()
{
if (g_mixer)
delete g_mixer;
g_mixer = 0;
}
void WindowsHost::UpdateUI()