Subversion Repositories eduke32

Rev

Rev 6161 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6161 Rev 7138
Line 320... Line 320...
320
EXPORT extern const char *xmp_version;
320
EXPORT extern const char *xmp_version;
321
EXPORT extern const unsigned int xmp_vercode;
321
EXPORT extern const unsigned int xmp_vercode;
322
322
323
EXPORT xmp_context xmp_create_context  (void);
323
EXPORT xmp_context xmp_create_context  (void);
324
EXPORT void        xmp_free_context    (xmp_context);
324
EXPORT void        xmp_free_context    (xmp_context);
-
 
325
#ifdef EDUKE32_DISABLED
325
EXPORT int         xmp_test_module     (char *, struct xmp_test_info *);
326
EXPORT int         xmp_test_module     (char *, struct xmp_test_info *);
326
EXPORT int         xmp_load_module     (xmp_context, char *);
327
EXPORT int         xmp_load_module     (xmp_context, char *);
-
 
328
#endif
327
EXPORT void        xmp_scan_module     (xmp_context);
329
EXPORT void        xmp_scan_module     (xmp_context);
328
EXPORT void        xmp_release_module  (xmp_context);
330
EXPORT void        xmp_release_module  (xmp_context);
329
EXPORT int         xmp_start_player    (xmp_context, int, int);
331
EXPORT int         xmp_start_player    (xmp_context, int, int);
330
EXPORT int         xmp_play_frame      (xmp_context);
332
EXPORT int         xmp_play_frame      (xmp_context);
331
EXPORT int         xmp_play_buffer     (xmp_context, void *, int, int);
333
EXPORT int         xmp_play_buffer     (xmp_context, void *, int, int);
Line 344... Line 346...
344
EXPORT int         xmp_channel_vol     (xmp_context, int, int);
346
EXPORT int         xmp_channel_vol     (xmp_context, int, int);
345
EXPORT int         xmp_set_player      (xmp_context, int, int);
347
EXPORT int         xmp_set_player      (xmp_context, int, int);
346
EXPORT int         xmp_get_player      (xmp_context, int);
348
EXPORT int         xmp_get_player      (xmp_context, int);
347
EXPORT int         xmp_set_instrument_path (xmp_context, char *);
349
EXPORT int         xmp_set_instrument_path (xmp_context, char *);
348
EXPORT int         xmp_load_module_from_memory (xmp_context, void *, long);
350
EXPORT int         xmp_load_module_from_memory (xmp_context, void *, long);
-
 
351
#ifdef EDUKE32_DISABLED
349
EXPORT int         xmp_load_module_from_file (xmp_context, void *, long);
352
EXPORT int         xmp_load_module_from_file (xmp_context, void *, long);
-
 
353
#endif
350
354
351
/* External sample mixer API */
355
/* External sample mixer API */
352
EXPORT int         xmp_start_smix       (xmp_context, int, int);
356
EXPORT int         xmp_start_smix       (xmp_context, int, int);
353
EXPORT void        xmp_end_smix         (xmp_context);
357
EXPORT void        xmp_end_smix         (xmp_context);
354
EXPORT int         xmp_smix_play_instrument(xmp_context, int, int, int, int);
358
EXPORT int         xmp_smix_play_instrument(xmp_context, int, int, int, int);
355
EXPORT int         xmp_smix_play_sample (xmp_context, int, int, int, int);
359
EXPORT int         xmp_smix_play_sample (xmp_context, int, int, int, int);
356
EXPORT int         xmp_smix_channel_pan (xmp_context, int, int);
360
EXPORT int         xmp_smix_channel_pan (xmp_context, int, int);
-
 
361
#ifdef EDUKE32_DISABLED
357
EXPORT int         xmp_smix_load_sample (xmp_context, int, char *);
362
EXPORT int         xmp_smix_load_sample (xmp_context, int, char *);
-
 
363
#endif
358
EXPORT int         xmp_smix_release_sample (xmp_context, int);
364
EXPORT int         xmp_smix_release_sample (xmp_context, int);
359
365
360
#ifdef __cplusplus
366
#ifdef __cplusplus
361
}
367
}
362
#endif
368
#endif