You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 line
881B

  1. #ifndef SNDLIB2XEN_H
  2. #define SNDLIB2XEN_H
  3. #include "xen.h"
  4. /* error indications */
  5. #define NO_SUCH_CHANNEL Xen_make_error_type("no-such-channel")
  6. #define NO_SUCH_FILE Xen_make_error_type("no-such-file")
  7. #define BAD_TYPE Xen_make_error_type("bad-type")
  8. #define NO_DATA Xen_make_error_type("no-data")
  9. #define BAD_HEADER Xen_make_error_type("bad-header")
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. MUS_EXPORT void mus_sndlib_xen_initialize (void);
  14. MUS_EXPORT Xen g_mus_sound_srate(Xen filename); /* snd-snd.c */
  15. MUS_EXPORT Xen g_mus_sound_chans(Xen filename); /* snd-snd.c */
  16. MUS_EXPORT Xen g_mus_sound_framples(Xen filename); /* snd-chn.c */
  17. MUS_EXPORT Xen g_mus_expand_filename(Xen file); /* snd-snd.c */
  18. MUS_EXPORT Xen g_mus_sound_maxamp(Xen file); /* snd-chn.c */
  19. MUS_EXPORT Xen g_mus_sound_path(void);
  20. #ifdef __cplusplus
  21. }
  22. #endif
  23. #endif