Mercurial > sdl-ios-xcode
comparison src/audio/dsp/SDL_dspaudio.c @ 97:c7bcdece4845
Revert to old non-blocking writes (if it ain't broke, don't fix it)
author | Sam Lantinga <slouken@lokigames.com> |
---|---|
date | Mon, 09 Jul 2001 15:47:40 +0000 |
parents | 799bea5504e2 |
children | 8e47ebb7bced |
comparison
equal
deleted
inserted
replaced
96:799bea5504e2 | 97:c7bcdece4845 |
---|---|
55 | 55 |
56 /* The tag name used by DSP audio */ | 56 /* The tag name used by DSP audio */ |
57 #define DSP_DRIVER_NAME "dsp" | 57 #define DSP_DRIVER_NAME "dsp" |
58 | 58 |
59 /* Open the audio device for playback, and don't block if busy */ | 59 /* Open the audio device for playback, and don't block if busy */ |
60 #define USE_BLOCKING_WRITES | 60 /*#define USE_BLOCKING_WRITES*/ |
61 #define OPEN_FLAGS (O_WRONLY|O_NONBLOCK) | 61 #define OPEN_FLAGS (O_WRONLY|O_NONBLOCK) |
62 | 62 |
63 /* Audio driver functions */ | 63 /* Audio driver functions */ |
64 static int DSP_OpenAudio(_THIS, SDL_AudioSpec *spec); | 64 static int DSP_OpenAudio(_THIS, SDL_AudioSpec *spec); |
65 static void DSP_WaitAudio(_THIS); | 65 static void DSP_WaitAudio(_THIS); |