(As discovered in SDL_sound…)
There’s a byte-order screwup in my .voc decoder in SDL_mixer. Attached
patch fixes it.
Probably more to come.
–ryan.
— load_voc.c-virgin Wed Sep 19 15:43:37 2001
+++ load_voc.c Wed Sep 19 15:42:06 2001
@@ -51,7 +51,7 @@
Uint32 blockseek; /* start of current output block /
Uint32 samples; / number of samples output /
Uint32 size; / word length of data */
- int channels; /* number of sound channels */
- Uint8 channels; /* number of sound channels /
int extended; / Has an extended block been read? */
} vs_t;