Skip to content

Commit

Permalink
>>>> When i compile it on Mac OSX SDL_mixers internal MikMod version
Browse files Browse the repository at this point in the history
>>>> produces no sound output.

Ryan, I think it has something to do with some interesting code in virtch2.c
;-)

#if defined(macintosh) || defined(__APPLE__)
#define NO_64BIT_MIXER
#endif
[... snip ...]

#ifdef NO_64BIT_MIXER
                                /* Uh oh, the 64-bit mixers don't compile...
*/;
#else

The latter essentially translates to "produce no output if the song is long
enough", where 'long enough' is a few milliseconds at 22.5KHz.
We should see how later versions of MikMod handled 64bit ints on Apple
compilers.

-Alex.
  • Loading branch information
slouken committed May 1, 2006
1 parent 96cc208 commit fed9d76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mikmod/virtch2.c
Expand Up @@ -44,7 +44,7 @@

#include "mikmod_internals.h"

#if defined(macintosh) || defined(__APPLE__)
#ifdef macintosh
#define NO_64BIT_MIXER
#endif
/*
Expand Down

0 comments on commit fed9d76

Please sign in to comment.