summaryrefslogtreecommitdiff
path: root/src/Z2AudioLib/Z2SoundStarter.cpp
diff options
context:
space:
mode:
authorTakaRikka <38417346+TakaRikka@users.noreply.github.com>2025-11-30 14:23:42 -0800
committerGitHub <noreply@github.com>2025-11-30 15:23:42 -0700
commita6e76c0841cae03cae0c0e6ac75c32f979043093 (patch)
tree76b5f590c59c6abdf2c80d0a3d5c0ccb31ebd0fe /src/Z2AudioLib/Z2SoundStarter.cpp
parent434415337d268e405b09f6b72935a7e918e4cfe7 (diff)
project cleanup (#2895)
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
Diffstat (limited to 'src/Z2AudioLib/Z2SoundStarter.cpp')
-rw-r--r--src/Z2AudioLib/Z2SoundStarter.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/Z2AudioLib/Z2SoundStarter.cpp b/src/Z2AudioLib/Z2SoundStarter.cpp
index fa8ca55990..2b51fcd4bb 100644
--- a/src/Z2AudioLib/Z2SoundStarter.cpp
+++ b/src/Z2AudioLib/Z2SoundStarter.cpp
@@ -2,18 +2,13 @@
#include "Z2AudioLib/Z2EnvSeMgr.h"
#include "Z2AudioLib/Z2AudioMgr.h"
-/* 802AAB94-802AABF4 2A54D4 0060+00 0/0 4/4 0/0 .text __ct__14Z2SoundStarterFb */
Z2SoundStarter::Z2SoundStarter(bool setInstance) :
JAISoundStarter(setInstance), JASGlobalInstance<Z2SoundStarter>(setInstance) {}
-/* 802AABF4-802AAC3C 2A5534 0048+00 1/0 5/0 0/0 .text
- * startSound__14Z2SoundStarterF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f> */
bool Z2SoundStarter::startSound(JAISoundID soundID, JAISoundHandle* handlePtr, const JGeometry::TVec3<f32>* posPtr) {
return Z2SoundStarter::startSound(soundID, handlePtr, posPtr, 0, 0.0f, 1.0f, 1.0f, -1.0f, -1.0f, 0);
}
-/* 802AAC3C-802AAEDC 2A557C 02A0+00 2/1 2/2 0/0 .text
- * startSound__14Z2SoundStarterF10JAISoundIDP14JAISoundHandlePCQ29JGeometry8TVec3<f>UlfffffUl */
bool Z2SoundStarter::startSound(JAISoundID soundID, JAISoundHandle* handlePtr,
const JGeometry::TVec3<f32>* posPtr, u32 mapinfo, f32 fxMix,
f32 pitch, f32 volume, f32 pan, f32 dolby, u32 moveSteps) {
@@ -73,8 +68,6 @@ bool Z2SoundStarter::startSound(JAISoundID soundID, JAISoundHandle* handlePtr,
return startSoundRes;
}
-/* 802AAEDC-802AAF74 2A581C 0098+00 1/1 10/10 0/0 .text
- * setPortData__14Z2SoundStarterFP14JAISoundHandleUlUsSc */
void Z2SoundStarter::setPortData(JAISoundHandle* handlePtr, u32 portNum, u16 data, s8 childIndex) {
if (handlePtr != NULL && *handlePtr) {
JASTrack* track = handlePtr->getSound()->getTrack();
@@ -90,8 +83,6 @@ void Z2SoundStarter::setPortData(JAISoundHandle* handlePtr, u32 portNum, u16 dat
}
}
-/* 802AAF74-802AAFF0 2A58B4 007C+00 0/0 1/1 0/0 .text
- * getPortData__14Z2SoundStarterFP14JAISoundHandleUlSc */
u16 Z2SoundStarter::getPortData(JAISoundHandle* handlePtr, u32 portNum, s8 childIndex) {
if (handlePtr != NULL && *handlePtr) {
JASTrack* track = NULL;