comparison src/audio/bsd/SDL_bsdaudio.h @ 3820:1f156fd874fa SDL-ryan-multiple-audio-device

Moved more audio drivers to 1.3 API (all 5 MiNT backends, BSD, IRIX...), and some other tweaks in already-converted drivers.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 07 Oct 2006 05:36:36 +0000
parents c121d94672cb
children 99210400e8b9
comparison
equal deleted inserted replaced
3819:b225d9820ee3 3820:1f156fd874fa
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h" 22 #include "SDL_config.h"
23 23
24 #ifndef _SDL_openbsdaudio_h 24 #ifndef _SDL_bsdaudio_h
25 #define _SDL_openbsdaudio_h 25 #define _SDL_bsdaudio_h
26 26
27 #include "../SDL_sysaudio.h" 27 #include "../SDL_sysaudio.h"
28 28
29 #define _THIS SDL_AudioDevice *this 29 #define _THIS SDL_AudioDevice *this
30 30
45 float next_frame; 45 float next_frame;
46 }; 46 };
47 47
48 #define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */ 48 #define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
49 49
50 /* Old variable names */ 50 #endif /* _SDL_bsdaudio_h */
51 #define audio_fd (this->hidden->audio_fd)
52 #define parent (this->hidden->parent)
53 #define mixbuf (this->hidden->mixbuf)
54 #define mixlen (this->hidden->mixlen)
55 #define frame_ticks (this->hidden->frame_ticks)
56 #define next_frame (this->hidden->next_frame)
57 51
58 #endif /* _SDL_openbsdaudio_h */
59 /* vi: set ts=4 sw=4 expandtab: */ 52 /* vi: set ts=4 sw=4 expandtab: */