File: sndlib2xen.h

package info (click to toggle)
snd 19.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 52,736 kB
  • sloc: ansic: 390,251; lisp: 242,546; ruby: 71,383; sh: 3,284; fortran: 2,342; csh: 1,259; cpp: 294; makefile: 287; python: 47
file content (31 lines) | stat: -rw-r--r-- 881 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef SNDLIB2XEN_H
#define SNDLIB2XEN_H

#include "xen.h"

/* error indications */

#define NO_SUCH_CHANNEL Xen_make_error_type("no-such-channel")
#define NO_SUCH_FILE    Xen_make_error_type("no-such-file")
#define BAD_TYPE        Xen_make_error_type("bad-type")
#define NO_DATA         Xen_make_error_type("no-data")
#define BAD_HEADER      Xen_make_error_type("bad-header")

#ifdef __cplusplus
extern "C" {
#endif

MUS_EXPORT void mus_sndlib_xen_initialize (void);
MUS_EXPORT Xen g_mus_sound_srate(Xen filename);    /* snd-snd.c */
MUS_EXPORT Xen g_mus_sound_chans(Xen filename);    /* snd-snd.c */
MUS_EXPORT Xen g_mus_sound_framples(Xen filename); /* snd-chn.c */
MUS_EXPORT Xen g_mus_expand_filename(Xen file);    /* snd-snd.c */
MUS_EXPORT Xen g_mus_sound_maxamp(Xen file);       /* snd-chn.c */

MUS_EXPORT Xen g_mus_sound_path(void);

#ifdef __cplusplus
}
#endif

#endif