C# Class FSO.Common.Audio.MP3Player

Exibir arquivo Open project: RHY3756547/FreeSO Class Usage Examples

Public Properties

Property Type Description
Inst Microsoft.Xna.Framework.Audio.DynamicSoundEffectInstance

Public Methods

Method Description
Dispose ( ) : void
IsEnded ( ) : bool
MP3Player ( string path ) : System
Play ( ) : void
SetPan ( float pan ) : void
SetVolume ( float volume ) : void
Stop ( ) : void

Private Methods

Method Description
SubmitBuffer ( object sender, EventArgs e ) : void
SubmitBufferAsync ( object sender, EventArgs e ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

IsEnded() public method

public IsEnded ( ) : bool
return bool

MP3Player() public method

public MP3Player ( string path ) : System
path string
return System

Play() public method

public Play ( ) : void
return void

SetPan() public method

public SetPan ( float pan ) : void
pan float
return void

SetVolume() public method

public SetVolume ( float volume ) : void
volume float
return void

Stop() public method

public Stop ( ) : void
return void

Property Details

Inst public_oe property

public DynamicSoundEffectInstance,Microsoft.Xna.Framework.Audio Inst
return Microsoft.Xna.Framework.Audio.DynamicSoundEffectInstance