comparison src/audio/dmedia/SDL_irixaudio.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 d910939febfa
children 5f6550e5184f 1f156fd874fa
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
29 #include "../SDL_sysaudio.h" 29 #include "../SDL_sysaudio.h"
30 30
31 /* Hidden "this" pointer for the audio 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 /* The handle for the audio device */ 35 {
36 ALport audio_port; 36 /* The handle for the audio device */
37 ALport audio_port;
37 38
38 Uint8 *mixbuf; /* The app mixing buffer */ 39 Uint8 *mixbuf; /* The app mixing buffer */
39 }; 40 };
40 41
41 /* Old variable names */ 42 /* Old variable names */
42 #define audio_port (this->hidden->audio_port) 43 #define audio_port (this->hidden->audio_port)
43 #define mixbuf (this->hidden->mixbuf) 44 #define mixbuf (this->hidden->mixbuf)
44 45
45 #endif /* _SDL_lowaudio_h */ 46 #endif /* _SDL_lowaudio_h */
47 /* vi: set ts=4 sw=4 expandtab: */