comparison src/audio/SDL_audio.c @ 4722:faa228f7ce5b

- Cleaned up a bunch of code - Added 'feature' enable/disable so we're not running accel/sound/whatever in Java when we don't need to be - More work on the sound system. But it still crashes pretty horribly, not sure why yet.
author Paul Hunkin <paul@bieh.net>
date Tue, 27 Jul 2010 21:21:24 +0200
parents 79aa6c61f33b
children 1f7ad083fd3c
comparison
equal deleted inserted replaced
4721:7bb9d3a3f257 4722:faa228f7ce5b
318 SDL_free(stream->buffer); 318 SDL_free(stream->buffer);
319 } 319 }
320 } 320 }
321 321
322 322
323 #include <android/log.h>
324
323 /* The general mixing thread function */ 325 /* The general mixing thread function */
324 int SDLCALL 326 int SDLCALL
325 SDL_RunAudio(void *devicep) 327 SDL_RunAudio(void *devicep)
326 { 328 {
327 SDL_AudioDevice *device = (SDL_AudioDevice *) devicep; 329 SDL_AudioDevice *device = (SDL_AudioDevice *) devicep;