Space Engineers
Public Member Functions | Properties | List of all members
Sandbox.Engine.Audio.MySourceVoice Class Reference

Public Member Functions

 MySourceVoice (MySourceVoicePool owner, SourceVoice voice)
 
void SubmitSourceBuffer (MySoundCuesEnum cueEnum, AudioBuffer buffer, uint[] decodedXMWAPacketInfo, int sampleRate)
 
void Start ()
 
void OnStopPlaying (IntPtr context)
 
void Stop (bool force=false)
 
void Pause ()
 
void Resume ()
 
void SetVolume (float volume)
 

Properties

SourceVoice Voice [get]
 
MySoundCuesEnum CueEnum [get]
 
bool IsPlaying [get]
 
bool IsPaused [get]
 
MySourceVoicePool Owner [get]
 
float FrequencyRatio [get, set]
 

Detailed Description

Definition at line 17 of file MySourceVoice.cs.

Constructor & Destructor Documentation

Sandbox.Engine.Audio.MySourceVoice.MySourceVoice ( MySourceVoicePool  owner,
SourceVoice  voice 
)
inline

Definition at line 39 of file MySourceVoice.cs.

Member Function Documentation

void Sandbox.Engine.Audio.MySourceVoice.OnStopPlaying ( IntPtr  context)
inline

Definition at line 62 of file MySourceVoice.cs.

void Sandbox.Engine.Audio.MySourceVoice.Pause ( )
inline

Definition at line 77 of file MySourceVoice.cs.

void Sandbox.Engine.Audio.MySourceVoice.Resume ( )
inline

Definition at line 83 of file MySourceVoice.cs.

void Sandbox.Engine.Audio.MySourceVoice.SetVolume ( float  volume)
inline

Definition at line 89 of file MySourceVoice.cs.

void Sandbox.Engine.Audio.MySourceVoice.Start ( )
inline

Definition at line 56 of file MySourceVoice.cs.

void Sandbox.Engine.Audio.MySourceVoice.Stop ( bool  force = false)
inline

Definition at line 71 of file MySourceVoice.cs.

void Sandbox.Engine.Audio.MySourceVoice.SubmitSourceBuffer ( MySoundCuesEnum  cueEnum,
AudioBuffer  buffer,
uint[]  decodedXMWAPacketInfo,
int  sampleRate 
)
inline

Definition at line 48 of file MySourceVoice.cs.

Property Documentation

MySoundCuesEnum Sandbox.Engine.Audio.MySourceVoice.CueEnum
get

Definition at line 29 of file MySourceVoice.cs.

float Sandbox.Engine.Audio.MySourceVoice.FrequencyRatio
getset

Definition at line 34 of file MySourceVoice.cs.

bool Sandbox.Engine.Audio.MySourceVoice.IsPaused
get

Definition at line 31 of file MySourceVoice.cs.

bool Sandbox.Engine.Audio.MySourceVoice.IsPlaying
get

Definition at line 30 of file MySourceVoice.cs.

MySourceVoicePool Sandbox.Engine.Audio.MySourceVoice.Owner
get

Definition at line 32 of file MySourceVoice.cs.

SourceVoice Sandbox.Engine.Audio.MySourceVoice.Voice
get

Definition at line 28 of file MySourceVoice.cs.


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