Mercurial > sdl-ios-xcode
comparison src/audio/dart/SDL_dart.h @ 1895:c121d94672cb
SDL 1.2 is moving to a branch, and SDL 1.3 is becoming the head.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Mon, 10 Jul 2006 21:04:37 +0000 |
parents | d910939febfa |
children | 5f6550e5184f cef5d927591f |
comparison
equal
deleted
inserted
replaced
1894:c69cee13dd76 | 1895:c121d94672cb |
---|---|
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: */ |