mirror of
https://github.com/zeldaret/ss
synced 2026-05-24 15:20:58 -04:00
snd_SeqSound OK
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user