Commit Graph

10 Commits

Author SHA1 Message Date
Arthur Taylor
d1c87ec1c7 mpeg: Disable experimental writing MPEG subformats in WAV 2021-10-22 23:57:30 -07:00
Arthur Taylor
f401000fd0 Skip format_check_test for asymmetric MPEG Layer I/II
libmpg123 supports decoding MPEG Layers I, II, and III, but we only have
encode support for Layer III. Skip checks for I and II as they don't
have write support.
2021-03-25 10:26:15 -07:00
Arthur Taylor
326e4533f3 Opus file support
Ogg: Introduce new functions ogg_sync_fseek(), ogg_ftell(), ogg_next_page(),
ogg_stream_next_page(), ogg_sync_last_page_before(), and
ogg_stream_unpack_page(). Use ogg_sync_* for ogg_read_first_page(). Bump libogg
version requirement from 1.1.3 to 1.3.0 as LibOgg 1.3.0 is required for
ogg_stream_pageout_fill() and ogg_stream_flush_fill().

Opus: Add opus support. Document added commands
SFC_(GET|SET)_ORIGINAL_SAMPLERATE. Added or extended tests ogg_opus_test,
compression_size_test, floating_point_test, lossy_comp_test, string_test,
external_libs_test. Change Opus to non-experimental.
2019-02-20 19:30:30 +11:00
Erik de Castro Lopo
b506de463d Fix MSAN errors
Fix multiple errors uncovered by Clang's Memory Sanitizer.

Closes: https://github.com/erikd/libsndfile/issues/248
2017-05-04 18:42:24 +10:00
evpobr
58737ceb48 tests: Fixes for MSVC
* src/test_main.c: Fix undeclared off_t type with MSVC
* tests/misc_test.c: Fix undefined S_ISCHR & S_ISBLK with MSVC
* tests/stdin_test.c: Fix undefined STDIN_FILENO with MSVC
* tests/win32_ordinal_test.c: Fix undeclared getcwd() with MSVC
* Fix missing unistd.h under Win32

Related: https://github.com/erikd/libsndfile/issues/154
2017-04-14 13:03:27 +10:00
Erik de Castro Lopo
a121ba7963 tests/format_check_test.c : Fix compiler warnings. 2011-07-05 19:37:09 +10:00
Erik de Castro Lopo
58780bc2d4 tests/format_check_test.c : Add a test to for SF_FINFO format field validation. 2011-07-04 19:36:59 +10:00
Erik de Castro Lopo
837e348993 tests/format_check_test.c : Fix segfault. 2011-05-01 02:42:30 +10:00
Erik de Castro Lopo
4d13639134 tests/format_check_test.c : Fix '==' where there should have been a '='. 2011-04-29 06:37:20 +10:00
Erik de Castro Lopo
f27916e62a tests/format_check_test.c : New test program. 2011-04-25 20:05:45 +10:00