diff options
author | Chris Robinson <[email protected]> | 2010-09-21 09:43:35 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2010-09-21 09:43:35 -0700 |
commit | 2d4453968d67af5cfee81c09adcc7b1ac6bd03f6 (patch) | |
tree | 1fb67bd30f2b630d10c397707e863c76f9292082 /Alc | |
parent | a2580a85a82bdfdd25f71e17fe233ec5beaac2e0 (diff) |
Implement AL_SOFT_buffer_sub_data using the current AL_EXT_buffer_sub_data spec
This extension can be useful for some applications, but a full EXT version may
not be ready for some time. Using the SOFT moniker will help differentiate it
in case changes need to be done for the EXT version.
Diffstat (limited to 'Alc')
-rw-r--r-- | Alc/ALc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -236,6 +236,8 @@ static const ALCfunction alcFunctions[] = { { "alBufferSubDataEXT", (ALCvoid *) alBufferSubDataEXT }, + { "alBufferSubDataSOFT", (ALCvoid *) alBufferSubDataSOFT }, + { "alGenDatabuffersEXT", (ALCvoid *) alGenDatabuffersEXT }, { "alDeleteDatabuffersEXT", (ALCvoid *) alDeleteDatabuffersEXT }, { "alIsDatabufferEXT", (ALCvoid *) alIsDatabufferEXT }, @@ -360,7 +362,7 @@ static const ALchar alExtList[] = "AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXTX_loop_points " "AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET " "AL_EXTX_sample_buffer_object AL_EXT_source_distance_model " - "AL_LOKI_quadriphonic"; + "AL_LOKI_quadriphonic AL_SOFT_buffer_sub_data"; // Mixing Priority Level static ALint RTPrioLevel; |