comparison SDL_sound.c @ 20:d4ac6ce1360e

Added WAV entries.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 19 Sep 2001 08:30:14 +0000
parents cc2c32349380
children ddc3614c9042
comparison
equal deleted inserted replaced
19:734e5d75acec 20:d4ac6ce1360e
46 46
47 #if (defined SOUND_SUPPORTS_MP3) 47 #if (defined SOUND_SUPPORTS_MP3)
48 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MP3; 48 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_MP3;
49 #endif 49 #endif
50 50
51 #if (defined SOUND_SUPPORTS_WAV)
52 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_WAV;
53 #endif
54
51 #if (defined SOUND_SUPPORTS_VOC) 55 #if (defined SOUND_SUPPORTS_VOC)
52 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_VOC; 56 extern const Sound_DecoderFunctions __Sound_DecoderFunctions_VOC;
53 #endif 57 #endif
54 58
55 #if (defined SOUND_SUPPORTS_RAW) 59 #if (defined SOUND_SUPPORTS_RAW)
58 62
59 static const Sound_DecoderFunctions *decoderFuncs[] = 63 static const Sound_DecoderFunctions *decoderFuncs[] =
60 { 64 {
61 #if (defined SOUND_SUPPORTS_MP3) 65 #if (defined SOUND_SUPPORTS_MP3)
62 &__Sound_DecoderFunctions_MP3, 66 &__Sound_DecoderFunctions_MP3,
67 #endif
68
69 #if (defined SOUND_SUPPORTS_WAV)
70 &__Sound_DecoderFunctions_WAV,
63 #endif 71 #endif
64 72
65 #if (defined SOUND_SUPPORTS_VOC) 73 #if (defined SOUND_SUPPORTS_VOC)
66 &__Sound_DecoderFunctions_VOC, 74 &__Sound_DecoderFunctions_VOC,
67 #endif 75 #endif