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