TS3PR/SimIFace/Sims3.SimIFace/Audio

From SimsWiki
< TS3PR‎ | SimIFace‎ | Sims3.SimIFace
Revision as of 12:03, 1 February 2021 by Lyralei (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Not to be confused with 'Sound' which can be found in the same namespace path. Audio takes some of the ScriptCore functions and makes them usable to eventually be used by other 'sound' classes. It also seems to come with some debug functions.

Used primarily by:

Code

STILL NEED TO PARSE CODE BLOCK HERE


Useful Debug functions that can be found inside this class:

	public static uint StartSoundMP3(string name)
	{
		return gAudio.StartSoundMP3(name);
	}

Example usage:

//OnStartup() or inside Run() or anything that can fire it.
Audio.StartSoundMP3("sound_name_a");

(NOTE: Do make sure to 'stopSound()' if you ever were to use this for non-debug reasons.)

Personal tools
Namespaces

Variants
Actions
Navigation
game select
Toolbox