File: sndfile.h

package info (click to toggle)
cdrkit 9:1.1.11-3
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 7,464 kB
  • sloc: ansic: 107,182; perl: 968; sh: 481; makefile: 229; sed: 4
file content (36 lines) | stat: -rw-r--r-- 980 bytes parent folder | download | duplicates (5)
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
32
33
34
35
36
/*
 * This file has been modified for the cdrkit suite.
 *
 * The behaviour and appearence of the program code below can differ to a major
 * extent from the version distributed by the original author(s).
 *
 * For details, see Changelog file distributed with the cdrkit package. If you
 * received this file from another source then ask the distributing person for
 * a log of modifications.
 *
 */

/* @(#)sndfile.h	1.4 06/02/19 Copyright 1998,1999 Heiko Eissfeldt, Copyright 2006 J. Schilling */

/*
 * generic soundfile structure
 */

#ifndef	_SNDFILE_H
#define	_SNDFILE_H

#include <utypes.h>

struct soundfile {
	int	(* InitSound)(int audio, long channels, Ulong rate,
							  long nBitsPerSample,
							  Ulong expected_bytes);
	int	(* ExitSound)(int audio, Ulong nBytesDone);
	Ulong	(* GetHdrSize)(void);
	int	(* WriteSound)(int audio, unsigned char *buf, Ulong BytesToDo);
	Ulong	(* InSizeToOutSize)(Ulong BytesToDo);

	int	need_big_endian;
};

#endif	/* _SNDFILE_H */