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

sdlport: use SDL_Mixer to read samples, and get rid of imlib's readwav.

File:
1 edited

Legend:

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

    r551 r552  
    2626{
    2727public:
    28     sound_effect(char *filename);
    29     void play(int volume = 127, int pitch = 128, int panpot = 128);
     28    sound_effect(char const *filename);
    3029    ~sound_effect();
    3130
     31    void play(int volume = 127, int pitch = 128, int panpot = 128);
     32
    3233private:
    33     void *data;
    34     Mix_Chunk* chunk;
    35     int size;
     34    Mix_Chunk* m_chunk;
    3635};
    3736
Note: See TracChangeset for help on using the changeset viewer.