C# Class Sharpex2D.Audio.OpenAL.OpenALDevice

Inheritance: IDisposable
Datei anzeigen Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Disposes this object.

Dispose ( bool disposing ) : void

Disposes the object.

SetDefaultOpenALDeviceOnStartup ( OpenALDevice device ) : void

Sets the default openal device if no one is set.

SetOpenALDeviceIfNeeded ( OpenALDevice device ) : void

Sets the OpenALDevice for this application.

Private Methods

Method Description
CreateAudioBuffer ( OpenALAudioFormat format ) : OpenALAudioBuffer

Creates a new AudioBuffer.

DestroyAudioBuffer ( OpenALAudioBuffer audioBuffer ) : void

Destroys the AudioBuffer.

InitializeDevice ( ) : void

Initializes the device.

OpenALDevice ( string deviceName, int id ) : System

Initializes a new OpenALDevice class.

Method Details

Dispose() public method

Disposes this object.
public Dispose ( ) : void
return void

Dispose() public method

Disposes the object.
public Dispose ( bool disposing ) : void
disposing bool The disposing state.
return void

SetDefaultOpenALDeviceOnStartup() public static method

Sets the default openal device if no one is set.
public static SetDefaultOpenALDeviceOnStartup ( OpenALDevice device ) : void
device OpenALDevice The OpenALDevice.
return void

SetOpenALDeviceIfNeeded() public static method

Sets the OpenALDevice for this application.
public static SetOpenALDeviceIfNeeded ( OpenALDevice device ) : void
device OpenALDevice The OpenALDevice.
return void