From 2b5772020f20e974fc4224f9824f47b8c37a7fd4 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 7 Apr 2012 20:05:59 +0200 Subject: [PATCH] removed unused audio[cppp|h] --- source/audio.cpp | 35 ----------------------------------- source/audio.h | 15 --------------- source/main.cpp | 2 -- 3 files changed, 52 deletions(-) delete mode 100644 source/audio.cpp delete mode 100644 source/audio.h 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();