Erik de Castro Lopo
72b1c13feb
Purge un-needed file src/ALAC/alac_encoder.h.
2013-02-09 10:38:25 +11:00
Erik de Castro Lopo
13106fab14
ALAC : Fall back to compiler's __BYTE_ORDER__ for endian-ness detection.
2013-02-08 19:56:16 +11:00
Erik de Castro Lopo
1ad2dec20c
examples/sfprocess.c : Add missing #include.
2013-02-08 06:44:26 +11:00
Ulrich Klauer
23c926d633
Properly initialize SF_INFO in example programs
...
Some of the example programs (examples/generate.c,
examples/sfprocess.c, examples/sndfile-to-text.c) didn't initialize
the SF_INFO structure to zero before using it, leading to undefined
behaviour. Add a memset() to fix this.
Signed-off-by: Erik de Castro Lopo <erikd@mega-nerd.com>
2013-02-07 18:13:53 +11:00
Erik de Castro Lopo
c5984c16d2
src/alac.c : Fix valgrind invalid realloc.
2013-02-06 22:07:53 +11:00
Erik de Castro Lopo
e092a9f885
Drop tests for and CPP hackery for C99 struct flexible array feature.
2013-02-06 18:48:36 +11:00
Erik de Castro Lopo
66c5d9490c
configure.ac : Use PKG_INSTALLDIR when it exists.
2013-02-05 19:44:05 +11:00
Erik de Castro Lopo
862b00cc40
src/alac.c : The 'pakt' chunk header should now be written correctly.
2013-02-05 19:07:08 +11:00
Erik de Castro Lopo
3bf4533c96
src/alac.c : Start work on filling on the 'pakt' chunk header.
2013-02-03 21:49:28 +11:00
Erik de Castro Lopo
8424962395
src/sfendian.h : Add functions psf_put_be64() and psf_put_be32().
2013-02-03 21:45:24 +11:00
Erik de Castro Lopo
20f29c6806
Read the ALAC 'pakt' header and stash the values.
2013-02-03 09:43:07 +11:00
Erik de Castro Lopo
a1b8c7e3dc
Add Scripts/linux-to-win-cross-configure.sh.
2013-02-03 09:30:18 +11:00
Erik de Castro Lopo
2104987247
src/alac.c : Increase ALAC_BYTE_BUFFER_SIZE to 82000.
...
This seems to work for 8 channel files (max allowed by ALAC spec)
of white noise.
Closes : https://github.com/erikd/libsndfile/issues/10
2013-02-02 22:41:14 +11:00
Erik de Castro Lopo
d01d0508f9
doc/FAQ.html : Add missing opening <P> tag.
2013-02-02 22:37:09 +11:00
Erik de Castro Lopo
d460feb50b
doc/FAQ.html : Improve question #8 .
2013-01-22 17:28:06 +11:00
Erik de Castro Lopo
32b5544584
Add skeleton src/ogg_opus.c.
2013-01-02 18:00:50 +11:00
Ulrich Klauer
70e3d002c4
doc/FAQ.html : Remove HTML tag fragment.
2012-12-17 21:13:46 +11:00
Erik de Castro Lopo
e0be0ed962
Fix for compiling when configured with --enable-experimental.
2012-12-12 20:34:31 +11:00
Erik de Castro Lopo
b699e58000
src/common.h : Remove cruft.
2012-12-12 20:34:26 +11:00
Erik de Castro Lopo
0cebed8572
configure.ac : Version 1.0.26pre4.
2012-12-01 12:38:40 +11:00
Erik de Castro Lopo
49017a1b08
programs/sndfile-play.c : Better error message on OSX_DARWIN_VERSION > 11.
2012-12-01 12:20:04 +11:00
Erik de Castro Lopo
04bb40710a
sndfile-play.c : Use OSX_DARWIN_VERSION to customize for different versions.
...
sndfile-play currently does not work for OSX_DARWIN_VERSION >= 12.
2012-11-30 22:38:00 +11:00
Erik de Castro Lopo
c976070ba4
configure.ac : Detect OSX_DARWIN_VERSION.
2012-11-30 22:35:29 +11:00
Erik de Castro Lopo
d2cf8eeea5
autogen.sh : Remove cruft.
2012-11-30 22:09:38 +11:00
Erik de Castro Lopo
1a6293bdc7
Octave/ : Fix 'make distcheck'.
2012-11-30 21:44:02 +11:00
Thomas Thiriez
5ff2328935
Fixed the ulaw and alaw codecs.
...
float values close to 1 would wrap to -1 when decoded.
2012-11-12 21:06:19 +11:00
Erik de Castro Lopo
42dd9b90ac
configure.ac : Version 1.0.26pre3.
2012-10-13 12:48:38 +11:00
Erik de Castro Lopo
06aa36e6e5
M4/octave.m4 : Relax constraints on Octave version.
2012-10-13 12:48:05 +11:00
Erik de Castro Lopo
1182c4d5dc
Fix compiler warnings.
2012-10-12 00:31:36 +11:00
Erik de Castro Lopo
6040ad6a13
Add test for last commit.
2012-10-11 22:20:03 +11:00
Erik de Castro Lopo
835bd33ed4
src/command.c : Fix bug reading short/int from float files.
2012-10-11 22:18:33 +11:00
Erik de Castro Lopo
1213c343ec
tests/utils.tpl : Improve compare_*_or_die() functions.
2012-10-11 19:38:50 +11:00
Erik de Castro Lopo
94d6ed7d16
Scripts/cstyle.py : Handle empty C++ method bodies.
2012-09-25 21:38:07 +10:00
Erik de Castro Lopo
614f06e1db
src/ogg_vorbis.c : Fix compiler warnings.
2012-09-25 21:37:26 +10:00
Marisa-Chan
d554c5c693
Fix read ogg files by short/int method.
2012-09-25 21:30:00 +10:00
Erik de Castro Lopo
0f67af1a23
src/sndfile.hh : Added a constructor to allow the use of SF_VIRTUAL_IO.
2012-09-25 21:16:34 +10:00
Erik de Castro Lopo
dca9fcde82
autogen.sh : Check for Python.
2012-09-07 01:22:25 +10:00
Erik de Castro Lopo
542b5493db
Minor cleanup.
2012-08-23 22:25:04 +10:00
IOhannes m zmölnig
007fc5d29d
read mat5-files without samplerate header
...
if a mat5-file does not hold a 1x1-matrix at the beginning (the samplerate),
we either use the user-supplied sampelrate (via the SF_INFO struct), or (if
the user did not specify one) fall back to 44100.
the code uses a "goto" statement to skip the reading of the data-matrix
(since the 1st matrix we read already contains the sample-data), in order
to keep code changes at a minimum (and avoid formatting issues)
2012-08-23 22:18:42 +10:00
Erik de Castro Lopo
312c3cd16d
doc/octave.html : Fix link to octave.sourceforge.net.
2012-08-23 20:42:39 +10:00
Erik de Castro Lopo
8680d87044
src/paf.c : Error out if channel count is zero.
2012-08-19 19:51:06 +10:00
Erik de Castro Lopo
65a5067d7a
Patch from Ricci Adams to use OSX's AudioQueues on OSX 10.7 and greater.
2012-08-04 18:00:51 +10:00
Erik de Castro Lopo
8b2b9b0c82
programs/common.c : Accept 'ogg' as a file extention for Ogg/Vorbis files.
2012-07-09 19:41:04 +10:00
Erik de Castro Lopo
da47c11bb5
Make sure any previously allocated FLAC stream encoder and stream decoder
...
objects are deleted before a new one is allocated.
2012-06-22 08:43:09 +10:00
Erik de Castro Lopo
80c47cb240
tests/ : Use the compression_size_test on FLAC as well.
2012-06-20 21:57:28 +10:00
Erik de Castro Lopo
339dea4206
Implement SFC_SET_COMPRESSION_LEVEL command.
2012-06-20 21:52:43 +10:00
Erik de Castro Lopo
9f10d036b7
src/sndfile.c : Implement SFC_SET_VBR_ENCODING_QUALITY as the inverse of SFC_SET_COMPRESSION_LEVEL.
2012-06-20 21:51:35 +10:00
Erik de Castro Lopo
86aee7deba
src/sndfile.h.in : Add SFC_SET_COMPRESSION_LEVEL.
2012-06-20 21:49:14 +10:00
Erik de Castro Lopo
249c9253a7
tests/utils.tpl : Rename gen_lowpass_noise_float() to gen_lowpass_signal_float().
2012-06-20 21:30:07 +10:00
Erik de Castro Lopo
89d310433a
Scripts/git-pre-commit-hook : Handle file renames.
2012-06-19 20:03:47 +10:00