mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
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:
parent
6d19f51c85
commit
ec45be3bb6
2 changed files with 7 additions and 4 deletions
|
@ -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"),
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue