Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
SoundSystem.h
Go to the documentation of this file.
1#ifndef NW4HBM_SND_SOUND_SYSTEM_H
2#define NW4HBM_SND_SOUND_SYSTEM_H
3
4#include <revolution/types.h>
5
6#include "AxManager.h"
8#include "TaskThread.h"
9
10namespace nw4hbm {
11 namespace snd {
12
13 class FxBase;
15 public:
16 static const int DEFAULT_DVD_THREAD_PRIORITY = 3;
17 static const int DEFAULT_SOUND_THREAD_PRIORITY = 4;
18
19 static void InitSoundSystem(s32 soundThreadPrio = DEFAULT_SOUND_THREAD_PRIORITY,
20 s32 dvdThreadPriority = DEFAULT_DVD_THREAD_PRIORITY);
21
22 static void ShutdownSoundSystem();
23
27
31 static void SetMasterVolume(f32 volume, int frame) {
33 }
34
38
39 static void AppendEffect(AuxBus bus, FxBase* pFx) {
41 }
42 static void ClearEffect(AuxBus bus, int frame) {
44 }
45 };
46
47 } // namespace snd
48} // namespace nw4hbm
49
50#endif
Definition FxBase.h:14
Definition RemoteSpeaker.h:11
Definition SoundSystem.h:14
static void ShutdownSoundSystem()
static void InitSoundSystem(s32 soundThreadPrio=DEFAULT_SOUND_THREAD_PRIORITY, s32 dvdThreadPriority=DEFAULT_DVD_THREAD_PRIORITY)
static void SetOutputMode(OutputMode mode)
Definition SoundSystem.h:24
static const int DEFAULT_SOUND_THREAD_PRIORITY
Definition SoundSystem.h:17
static f32 GetMasterVolume()
Definition SoundSystem.h:28
static const int DEFAULT_DVD_THREAD_PRIORITY
Definition SoundSystem.h:16
static RemoteSpeaker & GetRemoteSpeaker(int idx)
Definition SoundSystem.h:35
static void ClearEffect(AuxBus bus, int frame)
Definition SoundSystem.h:42
static void SetMasterVolume(f32 volume, int frame)
Definition SoundSystem.h:31
static void AppendEffect(AuxBus bus, FxBase *pFx)
Definition SoundSystem.h:39
void SetOutputMode(OutputMode mode)
void SetMasterVolume(f32 volume, int frame)
bool AppendEffect(AuxBus bus, FxBase *fx)
void ClearEffect(AuxBus bus, int frame)
f32 GetMasterVolume() const
Definition AxManager.h:54
static AxManager & GetInstance()
static RemoteSpeakerManager & GetInstance()
RemoteSpeaker & GetRemoteSpeaker(int idx)
u32 mode
Definition GXTev.c:56
float f32
Definition types.h:25
signed long s32
Definition types.h:11
OutputMode
Definition snd_types.h:66
AuxBus
Definition snd_types.h:73
Definition HBMAnmController.h:6