Corrected modplug and monkeyaudio to build with non-gcc compilers.

Original commit message from CVS:
Corrected modplug and monkeyaudio to build with non-gcc compilers.
This commit is contained in:
Brian Cameron 2003-05-22 11:33:15 +00:00
parent 6d19f51c85
commit ec45be3bb6
2 changed files with 7 additions and 4 deletions

View file

@ -75,12 +75,11 @@ enum {
ARG_STREAMINFO
};
GST_PAD_TEMPLATE_FACTORY (modplug_src_template_factory,
"src",
GST_PAD_SRC,
GST_PAD_ALWAYS,
GST_CAPS_NEW ( /* use16bit = TRUE */
GST_CAPS_NEW (
"modplug_src",
"audio/raw",
"format", GST_PROPS_STRING ("int"),
@ -92,7 +91,7 @@ GST_PAD_TEMPLATE_FACTORY (modplug_src_template_factory,
"rate", GST_PROPS_INT_RANGE (11025, 44100),
"channels", GST_PROPS_INT_RANGE (1, 2)
),
GST_CAPS_NEW ( /* use16bit = FALSE */
GST_CAPS_NEW (
"modplug_src",
"audio/raw",
"format", GST_PROPS_STRING ("int"),

View file

@ -16,6 +16,10 @@
typedef const BYTE * LPCBYTE;
#endif
#ifndef __inline
#define __inline
#endif
#define MOD_AMIGAC2 0x1AB
#define MAX_SAMPLE_LENGTH 16000000
#define MAX_SAMPLE_RATE 50000
@ -509,7 +513,7 @@ enum {
MIDIOUT_VOLUME,
MIDIOUT_PAN,
MIDIOUT_BANKSEL,
MIDIOUT_PROGRAM,
MIDIOUT_PROGRAM
};