File: sndfileio.h

package info (click to toggle)
audacity 0.98-3
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,896 kB
  • ctags: 4,089
  • sloc: cpp: 26,099; ansic: 4,961; sh: 2,465; makefile: 156; perl: 23
file content (16 lines) | stat: -rw-r--r-- 464 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* sndfileio.h -- defines system-independent file IO */

#define SND_SEEK_CUR    1
#define SND_SEEK_END    2
#define SND_SEEK_SET    0

#define SND_RDONLY 0
#define SND_RDWR   2

int snd_file_open(char *fname, int mode);
int snd_file_creat(char *fname);
int snd_file_lseek(int file, long offset, int param);
long snd_file_read(int fp, char *data, long len);
long snd_file_write(int fp, char *data, long len);
int snd_file_close(int fp);
long snd_file_len(int fp);