The Open Toolkit library
1.0
|
The X-Ram Extension is provided on the top-end Sound Blaster X-Fi solutions (Sound Blaster X-Fi Fatal1ty, Sound Blaster X-Fi Elite Pro, or later). These products feature 64MB of X-Ram that can only be used for audio purposes, which can be controlled by this Extension. /summary> More...
Public Types | |
enum | XRamStorage : byte { XRamStorage.Automatic = 0, XRamStorage.Hardware = 1, XRamStorage.Accessible = 2 } |
This enum is used to abstract the need of using AL.GetEnumValue() with the Extension. The values do NOT correspond to AL_STORAGE_* tokens! More... | |
Public Member Functions | |
XRamExtension () | |
Constructs a new XRamExtension instance. More... | |
bool | SetBufferMode (int n, ref uint buffer, XRamStorage mode) |
This function is used to set the storage Mode of an array of OpenAL Buffers. More... | |
bool | SetBufferMode (int n, ref int buffer, XRamStorage mode) |
This function is used to set the storage Mode of an array of OpenAL Buffers. More... | |
XRamStorage | GetBufferMode (ref uint buffer) |
This function is used to retrieve the storage Mode of a single OpenAL Buffer. More... | |
XRamStorage | GetBufferMode (ref int buffer) |
This function is used to retrieve the storage Mode of a single OpenAL Buffer. More... | |
Properties | |
bool | IsInitialized [get] |
Returns True if the X-Ram Extension has been found and could be initialized. More... | |
int | GetRamSize [get] |
Query total amount of X-RAM in bytes. More... | |
int | GetRamFree [get] |
Query free X-RAM available in bytes. More... | |
The X-Ram Extension is provided on the top-end Sound Blaster X-Fi solutions (Sound Blaster X-Fi Fatal1ty, Sound Blaster X-Fi Elite Pro, or later). These products feature 64MB of X-Ram that can only be used for audio purposes, which can be controlled by this Extension. /summary>
enum OpenTK.Audio.OpenAL.XRamExtension.XRamStorage : byte |
This enum is used to abstract the need of using AL.GetEnumValue() with the Extension. The values do NOT correspond to AL_STORAGE_* tokens!
OpenTK.Audio.OpenAL.XRamExtension.XRamExtension | ( | ) |
Constructs a new XRamExtension instance.
XRamStorage OpenTK.Audio.OpenAL.XRamExtension.GetBufferMode | ( | ref uint | buffer | ) |
XRamStorage OpenTK.Audio.OpenAL.XRamExtension.GetBufferMode | ( | ref int | buffer | ) |
bool OpenTK.Audio.OpenAL.XRamExtension.SetBufferMode | ( | int | n, |
ref uint | buffer, | ||
XRamStorage | mode | ||
) |
This function is used to set the storage Mode of an array of OpenAL Buffers.
n | The number of OpenAL Buffers pointed to by buffer. |
buffer | An array of OpenAL Buffer handles. |
mode | The storage mode that should be used for all the given buffers. Should be the value of one of the following enum names: XRamStorage.Automatic, XRamStorage.Hardware, XRamStorage.Accessible |
bool OpenTK.Audio.OpenAL.XRamExtension.SetBufferMode | ( | int | n, |
ref int | buffer, | ||
XRamStorage | mode | ||
) |
This function is used to set the storage Mode of an array of OpenAL Buffers.
n | The number of OpenAL Buffers pointed to by buffer. |
buffer | An array of OpenAL Buffer handles. |
mode | The storage mode that should be used for all the given buffers. Should be the value of one of the following enum names: XRamStorage.Automatic, XRamStorage.Hardware, XRamStorage.Accessible |
|
get |
Query free X-RAM available in bytes.
|
get |
Query total amount of X-RAM in bytes.
|
get |
Returns True if the X-Ram Extension has been found and could be initialized.