comparison src/audio/arts/SDL_artsaudio.h @ 2049:5f6550e5184f

Merged SDL-ryan-multiple-audio-device branch r2803:2871 into the trunk.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 17 Oct 2006 09:15:21 +0000
parents c121d94672cb
children 99210400e8b9
comparison
equal deleted inserted replaced
2048:6067c7f9a672 2049:5f6550e5184f
26 26
27 #include <artsc.h> 27 #include <artsc.h>
28 28
29 #include "../SDL_sysaudio.h" 29 #include "../SDL_sysaudio.h"
30 30
31 /* Hidden "this" pointer for the video functions */ 31 /* Hidden "this" pointer for the audio functions */
32 #define _THIS SDL_AudioDevice *this 32 #define _THIS SDL_AudioDevice *this
33 33
34 struct SDL_PrivateAudioData 34 struct SDL_PrivateAudioData
35 { 35 {
36 /* The stream descriptor for the audio device */ 36 /* The stream descriptor for the audio device */
47 float frame_ticks; 47 float frame_ticks;
48 float next_frame; 48 float next_frame;
49 }; 49 };
50 #define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */ 50 #define FUDGE_TICKS 10 /* The scheduler overhead ticks per frame */
51 51
52 /* Old variable names */
53 #define stream (this->hidden->stream)
54 #define parent (this->hidden->parent)
55 #define mixbuf (this->hidden->mixbuf)
56 #define mixlen (this->hidden->mixlen)
57 #define frame_ticks (this->hidden->frame_ticks)
58 #define next_frame (this->hidden->next_frame)
59
60 #endif /* _SDL_artscaudio_h */ 52 #endif /* _SDL_artscaudio_h */
61 /* vi: set ts=4 sw=4 expandtab: */ 53 /* vi: set ts=4 sw=4 expandtab: */