public bool SetBufferMode(int n, ref uint buffer, XRamExtension.XRamStorage mode) { switch (mode) { case XRamExtension.XRamStorage.Hardware: return(this.Imported_SetBufferMode(n, ref buffer, this.AL_STORAGE_HARDWARE)); case XRamExtension.XRamStorage.Accessible: return(this.Imported_SetBufferMode(n, ref buffer, this.AL_STORAGE_ACCESSIBLE)); default: return(this.Imported_SetBufferMode(n, ref buffer, this.AL_STORAGE_AUTOMATIC)); } }
public bool SetBufferMode(int n, ref int buffer, XRamExtension.XRamStorage mode) { uint buffer1 = (uint)buffer; return(this.SetBufferMode(n, ref buffer1, mode)); }