Метод | Описание | |
---|---|---|
CreateAudioSource ( string path ) : IAudioSource |
Creates an AudioSource.
|
|
Dispose ( ) : void |
Disposes the object.
|
|
Initialize ( IAudioSource audioSource ) : void |
Initializes the audio provider with the given audio source.
|
|
OpenALAudioProvider ( ) : System |
Initializes a new OpenALAudioProvider class.
|
|
Pause ( ) : void |
Pause a sound.
|
|
Play ( PlaybackMode playbackMode ) : void |
Plays the sound.
|
|
Resume ( ) : void |
Resumes a sound.
|
|
Seek ( long position ) : void |
Seeks a sound to a specified position.
|
|
Stop ( ) : void |
Stops the sound.
|
Метод | Описание | |
---|---|---|
AudioBufferPlaybackChanged ( object sender, |
Called if the AudioBuffer changed its playback.
|
|
DetectAudioFormat ( WaveFormat format ) : OpenALAudioFormat |
Detects the OpenALAudioformat.
|
|
RaisePlaybackChanged ( ) : void |
Raises the PlaybackChanged event.
|
public CreateAudioSource ( string path ) : IAudioSource | ||
path | string | The Path. |
Результат | IAudioSource |
public Initialize ( IAudioSource audioSource ) : void | ||
audioSource | IAudioSource | The AudioSource. |
Результат | void |
public Play ( PlaybackMode playbackMode ) : void | ||
playbackMode | PlaybackMode | The PlaybackMode. |
Результат | void |
public Seek ( long position ) : void | ||
position | long | The Position. |
Результат | void |