mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-25 07:43:54 +02:00
Move library tree where it belongs
This commit is contained in:
20
lib-src/libnyquist/nyquist/nyqsrc/sndread.h
Normal file
20
lib-src/libnyquist/nyquist/nyqsrc/sndread.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/* fileio.h -- Nyquist code to read sound files */
|
||||
|
||||
/* for multiple channel files, one susp is shared by all sounds */
|
||||
/* the susp in turn must point back to all sound list tails */
|
||||
|
||||
typedef struct read_susp_struct {
|
||||
snd_susp_node susp;
|
||||
SNDFILE *sndfile;
|
||||
SF_INFO sf_info;
|
||||
snd_list_type *chan; /* array of back pointers */
|
||||
long cnt; /* how many sample frames to read */
|
||||
} read_susp_node, *read_susp_type;
|
||||
|
||||
|
||||
LVAL snd_make_read(unsigned char *filename, time_type offset, time_type t0,
|
||||
long *format, long *channels, long *mode, long *bits, long *swap,
|
||||
double *srate, double *dur, long *flags, long *byte_offset);
|
||||
/* LISP: (SND-READ STRING ANYNUM ANYNUM FIXNUM* FIXNUM* FIXNUM* FIXNUM* FIXNUM* ANYNUM* ANYNUM* FIXNUM^ FIXNUM^) */
|
||||
|
||||
void read_free();
|
||||
Reference in New Issue
Block a user