Changeset 555 for abuse/trunk/src/sdlport/sound.h
- Timestamp:
- Apr 29, 2011, 9:18:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
abuse/trunk/src/sdlport/sound.h
r552 r555 5 5 * 6 6 * This software was released into the Public Domain. As with most public 7 * domain software, no warranty is made or implied by Crack dot Com or8 * Jonathan Clark .7 * domain software, no warranty is made or implied by Crack dot Com, by 8 * Jonathan Clark, or by Sam Hocevar. 9 9 */ 10 10 … … 12 12 #define __SOUND_H__ 13 13 14 #include <SDL/SDL_mixer.h> 14 #if !defined __CELLOS_LV2__ 15 # include <SDL/SDL_mixer.h> 16 #endif 15 17 16 18 /* options are passed via command line */ … … 32 34 33 35 private: 36 #if !defined __CELLOS_LV2__ 34 37 Mix_Chunk* m_chunk; 38 #endif 35 39 }; 36 40 … … 38 42 { 39 43 public: 44 #if !defined __CELLOS_LV2__ 40 45 char const *name() { return Name; } 46 #endif 41 47 song(char const *filename); 42 48 void play(unsigned char volume=127); … … 47 53 48 54 private: 55 #if !defined __CELLOS_LV2__ 49 56 char *Name; 50 57 unsigned char *data; … … 52 59 Mix_Music* music; 53 60 SDL_RWops* rw; 61 #endif 54 62 }; 55 63
Note: See TracChangeset
for help on using the changeset viewer.