comparison src/audio/macrom/SDL_romaudio.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 8225ef1f4dee
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
30 #define USE_RYANS_SOUNDCODE 30 #define USE_RYANS_SOUNDCODE
31 31
32 /* Hidden "this" pointer for the video functions */ 32 /* Hidden "this" pointer for the video functions */
33 #define _THIS SDL_AudioDevice *this 33 #define _THIS SDL_AudioDevice *this
34 34
35 struct SDL_PrivateAudioData { 35 struct SDL_PrivateAudioData
36 /* Sound manager audio channel */ 36 {
37 SndChannelPtr channel; 37 /* Sound manager audio channel */
38 SndChannelPtr channel;
38 #if defined(TARGET_API_MAC_CARBON) || defined(USE_RYANS_SOUNDCODE) 39 #if defined(TARGET_API_MAC_CARBON) || defined(USE_RYANS_SOUNDCODE)
39 /* FIXME: Add Ryan's static data here */ 40 /* FIXME: Add Ryan's static data here */
40 #else 41 #else
41 /* Double buffering variables */ 42 /* Double buffering variables */
42 SndDoubleBufferPtr audio_buf[2]; 43 SndDoubleBufferPtr audio_buf[2];
43 #endif 44 #endif
44 }; 45 };
45 46
46 /* Old variable names */ 47 /* Old variable names */
47 #define channel (this->hidden->channel) 48 #define channel (this->hidden->channel)
48 #define audio_buf (this->hidden->audio_buf) 49 #define audio_buf (this->hidden->audio_buf)
49 50
50 #endif /* _SDL_romaudio_h */ 51 #endif /* _SDL_romaudio_h */
52 /* vi: set ts=4 sw=4 expandtab: */