Refactor : shuffle moar macros into mockingboard.c

This commit is contained in:
Aaron Culliney 2015-06-13 13:51:56 -07:00
parent 7fed713279
commit ec4ff3de10
3 changed files with 3 additions and 12 deletions

View File

@ -26,12 +26,13 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Author: Copyright (c) 2002-2006, Tom Charlesworth
*/
#define DSBCAPS_GETCURRENTPOSITION2 0x00010000
#define DSBCAPS_STICKYFOCUS 0x00004000
#define DSBCAPS_LOCSOFTWARE 0x00000008
#define DSBCAPS_CTRLVOLUME 0x00000080
#define DSBCAPS_CTRLPOSITIONNOTIFY 0x00000100
#define DSBVOLUME_MIN -10000
#define DSBVOLUME_MAX 0
// Linux port by Aaron Culliney, 2013

View File

@ -23,12 +23,6 @@
#include <AL/alext.h>
#endif
#undef DSBVOLUME_MIN
#define DSBVOLUME_MIN 0
#undef DSBVOLUME_MAX
#define DSBVOLUME_MAX 100
typedef struct IDirectSoundBuffer ALSoundBufferStruct;
struct ALPlayBuf;

View File

@ -52,10 +52,6 @@ typedef struct IDirectSoundBuffer {
} IDirectSoundBuffer, *LPDIRECTSOUNDBUFFER, **LPLPDIRECTSOUNDBUFFER;
#define DSBPLAY_LOOPING 0x00000001
#define DSBVOLUME_MIN -10000
#define DSBVOLUME_MAX 0
typedef struct AudioParams_s {
uint16_t nChannels;
unsigned long nSamplesPerSec;