mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-19 19:33:41 +00:00
Refactor : shuffle moar macros into mockingboard.c
This commit is contained in:
parent
7fed713279
commit
ec4ff3de10
@ -26,12 +26,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
* Author: Copyright (c) 2002-2006, Tom Charlesworth
|
* Author: Copyright (c) 2002-2006, Tom Charlesworth
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define DSBCAPS_GETCURRENTPOSITION2 0x00010000
|
|
||||||
#define DSBCAPS_STICKYFOCUS 0x00004000
|
|
||||||
#define DSBCAPS_LOCSOFTWARE 0x00000008
|
#define DSBCAPS_LOCSOFTWARE 0x00000008
|
||||||
#define DSBCAPS_CTRLVOLUME 0x00000080
|
#define DSBCAPS_CTRLVOLUME 0x00000080
|
||||||
#define DSBCAPS_CTRLPOSITIONNOTIFY 0x00000100
|
#define DSBCAPS_CTRLPOSITIONNOTIFY 0x00000100
|
||||||
|
|
||||||
|
#define DSBVOLUME_MIN -10000
|
||||||
|
#define DSBVOLUME_MAX 0
|
||||||
|
|
||||||
|
|
||||||
// Linux port by Aaron Culliney, 2013
|
// Linux port by Aaron Culliney, 2013
|
||||||
|
|
||||||
|
@ -23,12 +23,6 @@
|
|||||||
#include <AL/alext.h>
|
#include <AL/alext.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#undef DSBVOLUME_MIN
|
|
||||||
#define DSBVOLUME_MIN 0
|
|
||||||
|
|
||||||
#undef DSBVOLUME_MAX
|
|
||||||
#define DSBVOLUME_MAX 100
|
|
||||||
|
|
||||||
typedef struct IDirectSoundBuffer ALSoundBufferStruct;
|
typedef struct IDirectSoundBuffer ALSoundBufferStruct;
|
||||||
|
|
||||||
struct ALPlayBuf;
|
struct ALPlayBuf;
|
||||||
|
@ -52,10 +52,6 @@ typedef struct IDirectSoundBuffer {
|
|||||||
|
|
||||||
} IDirectSoundBuffer, *LPDIRECTSOUNDBUFFER, **LPLPDIRECTSOUNDBUFFER;
|
} IDirectSoundBuffer, *LPDIRECTSOUNDBUFFER, **LPLPDIRECTSOUNDBUFFER;
|
||||||
|
|
||||||
#define DSBPLAY_LOOPING 0x00000001
|
|
||||||
#define DSBVOLUME_MIN -10000
|
|
||||||
#define DSBVOLUME_MAX 0
|
|
||||||
|
|
||||||
typedef struct AudioParams_s {
|
typedef struct AudioParams_s {
|
||||||
uint16_t nChannels;
|
uint16_t nChannels;
|
||||||
unsigned long nSamplesPerSec;
|
unsigned long nSamplesPerSec;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user