File: sndwrite.h

package info (click to toggle)
nyquist 3.12%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 58,036 kB
  • sloc: ansic: 74,355; lisp: 20,485; java: 9,390; cpp: 6,695; sh: 207; xml: 58; makefile: 39
file content (12 lines) | stat: -rw-r--r-- 624 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
/* sndwrite.h -- header to write sounds to files */

double sound_save(LVAL snd_expr, long n,
          unsigned char *filename, long format,
          long mode, long bits, long swap, double *sr, long *nchans,
          double *duration, LVAL play);
/* LISP: (SND-SAVE ANY FIXNUM STRING FIXNUM FIXNUM FIXNUM FIXNUM ANYNUM^ FIXNUM^ ANYNUM^ ANY) */

double sound_overwrite(LVAL snd_expr, long n,
               unsigned char *filename, double offset_secs, long format,
               long mode, long bits, long swap, double *duration);
/* LISP: (SND-OVERWRITE ANY FIXNUM STRING ANYNUM FIXNUM FIXNUM FIXNUM FIXNUM ANYNUM^) */