X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2Fopenal_wrapper.cpp;h=dc40cac65796a124d03992cac470316abd47733c;hb=c95576958a42b797cda09eb8935db8fd96783e52;hp=379b5b2db920dd559259e000c239725fb279e44c;hpb=4c4a1d8553d39d23be8edaf689d91dd788032467;p=lugaru.git diff --git a/Source/openal_wrapper.cpp b/Source/openal_wrapper.cpp index 379b5b2..dc40cac 100644 --- a/Source/openal_wrapper.cpp +++ b/Source/openal_wrapper.cpp @@ -313,6 +313,7 @@ static void *decode_to_pcm(const char *_fname, ALenum &format, ALsizei &size, AL ALubyte *retval = NULL; + #if 0 // untested, so disable this! // Can we just feed it to the AL compressed? if (alIsExtensionPresent((const ALubyte *) "AL_EXT_vorbis")) { @@ -331,6 +332,7 @@ static void *decode_to_pcm(const char *_fname, ALenum &format, ALsizei &size, AL } return retval; } + #endif // Uncompress and feed to the AL. OggVorbis_File vf;