Mercurial > sdl-ios-xcode
comparison src/audio/bsd/SDL_bsdaudio.h @ 1662:782fd950bd46 SDL-1.3
Revamp of the video system in progress - adding support for multiple displays, multiple windows, and a full video mode selection API.
WARNING: None of the video drivers have been updated for the new API yet! The API is still under design and very fluid.
The code is now run through a consistent indent format:
indent -i4 -nut -nsc -br -ce
The headers are being converted to automatically generate doxygen documentation.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 28 May 2006 13:04:16 +0000 |
parents | 12b6d331d82a |
children | 5f6550e5184f |
comparison
equal
deleted
inserted
replaced
1661:281d3f4870e5 | 1662:782fd950bd46 |
---|---|
36 /* The parent process id, to detect when application quits */ | 36 /* The parent process id, to detect when application quits */ |
37 pid_t parent; | 37 pid_t parent; |
38 | 38 |
39 /* Raw mixing buffer */ | 39 /* Raw mixing buffer */ |
40 Uint8 *mixbuf; | 40 Uint8 *mixbuf; |
41 int mixlen; | 41 int mixlen; |
42 | 42 |
43 /* Support for audio timing using a timer, in addition to select() */ | 43 /* Support for audio timing using a timer, in addition to select() */ |
44 float frame_ticks; | 44 float frame_ticks; |
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 /* Old variable names */ |
51 #define audio_fd (this->hidden->audio_fd) | 51 #define audio_fd (this->hidden->audio_fd) |
52 #define parent (this->hidden->parent) | 52 #define parent (this->hidden->parent) |
53 #define mixbuf (this->hidden->mixbuf) | 53 #define mixbuf (this->hidden->mixbuf) |
54 #define mixlen (this->hidden->mixlen) | 54 #define mixlen (this->hidden->mixlen) |
55 #define frame_ticks (this->hidden->frame_ticks) | 55 #define frame_ticks (this->hidden->frame_ticks) |
56 #define next_frame (this->hidden->next_frame) | 56 #define next_frame (this->hidden->next_frame) |
57 | 57 |
58 #endif /* _SDL_openbsdaudio_h */ | 58 #endif /* _SDL_openbsdaudio_h */ |
59 /* vi: set ts=4 sw=4 expandtab: */ |