1 #ifndef CLIB_MPEGA_PROTOS_H 2 #define CLIB_MPEGA_PROTOS_H 3 4 /* 5 mpega.library C prototypes 6 7 Copyright © 2007 The MorphOS Development Team, All Rights Reserved. 8 */ 9 10 #ifndef LIBRARIES_MPEGA_H 11 # include <libraries/mpega.h> 12 #endif 13 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif /* __cplusplus */ 18 19 MPEGA_STREAM *MPEGA_open(char *stream_name, MPEGA_CTRL *ctrl); 20 void MPEGA_close(MPEGA_STREAM *mpds); 21 LONG MPEGA_decode_frame(MPEGA_STREAM *mpds, WORD *pcm[MPEGA_MAX_CHANNELS]); 22 LONG MPEGA_seek(MPEGA_STREAM *mpds, ULONG ms_time_position); 23 LONG MPEGA_time(MPEGA_STREAM *mpds, ULONG *ms_time_position); 24 LONG MPEGA_find_sync(BYTE *buffer, LONG buffer_size); 25 LONG MPEGA_scale(MPEGA_STREAM *mpds, LONG scale_percent); 26 27 #ifdef __cplusplus 28 } 29 #endif /* __cplusplus */ 30 31 32 #endif /* CLIB_MPEGA_PROTOS_H */