diff options
-rw-r--r-- | Alc/ALc.c | 2 | ||||
-rw-r--r-- | examples/alffplay.c | 2 | ||||
-rw-r--r-- | include/AL/alext.h | 7 |
3 files changed, 9 insertions, 2 deletions
@@ -716,7 +716,7 @@ static const ALchar alExtList[] = "AL_LOKI_quadriphonic AL_SOFT_block_alignment AL_SOFT_buffer_samples " "AL_SOFT_buffer_sub_data AL_SOFT_deferred_updates AL_SOFT_direct_channels " "AL_SOFT_loop_points AL_SOFT_MSADPCM AL_SOFT_source_latency " - "AL_SOFTX_source_length"; + "AL_SOFT_source_length"; static volatile ALCenum LastNullDeviceError = ALC_NO_ERROR; diff --git a/examples/alffplay.c b/examples/alffplay.c index 762582c4..04df6a83 100644 --- a/examples/alffplay.c +++ b/examples/alffplay.c @@ -1336,7 +1336,7 @@ int main(int argc, char *argv[]) return 1; } - if(!alIsExtensionPresent("AL_SOFTX_source_length")) /* FIXME */ + if(!alIsExtensionPresent("AL_SOFT_source_length")) { fprintf(stderr, "Required AL_SOFT_source_length not supported - exiting\n"); return 1; diff --git a/include/AL/alext.h b/include/AL/alext.h index e647d7be..25e59e11 100644 --- a/include/AL/alext.h +++ b/include/AL/alext.h @@ -376,6 +376,13 @@ AL_API ALvoid AL_APIENTRY alProcessUpdatesSOFT(void); #define AL_FORMAT_STEREO_MSADPCM_SOFT 0x1303 #endif +#ifndef AL_SOFT_source_length +#define AL_SOFT_source_length 1 +/*#define AL_BYTE_LENGTH_SOFT 0x2009*/ +/*#define AL_SAMPLE_LENGTH_SOFT 0x200A*/ +/*#define AL_SEC_LENGTH_SOFT 0x200B*/ +#endif + #ifdef __cplusplus } #endif |