Changeset 680 for trunk/src/audio.cpp
- Timestamp:
- Feb 21, 2011, 6:11:36 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/audio.cpp
r254 r680 15 15 #include <cmath> 16 16 17 #include <SDL_mixer.h> 17 #if defined USE_SDL 18 # include <SDL.h> 19 # include <SDL_mixer.h> 20 #endif 18 21 19 22 #include "core.h" … … 25 28 void Audio::Setup(int channels) 26 29 { 30 #if defined USE_SDL 27 31 Mix_OpenAudio(22050, AUDIO_S16, channels, 1024); 32 #endif 28 33 } 29 34
Note: See TracChangeset
for help on using the changeset viewer.