C# Class OpenBve.SoundManager

Afficher le fichier Open project: leezer3/OpenBVE

Private Methods

Méthode Description
Deinitialize ( ) : void
GetSoundLength ( int SoundBufferIndex ) : double
HasFinishedPlaying ( int SoundSourceIndex ) : bool
Initialize ( ) : void
IsPlaying ( int SoundSourceIndex ) : bool
LoadSound ( string FileName, double Radius ) : int
ModulateSound ( int SoundSourceIndex, double Pitch, double Gain ) : void
PlaySound ( int SoundBufferIndex, TrainManager Train, int CarIndex, World Position, Importance Important, bool Looped ) : void
PlaySound ( int SoundBufferIndex, TrainManager Train, int CarIndex, World Position, Importance Important, bool Looped, double Pitch, double Gain ) : void
PlaySound ( int SoundBufferIndex, World Position, Importance Important, bool Looped ) : void
PlaySound ( int &SoundSourceIndex, bool ReturnHandle, int SoundBufferIndex, TrainManager Train, int CarIndex, World Position, Importance Important, bool Looped, double Pitch, double Gain ) : void
PlaySound ( int &SoundSourceIndex, int SoundBufferIndex, TrainManager Train, int CarIndex, World Position, Importance Important, bool Looped ) : void
PlaySound ( int &SoundSourceIndex, int SoundBufferIndex, TrainManager Train, int CarIndex, World Position, Importance Important, bool Looped, double Pitch, double Gain ) : void
PlaySound ( int &SoundSourceIndex, int SoundBufferIndex, World Position, Importance Important, bool Looped ) : void
StopAllSounds ( TrainManager Train, bool InvalidateHandles ) : void
StopAllSounds ( bool InvalidateHandles ) : void
StopSound ( int &SoundSourceIndex ) : void
StopSound ( int SoundSourceIndex, bool InvalidateHandle ) : void
UnuseAllSoundsBuffers ( ) : void
UnuseSoundBuffer ( int SoundBufferIndex ) : void
Update ( double TimeElapsed ) : void
UseSoundBuffer ( int SoundBufferIndex ) : void