Index of values


C
channels [Sndfile]
Sndfile.channels f returns the channel count for the file f.
close [Sndfile]
Sndfile.close f closes the file f.
compare [Sndfile]
The comparison function for Sndfile.t, with the same specification as Pervasives.compare.

E
error [Sndfile]
Sndfile.error f returns non-zero if an error has occured.

F
format [Sndfile]
Sndfile.format ma mi constructs a file_format_t for use with sf_open for the supplied major format ma, minor format mi.
format_e [Sndfile]
Sndfile.format ma mi constructs a file_format_t for use with sf_open for the supplied major format ma, minor format mi and endianness e.
frames [Sndfile]
Sndfile.frames f returns the number of frames in the file f.

O
openfile [Sndfile]
Sndfile.openfile fn () opens the file specified by the filename fn for read.

R
read [Sndfile]
Sndfile.read f a read data from the file f into the supplied array a and return the number of float values read.

S
samplerate [Sndfile]
Sndfile.samplerate f returns the sample rate of the file f.
seek [Sndfile]
Sndfile.seek f pos m seeks to posiont pos of file f using the specified seek mode m.
strerror [Sndfile]
Sndfile.strerror f return a string a string describing the cause of the error on the file f.

W
write [Sndfile]
Sndfile.write f a write data from the supplied array a to the file f and return the number of float values read.