summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/nw4r/snd/snd_BasicSound.h1
-rw-r--r--include/nw4r/snd/snd_SeqPlayer.h4
-rw-r--r--include/nw4r/snd/snd_SeqSound.h9
3 files changed, 14 insertions, 0 deletions
diff --git a/include/nw4r/snd/snd_BasicSound.h b/include/nw4r/snd/snd_BasicSound.h
index 49d9b3a8..84a4d5e4 100644
--- a/include/nw4r/snd/snd_BasicSound.h
+++ b/include/nw4r/snd/snd_BasicSound.h
@@ -253,6 +253,7 @@ namespace nw4r { namespace snd { namespace detail
void SetAutoStopCounter(int count);
void FadeIn(int fadeFrames);
+ bool GetStartedFlag() const { return mStartedFlag; }
u32 GetId() const { return mId; }
PlayerHeap *GetPlayerHeap() { return mPlayerHeap; }
SoundPlayer *GetSoundPlayer() { return mSoundPlayer; }
diff --git a/include/nw4r/snd/snd_SeqPlayer.h b/include/nw4r/snd/snd_SeqPlayer.h
index cb4c1a52..54b8e0ae 100644
--- a/include/nw4r/snd/snd_SeqPlayer.h
+++ b/include/nw4r/snd/snd_SeqPlayer.h
@@ -149,6 +149,10 @@ namespace nw4r { namespace snd { namespace detail
return mParserParam.timebase * mParserParam.tempo * mTempoRatio;
}
+ u32 GetTickCounter() const {
+ return mTickCounter;
+ }
+
void SetSeqData(void const *seqBase, s32 seqOffset);
void CallSeqUserprocCallback(u16 procId, SeqTrack *track);
diff --git a/include/nw4r/snd/snd_SeqSound.h b/include/nw4r/snd/snd_SeqSound.h
index d700b34f..7079f9bc 100644
--- a/include/nw4r/snd/snd_SeqSound.h
+++ b/include/nw4r/snd/snd_SeqSound.h
@@ -121,6 +121,15 @@ namespace nw4r { namespace snd { namespace detail
static void NotifyLoadAsyncEndSeqData(bool result, void const *seqBase,
void *userData);
+ void SetTrackMute(u32 trackFlags, SeqMute mute);
+ void SetTrackSilence(u32 trackFlags, bool silence, int fadeFrames);
+ void SetTrackVolume(u32 trackFlags, f32 volume);
+ bool ReadVariable(int varNo, s16 *value) const;
+ bool WriteVariable(int varNo, s16 value);
+ static bool WriteGlobalVariable(int varNo, s16 value);
+ bool WriteTrackVariable(int trackNo, int varNo, s16 value);
+ u32 GetTick() const;
+
static DebugSoundType GetSoundType()
{
return DEBUG_SOUND_TYPE_SEQSOUND;