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