Space Engineers
Public Member Functions | Public Attributes | Properties | Events | List of all members
VRage.Audio.MySourceVoicePool Class Reference

Public Member Functions

 MySourceVoicePool (XAudio2 audioEngine, WaveFormat waveformat, MyCueBank owner)
 
void SetAudioEngine (XAudio2 audioEngine)
 
void OnStopPlaying (MySourceVoice voice)
 
void Update ()
 
void AddToFadeoutList (MySourceVoice voice)
 
void StopAll ()
 
void Dispose ()
 
void WritePlayingDebugInfo (StringBuilder stringBuilder)
 
void WritePausedDebugInfo (StringBuilder stringBuilder)
 

Public Attributes

XAudio2 m_audioEngine
 
bool UseSameSoundLimiter = false
 

Properties

WaveFormat WaveFormat [get]
 

Events

AudioEngineChanged OnAudioEngineChanged
 

Detailed Description

Definition at line 12 of file MySourceVoicePool.cs.

Constructor & Destructor Documentation

VRage.Audio.MySourceVoicePool.MySourceVoicePool ( XAudio2  audioEngine,
WaveFormat  waveformat,
MyCueBank  owner 
)
inline

Definition at line 36 of file MySourceVoicePool.cs.

Member Function Documentation

void VRage.Audio.MySourceVoicePool.AddToFadeoutList ( MySourceVoice  voice)
inline

Definition at line 192 of file MySourceVoicePool.cs.

void VRage.Audio.MySourceVoicePool.Dispose ( )
inline

Definition at line 205 of file MySourceVoicePool.cs.

void VRage.Audio.MySourceVoicePool.OnStopPlaying ( MySourceVoice  voice)
inline

Definition at line 77 of file MySourceVoicePool.cs.

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

Definition at line 46 of file MySourceVoicePool.cs.

void VRage.Audio.MySourceVoicePool.StopAll ( )
inline

Definition at line 197 of file MySourceVoicePool.cs.

void VRage.Audio.MySourceVoicePool.Update ( )
inline

Definition at line 87 of file MySourceVoicePool.cs.

void VRage.Audio.MySourceVoicePool.WritePausedDebugInfo ( StringBuilder  stringBuilder)
inline

Definition at line 272 of file MySourceVoicePool.cs.

void VRage.Audio.MySourceVoicePool.WritePlayingDebugInfo ( StringBuilder  stringBuilder)
inline

Definition at line 250 of file MySourceVoicePool.cs.

Member Data Documentation

XAudio2 VRage.Audio.MySourceVoicePool.m_audioEngine

Definition at line 14 of file MySourceVoicePool.cs.

bool VRage.Audio.MySourceVoicePool.UseSameSoundLimiter = false

Definition at line 21 of file MySourceVoicePool.cs.

Property Documentation

WaveFormat VRage.Audio.MySourceVoicePool.WaveFormat
get

Definition at line 30 of file MySourceVoicePool.cs.

Event Documentation

AudioEngineChanged VRage.Audio.MySourceVoicePool.OnAudioEngineChanged

Definition at line 19 of file MySourceVoicePool.cs.


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