From 9c22203ab6b1f6f61ec4b7c52a7c9c51da9e5844 Mon Sep 17 00:00:00 2001 From: relnev Date: Wed, 8 Jan 2003 07:32:05 +0000 Subject: rename the alut functions so we can fix the filenames (and since the functions are in cvs but WAVFile is not exactly the same). sad hacks for o/ifstream filenames... git-svn-id: svn://svn.icculus.org/blackshades/trunk@43 5198baeb-e213-0410-be47-fc2ff85ca46f --- Source/Support.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Source/Support.cpp') diff --git a/Source/Support.cpp b/Source/Support.cpp index 75288df..16c6876 100644 --- a/Source/Support.cpp +++ b/Source/Support.cpp @@ -124,7 +124,10 @@ void Files::EndLoad() } -void alutLoadWAVFile(char *filename, ALenum *format, void **wave, +/* + Our own special magic version that fixes the filename. + */ +void alutLoadWAVFile_CFH(char *filename, ALenum *format, void **wave, unsigned int *size, ALsizei *freq) { char filename1[256]; @@ -140,7 +143,7 @@ void alutLoadWAVFile(char *filename, ALenum *format, void **wave, *freq = freq1; } -void alutUnloadWAV(ALenum format, void *wave, unsigned int size, +void alutUnloadWAV_CFH(ALenum format, void *wave, unsigned int size, ALsizei freq) { free(wave); -- cgit v1.2.3