mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Initial commit
added libraries: opus flac libsndfile updated: libvorbis libogg openal - Everything works as expected for now. Bare in mind libsndfile needed the check for whether or not it could find the xiph libraries removed in order for this to work.
This commit is contained in:
parent
05a083ca6f
commit
a745fc3757
1954 changed files with 431332 additions and 21037 deletions
21
Engine/lib/libsndfile/docs/embedded_files.md
Normal file
21
Engine/lib/libsndfile/docs/embedded_files.md
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
layout: page
|
||||
---
|
||||
|
||||
# Embedded Sound Files
|
||||
|
||||
By using the open SNDFILE with a file descriptor function:
|
||||
|
||||
SNDFILE* sf_open_fd (int fd, int mode, SF_INFO *sfinfo, int close_desc) ;
|
||||
|
||||
it is possible to open sound files embedded within larger files. There are
|
||||
however a couple of caveats:
|
||||
|
||||
* Read/Write mode (SFM_RDWR) is not supported.
|
||||
* Writing of embedded files is only supported at the end of the file.
|
||||
* Reading of embedded files is only supported at file offsets greater than zero.
|
||||
* Not all file formats are supported (currently only WAV, AIFF and AU).
|
||||
|
||||
The test program **multi_file_test.c** in the **tests/** directory of the source
|
||||
code tarball shows how this functionality is used to read and write embedded
|
||||
files.
|
||||
Loading…
Add table
Add a link
Reference in a new issue