mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-23 09:59:54 +00:00
9ebb96ca72
* Add win32_ordinal_test to test suite * Add examples targets * Add sndfile-regtest target * Improve compatibility with MSVC * Check direct.h header * Add define to enable math constants * Don't use CTest if tests are disabled * Make packaging configurable * Suppress annoying MSVC warnings * Add ENABLE_BOW_DOCS option * Add ENABLE_STATIC_RUNTIME option * Add package config support * Tune large files support messages * Don't build tests when static libs disabled * Use VS solution folders feature * Fix option value set twice * Rename sndfile target to sndfile-shared * Mark M_LIBRARY variable as advanced * Fix config packages installation directory * Rename ENABLE_PACKAGING option for clarity * CPack fixes * Add CMake modules to Makefile.am * Update documentation Closes: https://github.com/erikd/libsndfile/issues/71
77 lines
2.0 KiB
Plaintext
77 lines
2.0 KiB
Plaintext
This is libsndfile, 1.0.28
|
|
|
|
libsndfile is a library of C routines for reading and writing
|
|
files containing sampled audio data.
|
|
|
|
The src/ directory contains the source code for library itself.
|
|
|
|
The doc/ directory contains the libsndfile documentation.
|
|
|
|
The examples/ directory contains examples of how to write code using
|
|
libsndfile.
|
|
|
|
The tests/ directory contains programs which link against libsndfile
|
|
and test its functionality.
|
|
|
|
The src/GSM610 directory contains code written by Jutta Degener and Carsten
|
|
Bormann. Their original code can be found at :
|
|
http://kbs.cs.tu-berlin.de/~jutta/toast.html
|
|
|
|
The src/G72x directory contains code written and released by Sun Microsystems
|
|
under a suitably free license.
|
|
|
|
The src/ALAC directory contains code written and released by Apple Inc and
|
|
released under the Apache license.
|
|
|
|
|
|
LINUX
|
|
-----
|
|
Whereever possible, you should use the packages supplied by your Linux
|
|
distribution.
|
|
|
|
If you really do need to compile from source it should be as easy as:
|
|
|
|
./configure
|
|
make
|
|
make install
|
|
|
|
Since libsndfile optionally links against libFLAC, libogg and libvorbis, you
|
|
will need to install appropriate versions of these libraries before running
|
|
configure as above.
|
|
|
|
You can use CMake now to build under Linux, also under Windows and MacOS, see
|
|
README.md for details. CMake toolchain is usable, but still exterimental.
|
|
|
|
|
|
UNIX
|
|
----
|
|
Compile as for Linux.
|
|
|
|
|
|
Win32/Win64
|
|
-----------
|
|
|
|
Official Windows binaries are compiled with Autotools and MinGW, but you can use
|
|
CMake to generate solution for Visual Studio. Details are described in
|
|
README.md.
|
|
|
|
It is still recommended to use the libsndfile binaries available on the
|
|
libsndfile web site.
|
|
|
|
MacOSX
|
|
------
|
|
Building on MacOSX should be the same as building it on any other Unix.
|
|
|
|
|
|
CONTACTS
|
|
--------
|
|
|
|
libsndfile was written by Erik de Castro Lopo (erikd AT mega-nerd DOT com).
|
|
The libsndfile home page is at :
|
|
|
|
http://www.mega-nerd.com/libsndfile/
|
|
|
|
Bugs and support questions can be raised at :
|
|
|
|
https://github.com/erikd/libsndfile/
|