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