Ignore:
Timestamp:
Apr 29, 2011, 1:15:05 AM (10 years ago)
Author:
Sam Hocevar
Message:

sdlport: make SDL_mixer mandatory. I'm not going to maintain legacy code
that cannot even play music.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/sdlport/sound.h

    r534 r551  
    1212#define __SOUND_H__
    1313
    14 #ifdef USE_SDL_MIXER
    15 #   include <SDL/SDL_mixer.h>
    16 #endif
     14#include <SDL/SDL_mixer.h>
    1715
    1816/* options are passed via command line */
     
    3432private:
    3533    void *data;
    36 #ifdef USE_SDL_MIXER
    3734    Mix_Chunk* chunk;
    38 #endif
    3935    int size;
    4036};
     
    5551    unsigned char *data;
    5652    unsigned long song_id;
    57 #ifdef USE_SDL_MIXER
    5853    Mix_Music* music;
    5954    SDL_RWops* rw;
    60 #endif
    6155};
    6256
Note: See TracChangeset for help on using the changeset viewer.