comparison src/audio/dart/SDL_dart.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 cef5d927591f
comparison
equal deleted inserted replaced
1661:281d3f4870e5 1662:782fd950bd46
32 32
33 #define INCL_OS2MM 33 #define INCL_OS2MM
34 #define INCL_MMIOOS2 34 #define INCL_MMIOOS2
35 #define INCL_MCIOS2 35 #define INCL_MCIOS2
36 #include <os2.h> 36 #include <os2.h>
37 #include <os2me.h> // DART stuff and MMIO stuff 37 #include <os2me.h> // DART stuff and MMIO stuff
38 38
39 #include "../SDL_sysaudio.h" 39 #include "../SDL_sysaudio.h"
40 40
41 /* Hidden "this" pointer for the audio functions */ 41 /* Hidden "this" pointer for the audio functions */
42 #define _THIS SDL_AudioDevice *_this 42 #define _THIS SDL_AudioDevice *_this
43 43
44 /* The DirectSound objects */ 44 /* The DirectSound objects */
45 struct SDL_PrivateAudioData 45 struct SDL_PrivateAudioData
46 { 46 {
47 int iCurrDeviceOrd; 47 int iCurrDeviceOrd;
48 int iCurrFreq; 48 int iCurrFreq;
49 int iCurrBits; 49 int iCurrBits;
50 int iCurrChannels; 50 int iCurrChannels;
51 int iCurrNumBufs; 51 int iCurrNumBufs;
52 int iCurrBufSize; 52 int iCurrBufSize;
53 53
54 int iLastPlayedBuf; 54 int iLastPlayedBuf;
55 int iNextFreeBuffer; 55 int iNextFreeBuffer;
56 56
57 MCI_BUFFER_PARMS BufferParms; // Sound buffer parameters 57 MCI_BUFFER_PARMS BufferParms; // Sound buffer parameters
58 MCI_MIX_BUFFER *pMixBuffers; // Sound buffers 58 MCI_MIX_BUFFER *pMixBuffers; // Sound buffers
59 MCI_MIXSETUP_PARMS MixSetupParms; // Mixer setup parameters 59 MCI_MIXSETUP_PARMS MixSetupParms; // Mixer setup parameters
60 HEV hevAudioBufferPlayed; // Event semaphore to indicate that an audio buffer has been played by DART 60 HEV hevAudioBufferPlayed; // Event semaphore to indicate that an audio buffer has been played by DART
61 }; 61 };
62 62
63 #endif /* _SDL_lowaudio_h */ 63 #endif /* _SDL_lowaudio_h */
64 /* vi: set ts=4 sw=4 expandtab: */