Space Engineers
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
VRage.Audio.MyCueBank Class Reference
Inheritance diagram for VRage.Audio.MyCueBank:

Public Types

enum  CuePart { CuePart.Start = 0, CuePart.Loop = 1, CuePart.End = 2 }
 

Public Member Functions

 MyCueBank (XAudio2 audioEngine, ListReader< MySoundData > cues)
 
void SetAudioEngine (XAudio2 audioEngine)
 
void SetSameSoundLimiter ()
 
Dictionary< MyStringId, List< MyCueId > > GetMusicCues ()
 
void Update ()
 
void ClearSounds ()
 
void Dispose ()
 
MyStringId GetRandomTransitionEnum ()
 
MyStringId GetRandomTransitionCategory (ref MyStringId transitionEnum, ref MyStringId noRandom)
 
bool IsValidTransitionCategory (MyStringId transitionEnum, MyStringId category)
 
MyCueId GetTransitionCue (MyStringId transitionEnum, MyStringId category)
 
MySoundData GetCue (MyCueId cueId)
 
List< MyStringIdGetCategories ()
 
void WriteDebugInfo (StringBuilder stringBuilder)
 

Public Attributes

bool UseSameSoundLimiter = false
 

Properties

bool DisablePooling [get, set]
 
int Count [get]
 
bool ApplyReverb [get, set]
 
Dictionary< MyCueId, MySoundData >.ValueCollection CueDefinitions [get]
 

Detailed Description

Definition at line 106 of file MyCueBank.cs.

Member Enumeration Documentation

Enumerator
Start 
Loop 
End 

Definition at line 108 of file MyCueBank.cs.

Constructor & Destructor Documentation

VRage.Audio.MyCueBank.MyCueBank ( XAudio2  audioEngine,
ListReader< MySoundData cues 
)
inline

Definition at line 138 of file MyCueBank.cs.

Member Function Documentation

void VRage.Audio.MyCueBank.ClearSounds ( )
inline

Definition at line 269 of file MyCueBank.cs.

void VRage.Audio.MyCueBank.Dispose ( )
inline

Definition at line 278 of file MyCueBank.cs.

List<MyStringId> VRage.Audio.MyCueBank.GetCategories ( )
inline

Definition at line 362 of file MyCueBank.cs.

MySoundData VRage.Audio.MyCueBank.GetCue ( MyCueId  cueId)
inline

Definition at line 350 of file MyCueBank.cs.

Dictionary<MyStringId, List<MyCueId> > VRage.Audio.MyCueBank.GetMusicCues ( )
inline

Definition at line 256 of file MyCueBank.cs.

MyStringId VRage.Audio.MyCueBank.GetRandomTransitionCategory ( ref MyStringId  transitionEnum,
ref MyStringId  noRandom 
)
inline

Definition at line 319 of file MyCueBank.cs.

MyStringId VRage.Audio.MyCueBank.GetRandomTransitionEnum ( )
inline

Definition at line 314 of file MyCueBank.cs.

MyCueId VRage.Audio.MyCueBank.GetTransitionCue ( MyStringId  transitionEnum,
MyStringId  category 
)
inline

Definition at line 345 of file MyCueBank.cs.

bool VRage.Audio.MyCueBank.IsValidTransitionCategory ( MyStringId  transitionEnum,
MyStringId  category 
)
inline

Definition at line 340 of file MyCueBank.cs.

void VRage.Audio.MyCueBank.SetAudioEngine ( XAudio2  audioEngine)
inline

Definition at line 156 of file MyCueBank.cs.

void VRage.Audio.MyCueBank.SetSameSoundLimiter ( )
inline

Definition at line 222 of file MyCueBank.cs.

void VRage.Audio.MyCueBank.Update ( )
inline

Definition at line 261 of file MyCueBank.cs.

void VRage.Audio.MyCueBank.WriteDebugInfo ( StringBuilder  stringBuilder)
inline

Definition at line 497 of file MyCueBank.cs.

Member Data Documentation

bool VRage.Audio.MyCueBank.UseSameSoundLimiter = false

Definition at line 125 of file MyCueBank.cs.

Property Documentation

bool VRage.Audio.MyCueBank.ApplyReverb
getset

Definition at line 309 of file MyCueBank.cs.

int VRage.Audio.MyCueBank.Count
get

Definition at line 168 of file MyCueBank.cs.

Dictionary<MyCueId, MySoundData>.ValueCollection VRage.Audio.MyCueBank.CueDefinitions
get

Definition at line 360 of file MyCueBank.cs.

bool VRage.Audio.MyCueBank.DisablePooling
getset

Definition at line 136 of file MyCueBank.cs.


The documentation for this class was generated from the following file: