Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return | IAudioSource |
public Initialize ( IAudioSource audioSource ) : void | ||
audioSource | IAudioSource | The AudioSource. |
return | void |
public Play ( PlaybackMode playbackMode ) : void | ||
playbackMode | PlaybackMode | The PlaybackMode. |
return | void |