Chris@0: Chris@0: Chris@0: Chris@0:
Chris@0:Chris@0: By using the open SNDFILE with a file descriptor function: Chris@0:
Chris@0: Chris@0:Chris@0: SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ; Chris@0:Chris@0: Chris@0:
Chris@0: it is possible to open sound files embedded within larger files. Chris@0: There are however a couple of caveats: Chris@0:
Chris@0: Chris@0:
Chris@0: The test program multi_file_test.c in the tests/ directory of the Chris@0: source code tarball shows how this functionality is used to read and write Chris@0: embedded files. Chris@0:
Chris@0: Chris@0: Chris@0: