Check for SYS/GL during library init. Reason is that
[AROS.git] / workbench / devs / diskimage / include / aros / clib / mpega_protos.h
blob6b0d6ec953abb27ba7835af3821bbe8b3663bee5
1 #ifndef CLIB_MPEGA_PROTOS_H
2 #define CLIB_MPEGA_PROTOS_H
4 #ifndef AROS_LIBCALL_H
5 #include <aros/libcall.h>
6 #endif
8 #ifndef LIBRARIES_MPEGA_H
9 #include <libraries/mpega.h>
10 #endif
12 AROS_LP2(MPEGA_STREAM *, MPEGA_open,
13 AROS_LPA(char *, stream_name, A0),
14 AROS_LPA(MPEGA_CTRL *, ctrl, A1),
15 struct Library *, MPEGABase, 5, mpega);
17 AROS_LP1(void, MPEGA_close,
18 AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
19 struct Library *, MPEGABase, 6, mpega);
21 AROS_LP2(LONG, MPEGA_decode_frame,
22 AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
23 AROS_LPA(WORD *, pcm[MPEGA_MAX_CHANNELS], A1),
24 struct Library *, MPEGABase, 7, mpega);
26 AROS_LP2(LONG, MPEGA_seek,
27 AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
28 AROS_LPA(ULONG, ms_time_position, D0),
29 struct Library *, MPEGABase, 8, mpega);
31 AROS_LP2(LONG, MPEGA_time,
32 AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
33 AROS_LPA(ULONG *, ms_time_position, A1),
34 struct Library *, MPEGABase, 9, mpega);
36 AROS_LP2(LONG, MPEGA_find_sync,
37 AROS_LPA(UBYTE *, buffer, A0),
38 AROS_LPA(LONG, buffer_size, D0),
39 struct Library *, MPEGABase, 10, mpega);
41 AROS_LP2(LONG, MPEGA_scale,
42 AROS_LPA(MPEGA_STREAM *, mpega_stream, A0),
43 AROS_LPA(LONG, scale_percent, D0),
44 struct Library *, MPEGABase, 11, mpega);
46 #endif /* CLIB_MPEGA_PROTOS_H */