diff --git a/source/audio.cpp b/source/audio.cpp deleted file mode 100644 index 8d0b885..0000000 --- a/source/audio.cpp +++ /dev/null @@ -1,35 +0,0 @@ -/**************************************************************************** - * libwiigui Template - * Tantric 2009 - * - * audio.cpp - * Audio support - ***************************************************************************/ - -#include -#include -#include - -/**************************************************************************** - * InitAudio - * - * Initializes the Wii's audio subsystem - ***************************************************************************/ -void InitAudio() -{ - AUDIO_Init(NULL); - ASND_Init(); - ASND_Pause(0); -} - -/**************************************************************************** - * ShutdownAudio - * - * Shuts down audio subsystem. Useful to avoid unpleasant sounds if a - * crash occurs during shutdown. - ***************************************************************************/ -void ShutdownAudio() -{ - ASND_Pause(1); - ASND_End(); -} diff --git a/source/audio.h b/source/audio.h deleted file mode 100644 index 6efdf6d..0000000 --- a/source/audio.h +++ /dev/null @@ -1,15 +0,0 @@ -/**************************************************************************** - * libwiigui Template - * Tantric 2009 - * - * audio.h - * Audio support - ***************************************************************************/ - -#ifndef _AUDIO_H_ -#define _AUDIO_H_ - -void InitAudio(); -void ShutdownAudio(); - -#endif diff --git a/source/main.cpp b/source/main.cpp index 446aeee..45b6a30 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -168,9 +168,7 @@ main(int argc, char *argv[]) InitVideo(); // Initialize video SetupPads(); // Initialize input -// InitAudio(); // Initialize audio InitGUIThreads(); // Initialize GUI - //DI2_Init(); // Initialize DVD MountAllDevices(); InitNetworkThread(); // Initialize Network InitTcpThread();