mirror of
https://github.com/Ryujinx/SDL2-CS.git
synced 2025-01-09 00:15:36 +00:00
AL_SOFT_MSADPCM is now a thing.
This commit is contained in:
parent
f7ba9ab3b7
commit
404c4d583d
|
@ -1492,7 +1492,6 @@ namespace OpenTK.Audio.OpenAL
|
|||
|
||||
// AL_API void AL_APIENTRY alBufferf( ALuint bid, ALenum param, ALfloat value );
|
||||
// AL_API void AL_APIENTRY alBufferfv( ALuint bid, ALenum param, const ALfloat* values );
|
||||
// AL_API void AL_APIENTRY alBufferi( ALuint bid, ALenum param, ALint value );
|
||||
// AL_API void AL_APIENTRY alBuffer3i( ALuint bid, ALenum param, ALint value1, ALint value2, ALint value3 );
|
||||
// AL_API void AL_APIENTRY alBuffer3f( ALuint bid, ALenum param, ALfloat value1, ALfloat value2, ALfloat value3 );
|
||||
*/
|
||||
|
@ -1506,6 +1505,9 @@ namespace OpenTK.Audio.OpenAL
|
|||
Buffer3f( bid, param, values.X, values.Y, values.Z );
|
||||
}*/
|
||||
|
||||
[CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alBufferi", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
|
||||
public static extern void Buffer(int bid, ALBufferi param, uint value);
|
||||
|
||||
[CLSCompliant(false), DllImport(AL.Lib, EntryPoint = "alBufferiv", ExactSpelling = true, CallingConvention = AL.Style), SuppressUnmanagedCodeSecurity()]
|
||||
public static extern void Buffer(int bid, ALBufferiv param, uint[] value);
|
||||
|
||||
|
|
|
@ -46,6 +46,13 @@ namespace OpenTK.Audio.OpenAL
|
|||
Orientation = 0x100F,
|
||||
}
|
||||
|
||||
///<summary>A list of valid Integer Buffer parameters</summary>
|
||||
public enum ALBufferi : int
|
||||
{
|
||||
UnpackBlockAlignmentSoft = 0x200C,
|
||||
PackBlockAlignmentSoft = 0x200D
|
||||
}
|
||||
|
||||
//<summary>A list of valid Integer Vector Buffer/GetBuffer parameters</summary>
|
||||
public enum ALBufferiv : int
|
||||
{
|
||||
|
@ -258,35 +265,11 @@ namespace OpenTK.Audio.OpenAL
|
|||
/// <summary>2 Channels, IMA4 ADPCM encoded data. Requires Extension: AL_EXT_IMA4</summary>
|
||||
StereoIma4Ext = 0x1301,
|
||||
|
||||
/// <summary>1 Channel, 32-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
MonoMsadpcm32Ext = 0x1302,
|
||||
/// <summary>1 Channel, MSADPCM encoded data. Requires Extension: AL_SOFT_MSADPCM</summary>
|
||||
MonoMsadpcmSoft = 0x1302,
|
||||
|
||||
/// <summary>2 Channels, 32-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
StereoMsadpcm32Ext = 0x1303,
|
||||
|
||||
/// <summary>1 Channel, 64-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
MonoMsadpcm64Ext = 0x1304,
|
||||
|
||||
/// <summary>2 Channels, 64-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
StereoMsadpcm64Ext = 0x1305,
|
||||
|
||||
/// <summary>1 Channel, 128-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
MonoMsadpcm128Ext = 0x1306,
|
||||
|
||||
/// <summary>2 Channels, 128-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
StereoMsadpcm128Ext = 0x1307,
|
||||
|
||||
/// <summary>1 Channel, 256-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
MonoMsadpcm256Ext = 0x1308,
|
||||
|
||||
/// <summary>2 Channels, 256-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
StereoMsadpcm256Ext = 0x1309,
|
||||
|
||||
/// <summary>1 Channel, 512-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
MonoMsadpcm512Ext = 0x130A,
|
||||
|
||||
/// <summary>2 Channels, 512-sample MSADPCM encoded data. Requires Extension: AL_EXT_MSADPCM</summary>
|
||||
StereoMsadpcm512Ext = 0x130B,
|
||||
/// <summary>2 Channels, MSADPCM encoded data. Requires Extension: AL_SOFT_MSADPCM</summary>
|
||||
StereoMsadpcmSoft = 0x1303,
|
||||
|
||||
/// <summary>1 Channel, single-precision floating-point data. Requires Extension: AL_EXT_float32</summary>
|
||||
MonoFloat32Ext = 0x10010,
|
||||
|
|
Loading…
Reference in a new issue