aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-04-25 18:56:59 -0700
committerChris Robinson <[email protected]>2016-04-25 18:56:59 -0700
commit3556da0d022dca2a65ed7d1fe736855fac728c95 (patch)
treed9d91dd6e7cc50e1e82a555add1c9ad7c679f5dd /Alc
parentb9eacf46414ad5916a5c2c9a342d4d05d8628de4 (diff)
Start AL_SOFT_buffer_samples2 as a replacement for AL_SOFT_buffer_samples
Diffstat (limited to 'Alc')
-rw-r--r--Alc/ALc.c30
1 files changed, 22 insertions, 8 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index d9cf4e69..ae678b19 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -288,6 +288,10 @@ static const ALCfunction alcFunctions[] = {
DECL(alGetSource3i64SOFT),
DECL(alGetSourcei64vSOFT),
+ DECL(alBufferSamplesSOFT),
+ DECL(alGetBufferSamplesSOFT),
+ DECL(alIsBufferFormatSupportedSOFT),
+
{ NULL, NULL }
};
#undef DECL
@@ -452,6 +456,15 @@ static const ALCenums enumeration[] = {
DECL(AL_FORMAT_MONO_ALAW_EXT),
DECL(AL_FORMAT_STEREO_ALAW_EXT),
+ DECL(AL_FORMAT_BFORMAT2D_8),
+ DECL(AL_FORMAT_BFORMAT2D_16),
+ DECL(AL_FORMAT_BFORMAT2D_FLOAT32),
+ DECL(AL_FORMAT_BFORMAT2D_MULAW),
+ DECL(AL_FORMAT_BFORMAT3D_8),
+ DECL(AL_FORMAT_BFORMAT3D_16),
+ DECL(AL_FORMAT_BFORMAT3D_FLOAT32),
+ DECL(AL_FORMAT_BFORMAT3D_MULAW),
+
DECL(AL_MONO8_SOFT),
DECL(AL_MONO16_SOFT),
DECL(AL_MONO32F_SOFT),
@@ -473,14 +486,12 @@ static const ALCenums enumeration[] = {
DECL(AL_7POINT1_8_SOFT),
DECL(AL_7POINT1_16_SOFT),
DECL(AL_7POINT1_32F_SOFT),
- DECL(AL_FORMAT_BFORMAT2D_8),
- DECL(AL_FORMAT_BFORMAT2D_16),
- DECL(AL_FORMAT_BFORMAT2D_FLOAT32),
- DECL(AL_FORMAT_BFORMAT2D_MULAW),
- DECL(AL_FORMAT_BFORMAT3D_8),
- DECL(AL_FORMAT_BFORMAT3D_16),
- DECL(AL_FORMAT_BFORMAT3D_FLOAT32),
- DECL(AL_FORMAT_BFORMAT3D_MULAW),
+ DECL(AL_BFORMAT2D_8_SOFT),
+ DECL(AL_BFORMAT2D_16_SOFT),
+ DECL(AL_BFORMAT2D_32F_SOFT),
+ DECL(AL_BFORMAT3D_8_SOFT),
+ DECL(AL_BFORMAT3D_16_SOFT),
+ DECL(AL_BFORMAT3D_32F_SOFT),
DECL(AL_MONO_SOFT),
DECL(AL_STEREO_SOFT),
@@ -489,6 +500,8 @@ static const ALCenums enumeration[] = {
DECL(AL_5POINT1_SOFT),
DECL(AL_6POINT1_SOFT),
DECL(AL_7POINT1_SOFT),
+ DECL(AL_BFORMAT2D_SOFT),
+ DECL(AL_BFORMAT3D_SOFT),
DECL(AL_BYTE_SOFT),
DECL(AL_UNSIGNED_BYTE_SOFT),
@@ -500,6 +513,7 @@ static const ALCenums enumeration[] = {
DECL(AL_DOUBLE_SOFT),
DECL(AL_BYTE3_SOFT),
DECL(AL_UNSIGNED_BYTE3_SOFT),
+ DECL(AL_MULAW_SOFT),
DECL(AL_FREQUENCY),
DECL(AL_BITS),