comparison src/audio/dmedia/SDL_irixaudio.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 866052b01ee5
comparison
equal deleted inserted replaced
2048:6067c7f9a672 2049:5f6550e5184f
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_lowaudio_h 24 #ifndef _SDL_irixaudio_h
25 #define _SDL_lowaudio_h 25 #define _SDL_irixaudio_h
26 26
27 #include <dmedia/audio.h> 27 #include <dmedia/audio.h>
28 28
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 { 35 {
36 /* The handle for the audio device */ 36 ALport audio_port; /* The handle for the audio device */
37 ALport audio_port; 37 Uint8 *mixbuf; /* The app mixing buffer */
38
39 Uint8 *mixbuf; /* The app mixing buffer */
40 }; 38 };
41 39
42 /* Old variable names */ 40 #endif /* _SDL_irixaudio_h */
43 #define audio_port (this->hidden->audio_port)
44 #define mixbuf (this->hidden->mixbuf)
45 41
46 #endif /* _SDL_lowaudio_h */
47 /* vi: set ts=4 sw=4 expandtab: */ 42 /* vi: set ts=4 sw=4 expandtab: */