cannam@125
|
1 2013-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2
|
cannam@125
|
3 * Makefile.am
|
cannam@125
|
4 Make sure checkprograms are built as part of 'make test-tarball'.
|
cannam@125
|
5 Closes: https://github.com/erikd/libsndfile/issues/37
|
cannam@125
|
6
|
cannam@125
|
7 2013-03-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8
|
cannam@125
|
9 * tests/dft_cmp.c
|
cannam@125
|
10 Fix a buffer overflow detected using GCC 4.8's -fsantiize=address runtime
|
cannam@125
|
11 error checking functionality. This was a buffer overflow in libsndfile's
|
cannam@125
|
12 test suite, not in the actual library code.
|
cannam@125
|
13
|
cannam@125
|
14 2013-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
15
|
cannam@125
|
16 * M4/gcc_version.m4
|
cannam@125
|
17 Fix to work with OpenBSD's sed.
|
cannam@125
|
18
|
cannam@125
|
19 2013-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
20
|
cannam@125
|
21 * src/ALAC/alac_encoder.c
|
cannam@125
|
22 Patch from Michael Pruett (author of libaudiofile) to add correct byte
|
cannam@125
|
23 swapping for the mChannelLayoutTag field.
|
cannam@125
|
24
|
cannam@125
|
25 2013-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
26
|
cannam@125
|
27 * doc/bugs.html
|
cannam@125
|
28 Bugs should bt reported on the github issue tracker.
|
cannam@125
|
29
|
cannam@125
|
30 2013-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
31
|
cannam@125
|
32 * configure.ac
|
cannam@125
|
33 Improve sanitization of FLAC_CFLAGS value.
|
cannam@125
|
34
|
cannam@125
|
35 2013-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
36
|
cannam@125
|
37 * src/Makefile.am
|
cannam@125
|
38 Call python interpreter instead of using '#!' in script. Thanks to Jan
|
cannam@125
|
39 Stary for reporting this.
|
cannam@125
|
40
|
cannam@125
|
41 * doc/index.html doc/FAQ.html
|
cannam@125
|
42 Make internal links relative. Patch from Jan Stary.
|
cannam@125
|
43
|
cannam@125
|
44 2013-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
45
|
cannam@125
|
46 * src/test_endswap.def src/test_endswap.tpl
|
cannam@125
|
47 Add tests for psf_put_be32() and psf_put_be64().
|
cannam@125
|
48
|
cannam@125
|
49 * src/sfendian.h src/test_endswap.(def|tpl)
|
cannam@125
|
50 Add functions psf_get_be(16|32|64) with tests.
|
cannam@125
|
51 These are needed for platforms where un-aligned accesses cause bus faults.
|
cannam@125
|
52
|
cannam@125
|
53 * src/ALAC/ag_enc.c src/ALAC/alac_decoder.c
|
cannam@125
|
54 Replace all un-aligned accesses with safe alternatives.
|
cannam@125
|
55 Closes: https://github.com/erikd/libsndfile/issues/19
|
cannam@125
|
56
|
cannam@125
|
57 2013-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
58
|
cannam@125
|
59 * src/sfendian.h
|
cannam@125
|
60 Add big endian versions of H2BE_16 and H2BE_32.
|
cannam@125
|
61
|
cannam@125
|
62 2013-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
63
|
cannam@125
|
64 * src/ALAC/
|
cannam@125
|
65 Replace Apple endswap routines with ones from libsndfile.
|
cannam@125
|
66
|
cannam@125
|
67 * merge from libsndfile-cart repo
|
cannam@125
|
68 Add ability to set and get a cart chunk with WAV and RF64.
|
cannam@125
|
69 Orignal patch by Chris Roberts <c.roberts@csrfm.com> required a number of
|
cannam@125
|
70 tweaks.
|
cannam@125
|
71
|
cannam@125
|
72 2013-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
73
|
cannam@125
|
74 * src/common.h
|
cannam@125
|
75 Bump SF_HEADER_LEN from 8192 to 12292, the value it was in the 1.0.25
|
cannam@125
|
76 release.
|
cannam@125
|
77
|
cannam@125
|
78 2013-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
79
|
cannam@125
|
80 * src/alac.c
|
cannam@125
|
81 Fix segfault when encoding 8 channel files.
|
cannam@125
|
82 Closes: https://github.com/erikd/libsndfile/issues/30
|
cannam@125
|
83
|
cannam@125
|
84 2013-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
85
|
cannam@125
|
86 * src/ALAC/EndianPortable.c
|
cannam@125
|
87 Fall back to compiler's __BYTE_ORDER__ for endian-ness detection.
|
cannam@125
|
88
|
cannam@125
|
89 2013-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
90
|
cannam@125
|
91 * configure.ac src/common.h src/ima_adpcm.c src/ms_adpcm.c src/paf.c
|
cannam@125
|
92 Drop tests for and #ifdef hackery for C99 struct flexible array feature.
|
cannam@125
|
93 libsndfile assumes the compiler supports most of the ISO C99 standard.
|
cannam@125
|
94
|
cannam@125
|
95 * src/alac.c
|
cannam@125
|
96 Fix valgrind invalid realloc. Reported by nu774.
|
cannam@125
|
97 Closes: https://github.com/erikd/libsndfile/issues/31
|
cannam@125
|
98
|
cannam@125
|
99 2013-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
100
|
cannam@125
|
101 * src/alac.c
|
cannam@125
|
102 The 'pakt' chunk header should now be written correctly.
|
cannam@125
|
103 Closes: https://github.com/erikd/libsndfile/issues/24
|
cannam@125
|
104
|
cannam@125
|
105 * configure.ac Makefile.am
|
cannam@125
|
106 Use PKG_INSTALLDIR when it exists. Suggestion from Christoph Thompson.
|
cannam@125
|
107 Closes: https://github.com/erikd/libsndfile/pull/28
|
cannam@125
|
108
|
cannam@125
|
109 2013-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
110
|
cannam@125
|
111 * src/common.h src/caf.c
|
cannam@125
|
112 Read the ALAC 'pakt' header and stash the values.
|
cannam@125
|
113
|
cannam@125
|
114 * src/sfendian.h
|
cannam@125
|
115 Add functions psf_put_be64() and psf_put_be32().
|
cannam@125
|
116
|
cannam@125
|
117 * src/alac.c
|
cannam@125
|
118 Start work on filling on the 'pakt' chunk header.
|
cannam@125
|
119
|
cannam@125
|
120 2013-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
121
|
cannam@125
|
122 * doc/FAQ.html
|
cannam@125
|
123 Add missing opening <P> tag.
|
cannam@125
|
124
|
cannam@125
|
125 * src/alac.c
|
cannam@125
|
126 Increase ALAC_BYTE_BUFFER_SIZE to 82000.
|
cannam@125
|
127
|
cannam@125
|
128 2013-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
129
|
cannam@125
|
130 * doc/FAQ.html
|
cannam@125
|
131 Improve question #8.
|
cannam@125
|
132
|
cannam@125
|
133 2013-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
134
|
cannam@125
|
135 * src/ogg_opus.c
|
cannam@125
|
136 Add skeleton implementation so someone else can run with it.
|
cannam@125
|
137
|
cannam@125
|
138 2012-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
139
|
cannam@125
|
140 * src/common.h src/dwd.c src/rx2.c src/txw.c
|
cannam@125
|
141 Fix for compiling when configured with --enable-experimental. Thanks to
|
cannam@125
|
142 Eric Wong for reporting this.
|
cannam@125
|
143
|
cannam@125
|
144 2012-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
145
|
cannam@125
|
146 * configure.ac programs/sndfile-play.c
|
cannam@125
|
147 OS X 10.8 uses a different audio API to previous versions.
|
cannam@125
|
148 Fix compile failure on by disabling sndfile-play on this version.
|
cannam@125
|
149 Someone needs to supply code for the new API.
|
cannam@125
|
150
|
cannam@125
|
151 2012-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
152
|
cannam@125
|
153 * Octave/Makefile.am Octave/octave_test.sh
|
cannam@125
|
154 Fix 'make distcheck'.
|
cannam@125
|
155
|
cannam@125
|
156 2012-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
157
|
cannam@125
|
158 * M4/octave.m4
|
cannam@125
|
159 Relax constraints on Octave version.
|
cannam@125
|
160
|
cannam@125
|
161 2012-10-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
162
|
cannam@125
|
163 * tests/utils.tpl
|
cannam@125
|
164 Improve compare_*_or_die() functions.
|
cannam@125
|
165
|
cannam@125
|
166 * src/command.c
|
cannam@125
|
167 Fix bug reported by Keiler Florian. When reading short or int data from a
|
cannam@125
|
168 file containing float data, and setting SFC_SET_SCALE_FLOAT_INT_READ to
|
cannam@125
|
169 SF_TRUE would fail 3, 5, 7 and other channels counts. Problem was that
|
cannam@125
|
170 psf_calc_signal_max() was not calculating the signal max correctly.
|
cannam@125
|
171 Calculation of the signal max was failing because it was trying to read
|
cannam@125
|
172 a sample count that was not an integer multiple of the channel count.
|
cannam@125
|
173
|
cannam@125
|
174 * tests/channel_test.c tests/Makefile.am tests/test_wrapper.sh.in
|
cannam@125
|
175 Add test for the above.
|
cannam@125
|
176
|
cannam@125
|
177 2012-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
178
|
cannam@125
|
179 * src/sndfile.hh
|
cannam@125
|
180 Added a constructor to allow the use of SF_VIRTUAL_IO. Patch from
|
cannam@125
|
181 DannyDaemonic : https://github.com/erikd/libsndfile/pull/20
|
cannam@125
|
182
|
cannam@125
|
183 2012-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
184
|
cannam@125
|
185 * doc/octave.html
|
cannam@125
|
186 Fix link to octave.sourceforge.net. Thanks to IOhannes m zmoelnig.
|
cannam@125
|
187
|
cannam@125
|
188 * src/mat5.c
|
cannam@125
|
189 Allow reading of mat5 files without a specified sample rate (default to
|
cannam@125
|
190 44.1kHz). Thanks to IOhannes m zmoelnig.
|
cannam@125
|
191
|
cannam@125
|
192 2012-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
193
|
cannam@125
|
194 * src/paf.c
|
cannam@125
|
195 Error out if channel count is zero. Bug report from William ELla via
|
cannam@125
|
196 launchpad:
|
cannam@125
|
197 https://bugs.launchpad.net/ubuntu/+source/libsndfile/+bug/1036831
|
cannam@125
|
198
|
cannam@125
|
199 2012-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
200
|
cannam@125
|
201 * configure.ac programs/sndfile-play.c
|
cannam@125
|
202 Patch from Ricci Adams to use OSX's AudioQueues on OSX 10.7 and greater.
|
cannam@125
|
203
|
cannam@125
|
204 2012-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
205
|
cannam@125
|
206 * programs/common.c
|
cannam@125
|
207 Accept "ogg" as a file extention for Ogg/Vorbis files.
|
cannam@125
|
208
|
cannam@125
|
209 2012-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
210
|
cannam@125
|
211 * src/flac.c
|
cannam@125
|
212 Make sure any previously allocated FLAC stream encoder and stream decoder
|
cannam@125
|
213 objects are deleted before a new one is allocated.
|
cannam@125
|
214
|
cannam@125
|
215 2012-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
216
|
cannam@125
|
217 * tests/utils.tpl
|
cannam@125
|
218 Rename gen_lowpass_noise_float() to gen_lowpass_signal_float() and add a
|
cannam@125
|
219 sine wave component so that different FLAC compression levels can be
|
cannam@125
|
220 tested.
|
cannam@125
|
221
|
cannam@125
|
222 * src/sndfile.h.in doc/command.html
|
cannam@125
|
223 Add SFC_SET_COMPRESSION_LEVEL and document it.
|
cannam@125
|
224
|
cannam@125
|
225 * src/sndfile.c
|
cannam@125
|
226 Catch SFC_SET_VBR_ENCODING_QUALITY command and implement it as the inverse
|
cannam@125
|
227 of SFC_SET_COMPRESSION_LEVEL.
|
cannam@125
|
228
|
cannam@125
|
229 * src/ogg_vorbis.c src/flac.c
|
cannam@125
|
230 Implement SFC_SET_COMPRESSION_LEVEL command.
|
cannam@125
|
231
|
cannam@125
|
232 * tests/test_wrapper.sh.in tests/compression_size_test.c
|
cannam@125
|
233 Use the compression_size_test on FLAC as well.
|
cannam@125
|
234
|
cannam@125
|
235 2012-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
236
|
cannam@125
|
237 * tests/
|
cannam@125
|
238 Rename vorbis_test.c -> compression_size_test.c so it can be extended to
|
cannam@125
|
239 test FLAC as well.
|
cannam@125
|
240
|
cannam@125
|
241 2012-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
242
|
cannam@125
|
243 * src/broadcast.c
|
cannam@125
|
244 Fix a bug where a file with a 'bext' chunk with a zero length coding
|
cannam@125
|
245 history field would get corrupted when the file was closed.
|
cannam@125
|
246 Reported by Paul Davis of the Ardour project.
|
cannam@125
|
247
|
cannam@125
|
248 * src/test_broadcast_var.c
|
cannam@125
|
249 Add a test for the above.
|
cannam@125
|
250
|
cannam@125
|
251 2012-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
252
|
cannam@125
|
253 * src/sndfile.c
|
cannam@125
|
254 sf_format_check: For SF_FORMAT_AIFF, reject endian-ness setttings for
|
cannam@125
|
255 non-PCM formats.
|
cannam@125
|
256
|
cannam@125
|
257 2012-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
258
|
cannam@125
|
259 * src/aiff.c
|
cannam@125
|
260 Fix regression in handling of odd length SSND chunks.
|
cannam@125
|
261 Thanks Olivier Tristan for the example file.
|
cannam@125
|
262
|
cannam@125
|
263 * src/aiff.c src/wav.c
|
cannam@125
|
264 Exit parser loop when marker == 0.
|
cannam@125
|
265
|
cannam@125
|
266 2012-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
267
|
cannam@125
|
268 * doc/FAQ.html
|
cannam@125
|
269 Fix text. Thanks to Richard Collins.
|
cannam@125
|
270
|
cannam@125
|
271 2012-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
272
|
cannam@125
|
273 * src/caf.c
|
cannam@125
|
274 Exit parse loop if the marker is zero. Pass jump offsets as size_t instead
|
cannam@125
|
275 of int.
|
cannam@125
|
276
|
cannam@125
|
277 2012-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
278
|
cannam@125
|
279 * src/alac.c
|
cannam@125
|
280 Fix segfault when decoding CAF/ALAC file with more than 4 channels.
|
cannam@125
|
281 Fixes github issue #8 reported by Charles Van Winkle.
|
cannam@125
|
282
|
cannam@125
|
283 2012-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
284
|
cannam@125
|
285 * src/common.h
|
cannam@125
|
286 Change 'typedef SF_CHUNK_ITERATOR { ... } SF_CHUNK_ITERATOR' into 'struct
|
cannam@125
|
287 SF_CHUNK_ITERATOR { ... }' to prevent older compilers from complaining of
|
cannam@125
|
288 re-typedef-ing of SF_CHUNK_ITERATOR.
|
cannam@125
|
289
|
cannam@125
|
290 * configure.ac
|
cannam@125
|
291 Fix if test for empty $prefix.
|
cannam@125
|
292
|
cannam@125
|
293 2012-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
294
|
cannam@125
|
295 * src/*.c tests/chunk_test.c
|
cannam@125
|
296 Reworking of custom chunk handling code.
|
cannam@125
|
297 - Memory for the iterator is now attached to the SF_PRIVATE struct and
|
cannam@125
|
298 freed one sf_close().
|
cannam@125
|
299 - Rename sf_create_chunk_iterator() -> sf_get_chunk_iterator().
|
cannam@125
|
300 - Each SNDFILE handle never has more than one SF_CHUNK_ITERATOR handle.
|
cannam@125
|
301
|
cannam@125
|
302 * tests/string_test.c
|
cannam@125
|
303 Fix un-initialised char buffer.
|
cannam@125
|
304
|
cannam@125
|
305 2012-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
306
|
cannam@125
|
307 * src/*.c tests/chunk_test.c
|
cannam@125
|
308 Add improved handling of custom chunk getting and settings. Set of patches
|
cannam@125
|
309 from IOhannes m zmoelnig submitted via github pull request #6.
|
cannam@125
|
310
|
cannam@125
|
311 * src/alac.c
|
cannam@125
|
312 Fix calculated frame count for files with zero block length.
|
cannam@125
|
313
|
cannam@125
|
314 2012-03-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
315
|
cannam@125
|
316 * src/avr.c
|
cannam@125
|
317 Remove double assignment to psf->endian. Thanks Kao Dome.
|
cannam@125
|
318
|
cannam@125
|
319 * src/gsm610.c
|
cannam@125
|
320 Fix clearing of buffers. Thanks Kao Dome.
|
cannam@125
|
321
|
cannam@125
|
322 * src/paf.c
|
cannam@125
|
323 Remove duplicate code. Thanks Kao Dome.
|
cannam@125
|
324
|
cannam@125
|
325 * src/test_strncpy_crlf.c
|
cannam@125
|
326 Fix minor error in test. Thanks Kao Dome.
|
cannam@125
|
327
|
cannam@125
|
328 * src/common.h src/*.c
|
cannam@125
|
329 Fix a bunch of valgrind errors.
|
cannam@125
|
330
|
cannam@125
|
331 2012-03-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
332
|
cannam@125
|
333 * src/sndfile.c
|
cannam@125
|
334 Fix typo in error string 'Uknown' -> 'Unknown'.
|
cannam@125
|
335
|
cannam@125
|
336 * tests/fix_this.c
|
cannam@125
|
337 Fix potential int overflow.
|
cannam@125
|
338
|
cannam@125
|
339 2012-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
340
|
cannam@125
|
341 * src/alac.c
|
cannam@125
|
342 Fix decoding of last block so that the decode length is not a multiple of
|
cannam@125
|
343 the block length. Fixes github issue #4 reported by Charles Van Winkle.
|
cannam@125
|
344
|
cannam@125
|
345 * src/sfconfig.h src/sfendian.h
|
cannam@125
|
346 Fix for MinGW cross compiling. Use '#if (defined __*66__)' instead of
|
cannam@125
|
347 '#if __*86__' because the MinGW header use '#ifdef __x86_64__'.
|
cannam@125
|
348
|
cannam@125
|
349 2012-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
350
|
cannam@125
|
351 * src/ALAC/ src/alac.c
|
cannam@125
|
352 Unify the interface between libsndfile and Apple ALAC codec. Regardless of
|
cannam@125
|
353 file bit width samples are now passed between the two as int32_t that are
|
cannam@125
|
354 justified towards the most significant bit. Without this modification, 16
|
cannam@125
|
355 conversion functions would have been needed between the libsndfile (short,
|
cannam@125
|
356 int, float, double) types and the ALAC types (16, 20, 24 and 32 bit). With
|
cannam@125
|
357 this mod, only 4 are needed.
|
cannam@125
|
358
|
cannam@125
|
359 * tests/floating_point_test.tpl tests/write_read_test.(def|tpl)
|
cannam@125
|
360 Add tests for 20 and 24 bit ALAC/CAF files.
|
cannam@125
|
361
|
cannam@125
|
362 * src/command.c
|
cannam@125
|
363 Add ALAC/CAF to the SFC_GET_FORMAT_* commands. Fixes github issue #5.
|
cannam@125
|
364
|
cannam@125
|
365 * configure.ac
|
cannam@125
|
366 Only use automake AM_SLIENT_RULES where supported. Thanks Dave Yeo.
|
cannam@125
|
367
|
cannam@125
|
368 * tests/pipe_test.tpl
|
cannam@125
|
369 Disable tests on OS/2. Thanks Dave Yeo.
|
cannam@125
|
370
|
cannam@125
|
371 2012-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
372
|
cannam@125
|
373 * configure.ac src/sfconfig.h src/sfendian.h
|
cannam@125
|
374 For GCC, use inline assembler for endian swapping. This should work with
|
cannam@125
|
375 older versions of GCC like the one currently used in OS/2.
|
cannam@125
|
376
|
cannam@125
|
377 2012-03-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
378
|
cannam@125
|
379 * src/alac.c
|
cannam@125
|
380 Make sure temp file gets opened in binary mode.
|
cannam@125
|
381
|
cannam@125
|
382 * src/alac.c src/common.c src/common.h
|
cannam@125
|
383 Fix function alac_write16_d().
|
cannam@125
|
384
|
cannam@125
|
385 * tests/floating_point_test.tpl
|
cannam@125
|
386 Add tests for 16 bit ALAC/CAF.
|
cannam@125
|
387
|
cannam@125
|
388 * src/alac.c src/common.c src/common.h
|
cannam@125
|
389 Add support for 32 bit ALAC/CAF files.
|
cannam@125
|
390
|
cannam@125
|
391 * tests/floating_point_test.tpl tests/write_read_test.tpl
|
cannam@125
|
392 Add tests for 32 bit ALAC/CAF files.
|
cannam@125
|
393
|
cannam@125
|
394 2012-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
395
|
cannam@125
|
396 * src/
|
cannam@125
|
397 Refactor chunk storage so it work on big as well as little endian CPUs.
|
cannam@125
|
398
|
cannam@125
|
399 * tests/chunk_test.c
|
cannam@125
|
400 Clean up error messages.
|
cannam@125
|
401
|
cannam@125
|
402 * src/sfendian.h src/*.c
|
cannam@125
|
403 Rename endian swapping macros and add ENDSWAP_64 and BE2H_64.
|
cannam@125
|
404
|
cannam@125
|
405 * configure.ac
|
cannam@125
|
406 Detect presence of <x86intrin.h> header file.
|
cannam@125
|
407
|
cannam@125
|
408 * src/sfendian.h
|
cannam@125
|
409 Use <x86intrin.h> intrinsics (ie for MinGW) when <byteswap.h> is not
|
cannam@125
|
410 present.
|
cannam@125
|
411 Make ENDSWAP_64() work with i686-w64-mingw32 compiler.
|
cannam@125
|
412
|
cannam@125
|
413 * src/ALAC/EndianPortable.c
|
cannam@125
|
414 Add support for __powerpc__.
|
cannam@125
|
415
|
cannam@125
|
416 * src/sfconfig.h
|
cannam@125
|
417 Make sure HAVE_X86INTRIN_H is either 1 or 0.
|
cannam@125
|
418
|
cannam@125
|
419 2012-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
420
|
cannam@125
|
421 * src/ALAC/*
|
cannam@125
|
422 Big dump of code for Apple's ALAC file format. The copyyright to this code
|
cannam@125
|
423 is owned by Apple who have released it under an Apache style license. A few
|
cannam@125
|
424 small modifications were made to allow this to be integrated into libsndfile
|
cannam@125
|
425 but unfortunately the history of those changes were lost because they were
|
cannam@125
|
426 developed in a Bzr tree and during that time libsndfile moved to Git.
|
cannam@125
|
427
|
cannam@125
|
428 * src/alac.c src/caf.c src/common.[ch] src/Makefile.am src/sndfile.h.in
|
cannam@125
|
429 src/sndfile.c
|
cannam@125
|
430 Hook new ALAC codec in.
|
cannam@125
|
431
|
cannam@125
|
432 * programs/sndfile-convert.c
|
cannam@125
|
433 Add support for alac codec.
|
cannam@125
|
434
|
cannam@125
|
435 * tests/write_read_test.tpl
|
cannam@125
|
436 Expand tests to cover ALAC.
|
cannam@125
|
437
|
cannam@125
|
438 2012-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
439
|
cannam@125
|
440 * src/aiff.c src/wav.c
|
cannam@125
|
441 Fix a couple of regressions from version 1.0.25.
|
cannam@125
|
442
|
cannam@125
|
443 2012-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
444
|
cannam@125
|
445 * src/strings.c
|
cannam@125
|
446 Minor refactoring. Make sure that the memory allocation size if always > 0
|
cannam@125
|
447 to avoid undefined behaviour.
|
cannam@125
|
448
|
cannam@125
|
449 2012-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
450
|
cannam@125
|
451 * src/chunk.c
|
cannam@125
|
452 Fix buffer overrun introduced in recently added chunk logging. This chunk
|
cannam@125
|
453 logging has not yet made it to a libsndfile release version. Thanks to
|
cannam@125
|
454 Olivier Tristan for providing an example file.
|
cannam@125
|
455
|
cannam@125
|
456 * src/wav.c
|
cannam@125
|
457 Fix handling of odd sized chunks which was causing the parser to lose some
|
cannam@125
|
458 chunks. Thanks to Olivier Tristan for providing an example file.
|
cannam@125
|
459
|
cannam@125
|
460 2012-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
461
|
cannam@125
|
462 * tests/util.tpl
|
cannam@125
|
463 Used gnu_printf format checking with mingw-w64 compiler.
|
cannam@125
|
464
|
cannam@125
|
465 * tests/header_test.tpl
|
cannam@125
|
466 Printf format fixes.
|
cannam@125
|
467
|
cannam@125
|
468 2012-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
469
|
cannam@125
|
470 * M4/extra_pkg.m4
|
cannam@125
|
471 Update PKG_CHECK_MOD_VERSION macro to add an AC_TRY_LINK step. This fix
|
cannam@125
|
472 allows the configure process to catch attempts to link incompatible
|
cannam@125
|
473 libraries. For example, linking 32 bit version of eg libFLAC to a 64 bit
|
cannam@125
|
474 version of libsndfile will now fail. Similarly, when cross compiling
|
cannam@125
|
475 libsndfile from Linux to Windows linking the Linux versions of a library
|
cannam@125
|
476 to the Windows version of libsndfile will now also fail.
|
cannam@125
|
477
|
cannam@125
|
478 * src/sndfile.h.in src/sndfile.c src/common.h src/create_symbols_file.py
|
cannam@125
|
479 Add API function sf_current_byterate().
|
cannam@125
|
480
|
cannam@125
|
481 * src/dwvw.c src/flac.c src/ogg_vorbis.c src/sds.c
|
cannam@125
|
482 Add codec specific handlers for current byterate.
|
cannam@125
|
483
|
cannam@125
|
484 * tests/floating_point_test.tpl
|
cannam@125
|
485 Add initial test for sf_current_byterate().
|
cannam@125
|
486
|
cannam@125
|
487 2012-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
488
|
cannam@125
|
489 * src/common.[ch]
|
cannam@125
|
490 Add function psf_decode_frame_count().
|
cannam@125
|
491
|
cannam@125
|
492 * src/dwvw.c
|
cannam@125
|
493 Fix a termnation bug that caused the decoder to go into an infinite loop.
|
cannam@125
|
494
|
cannam@125
|
495 2012-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
496
|
cannam@125
|
497 * src/wav.c
|
cannam@125
|
498 Fix a regression in the WAV header parser. Thanks to Olivier Tristan for
|
cannam@125
|
499 bug report and the example file.
|
cannam@125
|
500
|
cannam@125
|
501 2012-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
502
|
cannam@125
|
503 * src/sndfile.c
|
cannam@125
|
504 Return error when SF_BROADCAST_INFO struct has bad coding_history_size.
|
cannam@125
|
505 Thanks to Alex Weiss for the report.
|
cannam@125
|
506
|
cannam@125
|
507 2012-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
508
|
cannam@125
|
509 * src/au.c src/flac.c src/g72x.c src/ogg_vorbis.c src/wav_w64.c
|
cannam@125
|
510 Don't fake psf->bytewidth values.
|
cannam@125
|
511
|
cannam@125
|
512 2012-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
513
|
cannam@125
|
514 * tests/string_test.c
|
cannam@125
|
515 Fix valgrind warnings.
|
cannam@125
|
516
|
cannam@125
|
517 * src/common.h src/sndfile.c src/strings.c
|
cannam@125
|
518 Make string storage dynamically allocated.
|
cannam@125
|
519
|
cannam@125
|
520 * src/sndfile.c
|
cannam@125
|
521 Add extra validation for custom chunk handling.
|
cannam@125
|
522
|
cannam@125
|
523 2012-02-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
524
|
cannam@125
|
525 * src/wav.c
|
cannam@125
|
526 Improve handlling unknown chunk types. Thanks to Olivier Tristan for sending
|
cannam@125
|
527 example files.
|
cannam@125
|
528
|
cannam@125
|
529 * src/utils.tpl
|
cannam@125
|
530 Add GCC specific testing for format string parameters for exit_if_true().
|
cannam@125
|
531
|
cannam@125
|
532 * tests/*.c tests/*.tpl
|
cannam@125
|
533 Fix all printf format warnings.
|
cannam@125
|
534
|
cannam@125
|
535 * programs/sndfile-play.c
|
cannam@125
|
536 Remove un-needed OSX include <Carbon.h>. Thanks jamesfmilne for github
|
cannam@125
|
537 issue #3.
|
cannam@125
|
538
|
cannam@125
|
539 * tests/chunk_test.c
|
cannam@125
|
540 Extend custom chunk test.
|
cannam@125
|
541
|
cannam@125
|
542 2012-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
543
|
cannam@125
|
544 * src/wav.c
|
cannam@125
|
545 Jump over some more chunk types while parsing.
|
cannam@125
|
546
|
cannam@125
|
547 2012-02-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
548
|
cannam@125
|
549 * src/common.h src/strings.c
|
cannam@125
|
550 Change way strings are stored in SF_PRIVATE in preparation for dynamically
|
cannam@125
|
551 allocating the storage.
|
cannam@125
|
552
|
cannam@125
|
553 2012-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
554
|
cannam@125
|
555 * src/common.h src*.c
|
cannam@125
|
556 Improve encapsulation of string data in SF_PRIVATE.
|
cannam@125
|
557
|
cannam@125
|
558 2012-02-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
559
|
cannam@125
|
560 * src/common.h src*.c
|
cannam@125
|
561 Remove the buffer union from SF_PRIVATE. Most uses of this have been
|
cannam@125
|
562 replaced with a BUF_UNION that is allocated on the stack.
|
cannam@125
|
563
|
cannam@125
|
564 2012-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
565
|
cannam@125
|
566 * src/common.h src*.c
|
cannam@125
|
567 Rename logbuffer field of SF_PRIVATE to parselog and reduce its size.
|
cannam@125
|
568 Put the parselog buffer and the index inside a struct within SF_PRIVATE.
|
cannam@125
|
569
|
cannam@125
|
570 2012-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
571
|
cannam@125
|
572 * configure.ac
|
cannam@125
|
573 Fix typo, FLAC_CLFAGS -> FLAC_CFLAGS. Thanks to Jeremy Friesner.
|
cannam@125
|
574
|
cannam@125
|
575 2012-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
576
|
cannam@125
|
577 * src/sndfile.c src/ogg.c
|
cannam@125
|
578 Fix misleading error message when trying to create an SF_FORMAT_OGG file
|
cannam@125
|
579 with anything other than SF_FORMAT_FILE. Thanks to Charles Van Winkle for
|
cannam@125
|
580 the bug report. Github issue #1.
|
cannam@125
|
581
|
cannam@125
|
582 2012-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
583
|
cannam@125
|
584 * src/sndfile.c src/wav.c
|
cannam@125
|
585 Allow files opened in RDWR mode with string data in the tailer to be
|
cannam@125
|
586 extended. Thanks to Bodo for the patch.
|
cannam@125
|
587
|
cannam@125
|
588 * tests/string_test.c
|
cannam@125
|
589 Add tests for the above changes (patch from Bodo).
|
cannam@125
|
590
|
cannam@125
|
591 2012-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
592
|
cannam@125
|
593 * src/aiff.c
|
cannam@125
|
594 Refactor reading of chunk size and use of psf_store_read_chunk().
|
cannam@125
|
595
|
cannam@125
|
596 * src/(caf|wav).c
|
cannam@125
|
597 Correct storing of chunk offset.
|
cannam@125
|
598
|
cannam@125
|
599 2012-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
600
|
cannam@125
|
601 * src/aiff.c src/wav.c src/common.h
|
cannam@125
|
602 Refactor common code into src/common.h.
|
cannam@125
|
603
|
cannam@125
|
604 * src/caf.c
|
cannam@125
|
605 Make custom chunks work for CAF files.
|
cannam@125
|
606
|
cannam@125
|
607 * tests/chunk_test.c tests/test_wrapper.sh.in
|
cannam@125
|
608 Test CAF files with custom chunks.
|
cannam@125
|
609
|
cannam@125
|
610 * src/sndfile.c
|
cannam@125
|
611 Prevent psf->codec_close() being called more than once.
|
cannam@125
|
612
|
cannam@125
|
613 2012-01-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
614
|
cannam@125
|
615 * programs/sndfile-cmp.c
|
cannam@125
|
616 Catch the case where the second file has more frames than the first.
|
cannam@125
|
617
|
cannam@125
|
618 2012-01-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
619
|
cannam@125
|
620 * src/create_symbols_file.py
|
cannam@125
|
621 Add sf_set_chunk/sf_get_chunk_size/sf_get_chunk_data.
|
cannam@125
|
622
|
cannam@125
|
623 2011-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
624
|
cannam@125
|
625 * tests/chunk_test.c tests/Makefile.am
|
cannam@125
|
626 New test for custom chunks.
|
cannam@125
|
627
|
cannam@125
|
628 * src/aiff.c src/chunk.c src/common.h src/sndfile.c
|
cannam@125
|
629 Make custom chunks work on AIFF files.
|
cannam@125
|
630
|
cannam@125
|
631 * src/wav.c
|
cannam@125
|
632 Make custom chunks work on WAV files (includes refactoring).
|
cannam@125
|
633
|
cannam@125
|
634 2011-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
635
|
cannam@125
|
636 * src/sndfile.h.in src/common.h src/sndfile.c
|
cannam@125
|
637 Start working on setting/getting chunks.
|
cannam@125
|
638
|
cannam@125
|
639 2011-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
640
|
cannam@125
|
641 * src/binheader_writef_check.py src/create_symbols_file.py
|
cannam@125
|
642 Make it work for Python 2 and 3. Thanks Michael.
|
cannam@125
|
643
|
cannam@125
|
644 2011-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
645
|
cannam@125
|
646 * libsndfile.spec.in
|
cannam@125
|
647 Change field name 'URL' to 'Url'.
|
cannam@125
|
648
|
cannam@125
|
649 * src/sndfile.h.in
|
cannam@125
|
650 Add SF_SEEK_SET/CUR/END.
|
cannam@125
|
651
|
cannam@125
|
652 2011-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
653
|
cannam@125
|
654 * src/id3.c
|
cannam@125
|
655 Fix a stack overflow that can occur when parsing a file with multiple
|
cannam@125
|
656 ID3 headers which would cause libsndfile to go into an infinite recursion
|
cannam@125
|
657 until it blew the stack. Thanks to Anders Svensson for supplying an example
|
cannam@125
|
658 file.
|
cannam@125
|
659
|
cannam@125
|
660 2011-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
661
|
cannam@125
|
662 * src/double64.c src/float32.c src/common.h
|
cannam@125
|
663 Make (float32|double_64)_(be|le)_read() functions const correct.
|
cannam@125
|
664
|
cannam@125
|
665 2011-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
666
|
cannam@125
|
667 * src/sfendian.h
|
cannam@125
|
668 Minor tweaking of types. Cast to ptr to correct final type rather void*.
|
cannam@125
|
669
|
cannam@125
|
670 * programs/sndfile-play.c tests/utils.tpl
|
cannam@125
|
671 Fix compiler warnings with latest MinGW cross compiler.
|
cannam@125
|
672
|
cannam@125
|
673 2011-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
674
|
cannam@125
|
675 * src/file_io.c
|
cannam@125
|
676 Use the non-deprecated resource fork name on OSX. Thanks to Olivier Tristan.
|
cannam@125
|
677
|
cannam@125
|
678 2011-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
679
|
cannam@125
|
680 * src/wav.c
|
cannam@125
|
681 Jump over the 'olym' chunks when parsing.
|
cannam@125
|
682
|
cannam@125
|
683 2011-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
684
|
cannam@125
|
685 * tests/write_read_test.tpl
|
cannam@125
|
686 Remove windows only truncate() implementation.
|
cannam@125
|
687
|
cannam@125
|
688 2011-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
689
|
cannam@125
|
690 * src/sd2.c src/sndfile.c
|
cannam@125
|
691 Make sure 23 bit PCM SD2 files are readable/writeable.
|
cannam@125
|
692
|
cannam@125
|
693 * tests/write_read_test.tpl
|
cannam@125
|
694 Add tests for 32 bit PCM SD2 files.
|
cannam@125
|
695
|
cannam@125
|
696 2011-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
697
|
cannam@125
|
698 * configure.ac
|
cannam@125
|
699 Use AC_SYS_LARGEFILE instead of AC_SYS_EXTRA_LARGEFILE as suggested by
|
cannam@125
|
700 Jan Willies.
|
cannam@125
|
701
|
cannam@125
|
702 2011-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
703
|
cannam@125
|
704 * configure.ac Makefile.am
|
cannam@125
|
705 Move ACLOCAL_AMFLAGS setup to Makefile.am.
|
cannam@125
|
706
|
cannam@125
|
707 2011-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
708
|
cannam@125
|
709 * doc/command.html
|
cannam@125
|
710 Merge two separate blocks of SFC_SET_VBR_ENCODING_QUALITY documentation.
|
cannam@125
|
711
|
cannam@125
|
712 * src/paf.c
|
cannam@125
|
713 Replace ppaf24->samplesperblock with a compile time constant.
|
cannam@125
|
714
|
cannam@125
|
715 2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
716
|
cannam@125
|
717 * src/ogg_vorbis.c
|
cannam@125
|
718 Fix return value of SFC_SET_VBR_ENCODING_QUALITY command.
|
cannam@125
|
719
|
cannam@125
|
720 * doc/command.html
|
cannam@125
|
721 Document SFC_SET_VBR_ENCODING_QUALITY, SFC_GET/SET_LOOP_INFO and
|
cannam@125
|
722 SFC_GET_INSTRUMENT.
|
cannam@125
|
723
|
cannam@125
|
724 * NEWS README configure.ac doc/*.html
|
cannam@125
|
725 Updates for 1.0.25.
|
cannam@125
|
726
|
cannam@125
|
727 2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
728
|
cannam@125
|
729 * src/sfconfig.h
|
cannam@125
|
730 Add handling for HAVE_SYS_WAIT_H.
|
cannam@125
|
731
|
cannam@125
|
732 * Makefile.am src/Makefile.am tests/Makefile.am
|
cannam@125
|
733 Add 'checkprograms' target.
|
cannam@125
|
734
|
cannam@125
|
735 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
736
|
cannam@125
|
737 * src/common.h src/sndfile.c
|
cannam@125
|
738 Purge SF_ASSERT macro. Use standard C assert instead.
|
cannam@125
|
739
|
cannam@125
|
740 * src/paf.c src/common.h src/sndfile.c
|
cannam@125
|
741 Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
|
cannam@125
|
742 byte value of 0) due to integer overflow if PAF file handler.
|
cannam@125
|
743
|
cannam@125
|
744 * src/ima_adpcm.c src/ms_adpcm.c src/paf.c
|
cannam@125
|
745 Use calloc instead of malloc followed by memset.
|
cannam@125
|
746
|
cannam@125
|
747 * tests/utils.tpl
|
cannam@125
|
748 Clean up use of memset.
|
cannam@125
|
749
|
cannam@125
|
750 2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
751
|
cannam@125
|
752 * src/ogg.c
|
cannam@125
|
753 Fix log message.
|
cannam@125
|
754
|
cannam@125
|
755 * tests/format_check_test.c
|
cannam@125
|
756 Fix compiler warnings.
|
cannam@125
|
757
|
cannam@125
|
758 2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
759
|
cannam@125
|
760 * src/sndfile.c
|
cannam@125
|
761 Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
|
cannam@125
|
762
|
cannam@125
|
763 * tests/format_check_test.c
|
cannam@125
|
764 Add a test to for SF_FINFO format field validation.
|
cannam@125
|
765
|
cannam@125
|
766 * src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
|
cannam@125
|
767 src/common.h src/Makefile.am
|
cannam@125
|
768 Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
|
cannam@125
|
769 and Speex codecs in an Ogg container. The later two are only enabled with
|
cannam@125
|
770 ENABLE_EXPERIMENTAL_CODE config variable.
|
cannam@125
|
771
|
cannam@125
|
772 2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
773
|
cannam@125
|
774 * src/strings.c
|
cannam@125
|
775 Clean up and refactor storage of SF_STR_SOFTWARE.
|
cannam@125
|
776
|
cannam@125
|
777 2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
778
|
cannam@125
|
779 * src/sndfile.h.in doc/api.html
|
cannam@125
|
780 Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
|
cannam@125
|
781 Tim van der Molen for the patch.
|
cannam@125
|
782
|
cannam@125
|
783 2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
784
|
cannam@125
|
785 * programs/sndfile-interleave.c
|
cannam@125
|
786 Fix handling of argc. Thanks to Marius Hennecke.
|
cannam@125
|
787
|
cannam@125
|
788 * src/wav_w64.c
|
cannam@125
|
789 Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
|
cannam@125
|
790 providing example files.
|
cannam@125
|
791
|
cannam@125
|
792 * src/wav.c
|
cannam@125
|
793 Jump over 'FLLR' chunks.
|
cannam@125
|
794
|
cannam@125
|
795 2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
796
|
cannam@125
|
797 * src/sndfile.h.in
|
cannam@125
|
798 Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
|
cannam@125
|
799
|
cannam@125
|
800 * configure.ac
|
cannam@125
|
801 Add -Wundef to CFLAGS.
|
cannam@125
|
802
|
cannam@125
|
803 * src/ogg.c
|
cannam@125
|
804 Fix -Wunder warning.
|
cannam@125
|
805
|
cannam@125
|
806 2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
807
|
cannam@125
|
808 * configure.ac
|
cannam@125
|
809 Use int64_t instead of off_t when they are the same size.
|
cannam@125
|
810
|
cannam@125
|
811 * src/Makefile.am tests/Makefile.am
|
cannam@125
|
812 Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
|
cannam@125
|
813
|
cannam@125
|
814 2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
815
|
cannam@125
|
816 * src/wav.c
|
cannam@125
|
817 Don't allow unknown and/or un-editable chunks to prevent the file from being
|
cannam@125
|
818 opened in SFM_RDWR mode.
|
cannam@125
|
819
|
cannam@125
|
820 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
821
|
cannam@125
|
822 * tests/format_check_test.c
|
cannam@125
|
823 Fix segfault in test program.
|
cannam@125
|
824
|
cannam@125
|
825 2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
826
|
cannam@125
|
827 * tests/format_check_test.c
|
cannam@125
|
828 New test program to check to make sure that sf_open() and sf_check_format()
|
cannam@125
|
829 agree as to what is a valid program.
|
cannam@125
|
830
|
cannam@125
|
831 * tests/Makefile.am tests/test_wrapper.sh.in
|
cannam@125
|
832 Hook into build and test runner.
|
cannam@125
|
833
|
cannam@125
|
834 * src/sndfile.c
|
cannam@125
|
835 Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
|
cannam@125
|
836 notification.
|
cannam@125
|
837
|
cannam@125
|
838 2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
839
|
cannam@125
|
840 * src/caf.c
|
cannam@125
|
841 Add validation to size of 'data' chunk and fix size of written 'data'
|
cannam@125
|
842 chunk. Thanks to Michael Pruett for reporting this.
|
cannam@125
|
843
|
cannam@125
|
844 2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
845
|
cannam@125
|
846 * src/* tests/* programs/*
|
cannam@125
|
847 Fix a bunch of compiler warnings with gcc-4.6.
|
cannam@125
|
848
|
cannam@125
|
849 2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
850
|
cannam@125
|
851 * tests/util.tpl
|
cannam@125
|
852 Add NOT macro to util.h.
|
cannam@125
|
853
|
cannam@125
|
854 * src/strings.c
|
cannam@125
|
855 Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
|
cannam@125
|
856 strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
|
cannam@125
|
857 this problem.
|
cannam@125
|
858
|
cannam@125
|
859 * tests/string_test.c
|
cannam@125
|
860 Add test for SF_STR_SOFTWARE segfault bug.
|
cannam@125
|
861
|
cannam@125
|
862 * configure.ac
|
cannam@125
|
863 Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
|
cannam@125
|
864 '-I${includedir}/FLAC'. However FLAC also provides an include file
|
cannam@125
|
865 <assert.h> which clashes with the Standard C header of the same name. The
|
cannam@125
|
866 solution is strip the 'FLAC' part off the end and include all FLAC headers
|
cannam@125
|
867 as <FLAC/header.h>.
|
cannam@125
|
868
|
cannam@125
|
869 * configure.ac src/Makefile.am
|
cannam@125
|
870 Use non-recursive make in src/ directory.
|
cannam@125
|
871
|
cannam@125
|
872 2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
873
|
cannam@125
|
874 * NEWS README docs/*.html
|
cannam@125
|
875 Updates for 1.0.24 release.
|
cannam@125
|
876
|
cannam@125
|
877 2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
878
|
cannam@125
|
879 * configure.ac
|
cannam@125
|
880 Fix up usage of sed (should not assume GNU sed).
|
cannam@125
|
881
|
cannam@125
|
882 * M4/add_(c|cxx)flags.m4
|
cannam@125
|
883 Test flags in isolation.
|
cannam@125
|
884
|
cannam@125
|
885 * tests/cpp_test.cc
|
cannam@125
|
886 Fix a broken test (test segfaults). Report by Dave Flogeras.
|
cannam@125
|
887
|
cannam@125
|
888 2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
889
|
cannam@125
|
890 * programs/common.[ch]
|
cannam@125
|
891 Add function program_name() which returns the program name minus the path
|
cannam@125
|
892 from argv [0].
|
cannam@125
|
893
|
cannam@125
|
894 * programs/*.c programs/Makefile.am
|
cannam@125
|
895 Use program_name() where appropriate. Fix build.
|
cannam@125
|
896
|
cannam@125
|
897 2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
898
|
cannam@125
|
899 * src/wav.c
|
cannam@125
|
900 For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
|
cannam@125
|
901 byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
|
cannam@125
|
902 version accept 18 byte but not 16 byte.
|
cannam@125
|
903
|
cannam@125
|
904 2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
905
|
cannam@125
|
906 * doc/FAQ.html
|
cannam@125
|
907 Add examples for question 12.
|
cannam@125
|
908
|
cannam@125
|
909 * doc/libsndfile.css.in
|
cannam@125
|
910 Add tweaks for h4 element.
|
cannam@125
|
911
|
cannam@125
|
912 * doc/api.html
|
cannam@125
|
913 Add documentation for virtual I/O functionality. Thanks to Uli Franke.
|
cannam@125
|
914
|
cannam@125
|
915 * tests/util.tpl
|
cannam@125
|
916 Add static inline functions sf_info_clear() and sf_info_setup().
|
cannam@125
|
917
|
cannam@125
|
918 * tests/(alaw|dwvw|ulaw)_test.c
|
cannam@125
|
919 Use functions sf_info_clear() and sf_info_setup().
|
cannam@125
|
920
|
cannam@125
|
921 2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
922
|
cannam@125
|
923 * configure.ac
|
cannam@125
|
924 Fail more gracefully if pkg-config is missing. Suggestion from Brian
|
cannam@125
|
925 Willoughby.
|
cannam@125
|
926
|
cannam@125
|
927 2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
928
|
cannam@125
|
929 * src/common.c
|
cannam@125
|
930 Use size_t instead of int for size params with varargs.
|
cannam@125
|
931
|
cannam@125
|
932 2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
933
|
cannam@125
|
934 * doc/index.html
|
cannam@125
|
935 Update supported platforms with more Debian platforms and Android.
|
cannam@125
|
936
|
cannam@125
|
937 2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
938
|
cannam@125
|
939 * src/sndfile.hh
|
cannam@125
|
940 Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
|
cannam@125
|
941 class definition. Thanks to Eric Eizenman for pointing out this was missing.
|
cannam@125
|
942
|
cannam@125
|
943 * tests/cpp_test.cc
|
cannam@125
|
944 Add test for LPCWSTR version of the SndfileHandle constructor.
|
cannam@125
|
945
|
cannam@125
|
946 2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
947
|
cannam@125
|
948 * programs/sndfile-play.c
|
cannam@125
|
949 Remove cruft.
|
cannam@125
|
950
|
cannam@125
|
951 2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
952
|
cannam@125
|
953 * src/sndfile.hh
|
cannam@125
|
954 Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
|
cannam@125
|
955 the patch.
|
cannam@125
|
956
|
cannam@125
|
957 * tests/cpp_test.cc
|
cannam@125
|
958 Add tests for above two methods. Also supplied by Tim Blechmann.
|
cannam@125
|
959
|
cannam@125
|
960 2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
961
|
cannam@125
|
962 * doc/api.html
|
cannam@125
|
963 Add mention of use of sf_strerror() when sf_open() fails.
|
cannam@125
|
964
|
cannam@125
|
965 2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
966
|
cannam@125
|
967 * configure.ac
|
cannam@125
|
968 Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
|
cannam@125
|
969 people are compiling on a 64 bit system with the GCC -m32 flag.
|
cannam@125
|
970
|
cannam@125
|
971 * src/sndfile.h.in
|
cannam@125
|
972 Fix comments on sf_count_t.
|
cannam@125
|
973
|
cannam@125
|
974 2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
975
|
cannam@125
|
976 * src/aiff.c
|
cannam@125
|
977 Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
|
cannam@125
|
978
|
cannam@125
|
979 2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
980
|
cannam@125
|
981 * configure.ac
|
cannam@125
|
982 Sed fix for FreeBSD. Thanks Tony Theodore.
|
cannam@125
|
983
|
cannam@125
|
984 2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
985
|
cannam@125
|
986 * shave.in M4/shave.m4
|
cannam@125
|
987 Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
|
cannam@125
|
988 shave author).
|
cannam@125
|
989
|
cannam@125
|
990 * configure.ac M4/shave.m4 shave-libtool.in shave.in
|
cannam@125
|
991 Switch from shave to automake-1.11's AM_SILENT_RULES.
|
cannam@125
|
992
|
cannam@125
|
993 2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
994
|
cannam@125
|
995 * shave-libtool.in shave.in
|
cannam@125
|
996 Sync to upstream version.
|
cannam@125
|
997
|
cannam@125
|
998 * src/rf64.c
|
cannam@125
|
999 More work to make the parser more robust and accepting of mal-formed files.
|
cannam@125
|
1000
|
cannam@125
|
1001 2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1002
|
cannam@125
|
1003 * src/common.h
|
cannam@125
|
1004 Add functions psf_strlcpy() and psf_strlcat().
|
cannam@125
|
1005
|
cannam@125
|
1006 * src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
|
cannam@125
|
1007 src/test_main.h src/test_strncpy_crlf.c
|
cannam@125
|
1008 Use functions psf_strlcpy() and psf_strlcat() as appropriate.
|
cannam@125
|
1009
|
cannam@125
|
1010 * tests/string_test.c
|
cannam@125
|
1011 Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
|
cannam@125
|
1012
|
cannam@125
|
1013 * src/rf64.c
|
cannam@125
|
1014 Fix size of 'ds64' chunk when writing RF64.
|
cannam@125
|
1015
|
cannam@125
|
1016 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1017
|
cannam@125
|
1018 * programs/*.c
|
cannam@125
|
1019 Add the libsndfile version to the usage message of all programs.
|
cannam@125
|
1020
|
cannam@125
|
1021 2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1022
|
cannam@125
|
1023 * configure.ac src/version-metadata.rc.in src/Makefile.am
|
cannam@125
|
1024 Add version string resources to the windows DLL.
|
cannam@125
|
1025
|
cannam@125
|
1026 * doc/api.html
|
cannam@125
|
1027 Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
|
cannam@125
|
1028
|
cannam@125
|
1029 * NEWS README configure.ac doc/*.html
|
cannam@125
|
1030 Updates for 1.0.23 release.
|
cannam@125
|
1031
|
cannam@125
|
1032 2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1033
|
cannam@125
|
1034 * tests/pedantic-header-test.sh.in
|
cannam@125
|
1035 Handle unusual values of CC environment variable.
|
cannam@125
|
1036
|
cannam@125
|
1037 * src/rf64.c
|
cannam@125
|
1038 Minor tweaks and additional sanity checking.
|
cannam@125
|
1039
|
cannam@125
|
1040 * src/Makefile.am src/binheader_writef_check.py
|
cannam@125
|
1041 Use python 2.6.
|
cannam@125
|
1042
|
cannam@125
|
1043 2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1044
|
cannam@125
|
1045 * src/sndfile.hh
|
cannam@125
|
1046 Add a missing 'inline' before a constructor defintion.
|
cannam@125
|
1047
|
cannam@125
|
1048 2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1049
|
cannam@125
|
1050 * src/common.h
|
cannam@125
|
1051 Add macro NOT.
|
cannam@125
|
1052
|
cannam@125
|
1053 * src/rf64.c
|
cannam@125
|
1054 Minor tweaks.
|
cannam@125
|
1055
|
cannam@125
|
1056 * Makefile.am */Makefile.am
|
cannam@125
|
1057 Add *~ to CLEANFILES.
|
cannam@125
|
1058
|
cannam@125
|
1059 2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1060
|
cannam@125
|
1061 * src/sndfile.c
|
cannam@125
|
1062 Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
|
cannam@125
|
1063 Van Winkle for the report.
|
cannam@125
|
1064
|
cannam@125
|
1065 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1066
|
cannam@125
|
1067 * src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
|
cannam@125
|
1068 Add ability to read/write tracknumber and genre to flac/ogg/wav files.
|
cannam@125
|
1069 Thanks to Matti Nykyri for the patch.
|
cannam@125
|
1070
|
cannam@125
|
1071 * src/common.h src/broadcast.c src/strings.c
|
cannam@125
|
1072 Add function psf_safe_strncpy() and use where appropriate.
|
cannam@125
|
1073
|
cannam@125
|
1074 2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1075
|
cannam@125
|
1076 * NEWS README configure.ac doc/*.html
|
cannam@125
|
1077 Updates for 1.0.22 release.
|
cannam@125
|
1078
|
cannam@125
|
1079 2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1080
|
cannam@125
|
1081 * src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
|
cannam@125
|
1082 Rewrite of SF_BROADCAST_INFO handling.
|
cannam@125
|
1083
|
cannam@125
|
1084 * src/test_broadcast_var.c tests/command_test.c
|
cannam@125
|
1085 Tweak SF_BROADCAST_INFO tests.
|
cannam@125
|
1086
|
cannam@125
|
1087 * src/test_broadcast_var.c
|
cannam@125
|
1088 Fix OSX stack check error.
|
cannam@125
|
1089
|
cannam@125
|
1090 2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1091
|
cannam@125
|
1092 * src/sds.c
|
cannam@125
|
1093 Set sustain_loop_end to 0 as suggested by Brian Lewis.
|
cannam@125
|
1094
|
cannam@125
|
1095 2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1096
|
cannam@125
|
1097 * src/sds.c
|
cannam@125
|
1098 Make sure the correct frame count gets written into the header.
|
cannam@125
|
1099
|
cannam@125
|
1100 * tests/write_read_test.tpl
|
cannam@125
|
1101 Don't allow SDS files to have a long frame count.
|
cannam@125
|
1102
|
cannam@125
|
1103 2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1104
|
cannam@125
|
1105 * src/sds.c
|
cannam@125
|
1106 Apply a pair of patches from Brian Lewis to fix the packet number location
|
cannam@125
|
1107 and the checksum.
|
cannam@125
|
1108
|
cannam@125
|
1109 2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1110
|
cannam@125
|
1111 * src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
|
cannam@125
|
1112 src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
|
cannam@125
|
1113 src/wav.c tests/pcm_test.tpl
|
cannam@125
|
1114 Fix a bunch of minor issues found using static analysis.
|
cannam@125
|
1115
|
cannam@125
|
1116 2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1117
|
cannam@125
|
1118 * src/test_broadcast_var.c
|
cannam@125
|
1119 New file containing tests for broadcast_set_var().
|
cannam@125
|
1120
|
cannam@125
|
1121 * src/Makefile.am src/test_main.[ch]
|
cannam@125
|
1122 Hook test_broadcast_var.c into tests.
|
cannam@125
|
1123
|
cannam@125
|
1124 2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1125
|
cannam@125
|
1126 * src/broadcast.c src/common.(c|h)
|
cannam@125
|
1127 Move function strncpy_crlf() to src/common.c so the function can be tested
|
cannam@125
|
1128 in isolation.
|
cannam@125
|
1129
|
cannam@125
|
1130 * src/test_strncpy_crlf.c
|
cannam@125
|
1131 New file.
|
cannam@125
|
1132
|
cannam@125
|
1133 * src/Makefile.am src/test_main.[ch]
|
cannam@125
|
1134 Hook test_strncpy_crlf.c into tests.
|
cannam@125
|
1135
|
cannam@125
|
1136 2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1137
|
cannam@125
|
1138 * src/common.h
|
cannam@125
|
1139 Move code around to make comments make sense.
|
cannam@125
|
1140
|
cannam@125
|
1141 * src/broadcast.c
|
cannam@125
|
1142 Add debugging code that is disabled by default.
|
cannam@125
|
1143
|
cannam@125
|
1144 2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1145
|
cannam@125
|
1146 * src/flac.c
|
cannam@125
|
1147 When the file meta data says the file has zero frames set psf->sf.frames
|
cannam@125
|
1148 to SF_COUNT_MAX. Fixes Debian bug #590752.
|
cannam@125
|
1149
|
cannam@125
|
1150 * programs/sndfile-info.c
|
cannam@125
|
1151 Print 'unknown' if frame count == SF_COUNT_MAX.
|
cannam@125
|
1152
|
cannam@125
|
1153 2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1154
|
cannam@125
|
1155 * src/sndfile.c
|
cannam@125
|
1156 Only support writing mono SVX files. Multichannel SVX files are not
|
cannam@125
|
1157 interleaved and there is no support infrastructure to cache and write
|
cannam@125
|
1158 multiple channels to create a non-interleaved file.
|
cannam@125
|
1159
|
cannam@125
|
1160 * src/file_io.c
|
cannam@125
|
1161 Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
|
cannam@125
|
1162 for the bug report.
|
cannam@125
|
1163
|
cannam@125
|
1164 2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1165
|
cannam@125
|
1166 * src/common.h
|
cannam@125
|
1167 Add macro SF_ASSERT.
|
cannam@125
|
1168
|
cannam@125
|
1169 * src/sndfile.c
|
cannam@125
|
1170 Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
|
cannam@125
|
1171
|
cannam@125
|
1172 * src/svx.c
|
cannam@125
|
1173 Add support for reading and writing stereo SVX files.
|
cannam@125
|
1174
|
cannam@125
|
1175 2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1176
|
cannam@125
|
1177 * configure.ac
|
cannam@125
|
1178 When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
|
cannam@125
|
1179
|
cannam@125
|
1180 * programs/common.c programs/sndfile-metadata-set.c
|
cannam@125
|
1181 Update metadata after the audio data is copied. Other minor fixes. Patch
|
cannam@125
|
1182 from Marius Hennecke.
|
cannam@125
|
1183
|
cannam@125
|
1184 2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1185
|
cannam@125
|
1186 * src/nist.c
|
cannam@125
|
1187 Fix a regression reported by Hugh Secker-Walker.
|
cannam@125
|
1188
|
cannam@125
|
1189 * src/api.html
|
cannam@125
|
1190 Add comment about sf_open_fd() not working on Windows if the application
|
cannam@125
|
1191 and the libsndfile DLL are linked to different versions of the Microsoft
|
cannam@125
|
1192 C runtime DLL.
|
cannam@125
|
1193
|
cannam@125
|
1194 2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1195
|
cannam@125
|
1196 * tests/pedantic-header-test.sh.in
|
cannam@125
|
1197 Fix 'make distcheck'.
|
cannam@125
|
1198
|
cannam@125
|
1199 2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1200
|
cannam@125
|
1201 * tests/pedantic-header-test.sh.in
|
cannam@125
|
1202 New file to test whether sndfile.h can be compiled with gcc's -pedantic
|
cannam@125
|
1203 flag.
|
cannam@125
|
1204
|
cannam@125
|
1205 * configure.ac tests/test_wrapper.sh.in
|
cannam@125
|
1206 Hook pedantic-header-test into test suite.
|
cannam@125
|
1207
|
cannam@125
|
1208 * src/sndfile.h.in
|
cannam@125
|
1209 Fix -pedantic warning.
|
cannam@125
|
1210
|
cannam@125
|
1211 2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1212
|
cannam@125
|
1213 * programs/sndfile-salvage.c programs/Makefile.am
|
cannam@125
|
1214 New program to salvage the audio data from WAV/WAVEX/AIFF files which are
|
cannam@125
|
1215 greater than 4Gig in size.
|
cannam@125
|
1216
|
cannam@125
|
1217 2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1218
|
cannam@125
|
1219 * programs/sndfile-convert.c
|
cannam@125
|
1220 Fix valgrind warning.
|
cannam@125
|
1221
|
cannam@125
|
1222 2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1223
|
cannam@125
|
1224 * programs/sndfile-cmp.c
|
cannam@125
|
1225 When files differ in the PCM data, also print the difference offset.
|
cannam@125
|
1226 Minor cleanup.
|
cannam@125
|
1227
|
cannam@125
|
1228 2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1229
|
cannam@125
|
1230 * src/aiff.c
|
cannam@125
|
1231 Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
|
cannam@125
|
1232 instead. Thanks to Paul Davis (Ardour) for this suggestion.
|
cannam@125
|
1233
|
cannam@125
|
1234 2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1235
|
cannam@125
|
1236 * configure.ac
|
cannam@125
|
1237 Clean up configure report.
|
cannam@125
|
1238
|
cannam@125
|
1239 * tests/utils.tpl
|
cannam@125
|
1240 Add functions test_read_raw_or_die and test_write_raw_or_die.
|
cannam@125
|
1241
|
cannam@125
|
1242 * tests/rdwr_test.(def|tpl) tests/Makefile.am
|
cannam@125
|
1243 Add new test program and hook into build.
|
cannam@125
|
1244
|
cannam@125
|
1245 * src/sndfile.c
|
cannam@125
|
1246 Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
|
cannam@125
|
1247
|
cannam@125
|
1248 * tests/test_wrapper.sh.in
|
cannam@125
|
1249 Add rdwr_test to the test wrapper script.
|
cannam@125
|
1250
|
cannam@125
|
1251 2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1252
|
cannam@125
|
1253 * configure.ac
|
cannam@125
|
1254 Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
|
cannam@125
|
1255
|
cannam@125
|
1256 * programs/common.[ch] programs/sndfile-metadata-set.c
|
cannam@125
|
1257 Apply a patch from Robin Gareus allowing the setting of the time reference
|
cannam@125
|
1258 field of the BEXT chunk.
|
cannam@125
|
1259
|
cannam@125
|
1260 2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1261
|
cannam@125
|
1262 * src/ima_adpcm.c
|
cannam@125
|
1263 Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
|
cannam@125
|
1264 IMA4.
|
cannam@125
|
1265
|
cannam@125
|
1266 2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1267
|
cannam@125
|
1268 * src/sndfile.hh
|
cannam@125
|
1269 Add a constructor which takes an existing file descriptor and then calls
|
cannam@125
|
1270 sf_open_fd(). Patch from Sakari Bergen.
|
cannam@125
|
1271
|
cannam@125
|
1272 2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1273
|
cannam@125
|
1274 * programs/sndfile-deinterleave.c programs/sndfile-interleave.c
|
cannam@125
|
1275 Improve usage messages.
|
cannam@125
|
1276
|
cannam@125
|
1277 2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1278
|
cannam@125
|
1279 * src/id3.c src/Makefile.am
|
cannam@125
|
1280 Add new file src/id3.c and hook into build.
|
cannam@125
|
1281
|
cannam@125
|
1282 * src/sndfile.c src/common.h
|
cannam@125
|
1283 Detect and skip and ID3 header at the start of the file.
|
cannam@125
|
1284
|
cannam@125
|
1285 2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1286
|
cannam@125
|
1287 * programs/common.c
|
cannam@125
|
1288 Fix update_strings() copyright, comment, album and license are correctly
|
cannam@125
|
1289 written. Thanks to Todd Allen for reporting this.
|
cannam@125
|
1290
|
cannam@125
|
1291 * man/Makefile.am
|
cannam@125
|
1292 Change GNU makeism to something more widely supported. Thanks to Christian
|
cannam@125
|
1293 Weisgerber for reporting this.
|
cannam@125
|
1294
|
cannam@125
|
1295 * configure.ac programs/Makefile.am programs/sndfile-play.c
|
cannam@125
|
1296 Apply patch from Christian Weisgerber and Jacob Meuserto add support for
|
cannam@125
|
1297 OpenBSD's sndio.
|
cannam@125
|
1298
|
cannam@125
|
1299 2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1300
|
cannam@125
|
1301 * doc/api.html
|
cannam@125
|
1302 Discourage the use of sf_read/write_raw().
|
cannam@125
|
1303
|
cannam@125
|
1304 2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1305
|
cannam@125
|
1306 * configure.ac
|
cannam@125
|
1307 Test for Unix pipe() and waitpid() functions.
|
cannam@125
|
1308
|
cannam@125
|
1309 * src/sfconfig.h tests/pipe_test.tpl
|
cannam@125
|
1310 Disable pipe_test if pipe() and waitpid() aren't available.
|
cannam@125
|
1311
|
cannam@125
|
1312 2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1313
|
cannam@125
|
1314 * configure.ac src/Makefile.am src/create_symbols_file.py
|
cannam@125
|
1315 src/make-static-lib-hidden-privates.sh
|
cannam@125
|
1316 Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
|
cannam@125
|
1317 and use the same symbols file for other systems which use GNU binutils like
|
cannam@125
|
1318 Debian's kfreebsd.
|
cannam@125
|
1319
|
cannam@125
|
1320 * M4/shave.m4 shave.in
|
cannam@125
|
1321 Update shave files from upstream.
|
cannam@125
|
1322
|
cannam@125
|
1323 2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1324
|
cannam@125
|
1325 * man/sndfile-metadata-get.1
|
cannam@125
|
1326 Fix typo.
|
cannam@125
|
1327
|
cannam@125
|
1328 * man/sndfile-interleave.1 man/Makefile.am
|
cannam@125
|
1329 New man page.
|
cannam@125
|
1330
|
cannam@125
|
1331 2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1332
|
cannam@125
|
1333 * src/ogg.c
|
cannam@125
|
1334 When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
|
cannam@125
|
1335 its too hot. Thanks to Dmitry Baikov for suggesting this.
|
cannam@125
|
1336
|
cannam@125
|
1337 * NEWS README doc/*.html
|
cannam@125
|
1338 Updates for 1.0.21.
|
cannam@125
|
1339
|
cannam@125
|
1340 2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1341
|
cannam@125
|
1342 * programs/sndfile-jackplay.c man/sndfile-jackplay.1
|
cannam@125
|
1343 Remove these which will now be in found in the sndfile-tools package.
|
cannam@125
|
1344
|
cannam@125
|
1345 * programs/Makefile.am man/Makefile.am
|
cannam@125
|
1346 Remove build rules for sndfile-jackplay.
|
cannam@125
|
1347
|
cannam@125
|
1348 * configure.ac
|
cannam@125
|
1349 Remove detection of JACK Audio Connect Kit.
|
cannam@125
|
1350
|
cannam@125
|
1351 * programs/sndfile-concat.c man/sndfile-concat.1
|
cannam@125
|
1352 Add new program with man page.
|
cannam@125
|
1353
|
cannam@125
|
1354 * man/Makefile.am programs/Makefile.am
|
cannam@125
|
1355 Hook sndfile-concat into build system.
|
cannam@125
|
1356
|
cannam@125
|
1357 2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1358
|
cannam@125
|
1359 * tests/error_test.c
|
cannam@125
|
1360 Don't terminate when sf_close() returns zero in error_close_test().
|
cannam@125
|
1361 It seems that Windows 7 behaves differently from earlier versions of
|
cannam@125
|
1362 Windows.
|
cannam@125
|
1363
|
cannam@125
|
1364 2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1365
|
cannam@125
|
1366 * configure.ac M4/*.m4
|
cannam@125
|
1367 Rename all custom macros from AC_* to MN_*.
|
cannam@125
|
1368
|
cannam@125
|
1369 * programs/sndfile-interleave.c
|
cannam@125
|
1370 Make it actually work.
|
cannam@125
|
1371
|
cannam@125
|
1372 2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1373
|
cannam@125
|
1374 * doc/*.html configure.ac
|
cannam@125
|
1375 Corrections and clarifications courtesy of Robin Forder.
|
cannam@125
|
1376
|
cannam@125
|
1377 * programs/sndfile-convert.c programs/common.[ch]
|
cannam@125
|
1378 Move some code from convert to common for reuse.
|
cannam@125
|
1379
|
cannam@125
|
1380 * programs/sndfile-interleave.c programs/sndfile-interleave.c
|
cannam@125
|
1381 Add new programs sndfile-interleave and sndfile-deinterleave.
|
cannam@125
|
1382
|
cannam@125
|
1383 * programs/Makefile.am
|
cannam@125
|
1384 Hook new programs into build.
|
cannam@125
|
1385
|
cannam@125
|
1386 2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1387
|
cannam@125
|
1388 * src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
|
cannam@125
|
1389 Minor OS/2 tweaks as suggested by David Yeo.
|
cannam@125
|
1390
|
cannam@125
|
1391 * tests/multi_file_test.c
|
cannam@125
|
1392 Fix file creation flags on windows. Thanks to Bruce Sharpe.
|
cannam@125
|
1393
|
cannam@125
|
1394 * src/sf_unistd.h
|
cannam@125
|
1395 Set all group and other file create permssions to zero.
|
cannam@125
|
1396
|
cannam@125
|
1397 * tests/win32_test.c
|
cannam@125
|
1398 Add a new test.
|
cannam@125
|
1399
|
cannam@125
|
1400 2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1401
|
cannam@125
|
1402 * doc/print.css doc/*.html
|
cannam@125
|
1403 Add a print stylesheet and update all HTML documents to reference it.
|
cannam@125
|
1404 Thanks to Aditya Bhargava for suggesting this.
|
cannam@125
|
1405
|
cannam@125
|
1406 * doc/index.html
|
cannam@125
|
1407 Minor corrections.
|
cannam@125
|
1408
|
cannam@125
|
1409 2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1410
|
cannam@125
|
1411 * sndfile.pc.in
|
cannam@125
|
1412 Add a Libs.private entry to assist with static linking.
|
cannam@125
|
1413
|
cannam@125
|
1414 2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1415
|
cannam@125
|
1416 * src/make-static-lib-hidden-privates.sh src/Makefile.am
|
cannam@125
|
1417 Add a script to hide all non-public symbols in the libsndfile.a static
|
cannam@125
|
1418 library.
|
cannam@125
|
1419
|
cannam@125
|
1420 2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1421
|
cannam@125
|
1422 * tests/locale_test.c
|
cannam@125
|
1423 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
|
cannam@125
|
1424
|
cannam@125
|
1425 2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1426
|
cannam@125
|
1427 * src/windows.c
|
cannam@125
|
1428 Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
|
cannam@125
|
1429
|
cannam@125
|
1430 2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1431
|
cannam@125
|
1432 * programs/sndfile-convert.c
|
cannam@125
|
1433 Allow the program to read from stdin by specifying '-' on the command line
|
cannam@125
|
1434 as the input file.
|
cannam@125
|
1435
|
cannam@125
|
1436 * src/sndfile.h.in
|
cannam@125
|
1437 Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
|
cannam@125
|
1438
|
cannam@125
|
1439 * tests/virtual_io_test.c
|
cannam@125
|
1440 Add a PAF/PCM_24 test and verify the file length is not negative
|
cannam@125
|
1441 immediately after openning the file for write.
|
cannam@125
|
1442
|
cannam@125
|
1443 2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1444
|
cannam@125
|
1445 * src/wav.c
|
cannam@125
|
1446 When writing loop lengths, adjust the end position by one to make up for
|
cannam@125
|
1447 Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
|
cannam@125
|
1448
|
cannam@125
|
1449 2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1450
|
cannam@125
|
1451 * src/flac.c
|
cannam@125
|
1452 Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
|
cannam@125
|
1453 rate.
|
cannam@125
|
1454
|
cannam@125
|
1455 2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1456
|
cannam@125
|
1457 * src/nist.c
|
cannam@125
|
1458 Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
|
cannam@125
|
1459
|
cannam@125
|
1460 * configure.ac
|
cannam@125
|
1461 Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
|
cannam@125
|
1462 libsndfile test suite to fail on MIPS, PowerPC and others.
|
cannam@125
|
1463 See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
|
cannam@125
|
1464
|
cannam@125
|
1465 2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1466
|
cannam@125
|
1467 * man/sndfile-convert.1
|
cannam@125
|
1468 Fix warning from Debian's lintian checks.
|
cannam@125
|
1469
|
cannam@125
|
1470 * man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
|
cannam@125
|
1471 man/Makefile.am
|
cannam@125
|
1472 Add three new minimal manpages and hook into build.
|
cannam@125
|
1473
|
cannam@125
|
1474 2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1475
|
cannam@125
|
1476 * tests/test_wrapper.sh.in
|
cannam@125
|
1477 Don't run cpp_test on x86_64-w64-mingw32.
|
cannam@125
|
1478
|
cannam@125
|
1479 2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1480
|
cannam@125
|
1481 * tests/utils.tpl
|
cannam@125
|
1482 On windows, make sure the open() function doesn't get called with a third
|
cannam@125
|
1483 parameter of 0 which fails for no good reason. Also make sure this third
|
cannam@125
|
1484 parameter doesn't get called with S_IRGRP when compiling for windows because
|
cannam@125
|
1485 Wine complains.
|
cannam@125
|
1486
|
cannam@125
|
1487 * src/sndfile.hh
|
cannam@125
|
1488 Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
|
cannam@125
|
1489 string.
|
cannam@125
|
1490
|
cannam@125
|
1491 * doc/FAQ.html
|
cannam@125
|
1492 Add Q/A : I'm cross compiling libsndfile for another platform. How can I
|
cannam@125
|
1493 run the test suite?
|
cannam@125
|
1494
|
cannam@125
|
1495 * src/create_symbols_file.py src/Makefile.am
|
cannam@125
|
1496 Add Symbols.static target, a list of symbols, one per line.
|
cannam@125
|
1497
|
cannam@125
|
1498 2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1499
|
cannam@125
|
1500 * tests/test_wrapper.sh.in
|
cannam@125
|
1501 Update to allow all tests to be gathered up into a testsuite tarball and
|
cannam@125
|
1502 then be run using this script.
|
cannam@125
|
1503
|
cannam@125
|
1504 * build-test-tarball.mk.in
|
cannam@125
|
1505 Add a Make script to build a tarball of all the test binaries and the test
|
cannam@125
|
1506 wrapper script. This is useful for cross compiling; you can build the
|
cannam@125
|
1507 binaries, build test test tarball and transfer the test tarball to the
|
cannam@125
|
1508 target machine for testing.
|
cannam@125
|
1509
|
cannam@125
|
1510 2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1511
|
cannam@125
|
1512 * src/common.h src/*.c
|
cannam@125
|
1513 Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
|
cannam@125
|
1514 for the file path, directory and name. Fixes for this change throughout.
|
cannam@125
|
1515
|
cannam@125
|
1516 * src/windows.c src/Makefile.am
|
cannam@125
|
1517 New file defining new windows only public function sf_wchar_open() which
|
cannam@125
|
1518 takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
|
cannam@125
|
1519
|
cannam@125
|
1520 * src/sndfile.h.in
|
cannam@125
|
1521 Add SF_CHANNEL_MAP_ABISONIC_* entries.
|
cannam@125
|
1522 Add windows only defintion for sf_wchar_open().
|
cannam@125
|
1523
|
cannam@125
|
1524 * src/create_symbols_file.py
|
cannam@125
|
1525 Add sf_wchar_open() to the list of public symbols (windows only).
|
cannam@125
|
1526
|
cannam@125
|
1527 * tests/locale_test.c
|
cannam@125
|
1528 Add a wchar_test() to test sf_wchar_open().
|
cannam@125
|
1529
|
cannam@125
|
1530 2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1531
|
cannam@125
|
1532 * src/common.h src/*.c
|
cannam@125
|
1533 Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
|
cannam@125
|
1534
|
cannam@125
|
1535 2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1536
|
cannam@125
|
1537 * src/aiff.c src/voc.c
|
cannam@125
|
1538 When a byte is needed, use unsigned char.
|
cannam@125
|
1539
|
cannam@125
|
1540 * src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
|
cannam@125
|
1541 Include sfconfig.h to prevent compile errors with MinGW compilers.
|
cannam@125
|
1542
|
cannam@125
|
1543 * configure.ac
|
cannam@125
|
1544 Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
|
cannam@125
|
1545
|
cannam@125
|
1546 * tests/locale_test.c
|
cannam@125
|
1547 Update to work with xx_XX.UTF-8 style locales. Refactoring.
|
cannam@125
|
1548
|
cannam@125
|
1549 2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1550
|
cannam@125
|
1551 * configure.ac
|
cannam@125
|
1552 Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
|
cannam@125
|
1553 Remove unneeded AC_SUBST.
|
cannam@125
|
1554 Report Host CPU/OS/vendor.
|
cannam@125
|
1555
|
cannam@125
|
1556 2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1557
|
cannam@125
|
1558 * src/sndfile.c
|
cannam@125
|
1559 Fix error message string.
|
cannam@125
|
1560
|
cannam@125
|
1561 * src/flac.c
|
cannam@125
|
1562 Add 88200 to the list of supported sample rates.
|
cannam@125
|
1563
|
cannam@125
|
1564 * src/ogg.c
|
cannam@125
|
1565 Fix compiler warning when using gcc-4.5.0.
|
cannam@125
|
1566
|
cannam@125
|
1567 * programs/sndfile-info.c tests/utils.tpl
|
cannam@125
|
1568 Remove WIN32 snprintf #define.
|
cannam@125
|
1569
|
cannam@125
|
1570 * src/ima_adpcm.c
|
cannam@125
|
1571 Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
|
cannam@125
|
1572 this.
|
cannam@125
|
1573
|
cannam@125
|
1574 2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1575
|
cannam@125
|
1576 * src/caf.c
|
cannam@125
|
1577 Use the correct C99 format specifier for int64_t.
|
cannam@125
|
1578
|
cannam@125
|
1579 * M4/endian.m4
|
cannam@125
|
1580 Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
|
cannam@125
|
1581 Ossman for the bug report.
|
cannam@125
|
1582
|
cannam@125
|
1583 * src/caf.c src/sndfile.c
|
cannam@125
|
1584 Fix reading and writing of PEAK chunks in CAF files.
|
cannam@125
|
1585
|
cannam@125
|
1586 * tests/peak_chunk_test.c tests/test_wrapper.sh.in
|
cannam@125
|
1587 Run peak_chunk_test on CAF files.
|
cannam@125
|
1588
|
cannam@125
|
1589 2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1590
|
cannam@125
|
1591 * src/aiff.c src/wav.c
|
cannam@125
|
1592 Use the correct C99 format specifier for int64_t.
|
cannam@125
|
1593
|
cannam@125
|
1594 2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1595
|
cannam@125
|
1596 * src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
|
cannam@125
|
1597 Apply a patch (massaged slightly) from Uli Franke adding handling of the
|
cannam@125
|
1598 BEXT chunk in RF64 files.
|
cannam@125
|
1599
|
cannam@125
|
1600 * tests/command_test.c
|
cannam@125
|
1601 Update channel_map_test() function so WAV test passes.
|
cannam@125
|
1602
|
cannam@125
|
1603 * src/rf64.c
|
cannam@125
|
1604 Add channel mapping and ambisonic support.
|
cannam@125
|
1605
|
cannam@125
|
1606 * src/sndfile.h
|
cannam@125
|
1607 Add comments showing correspondance between libsndfile channel map
|
cannam@125
|
1608 defintiions and those used by Apple and MS.
|
cannam@125
|
1609
|
cannam@125
|
1610 Add handling of reading/writing channel map info.
|
cannam@125
|
1611
|
cannam@125
|
1612 * tests/command_test.c tests/test_wrapper.sh.in
|
cannam@125
|
1613 Update channel map tests.
|
cannam@125
|
1614
|
cannam@125
|
1615 2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1616
|
cannam@125
|
1617 * src/common.h
|
cannam@125
|
1618 Add function psf_isprint() a replacement for the standard C isprint()
|
cannam@125
|
1619 function which ignores any locale settings and treats all input as ASCII.
|
cannam@125
|
1620
|
cannam@125
|
1621 * src/(aiff|common|rf64|sd2|strings|svx|wav).c
|
cannam@125
|
1622 Use psf_isprint() instead of isprint().
|
cannam@125
|
1623
|
cannam@125
|
1624 2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1625
|
cannam@125
|
1626 * src/command.c
|
cannam@125
|
1627 Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
|
cannam@125
|
1628
|
cannam@125
|
1629 2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1630
|
cannam@125
|
1631 * programs/sndfile-play.c
|
cannam@125
|
1632 Allow use of Open Sound System audio output under FreeBSD.
|
cannam@125
|
1633
|
cannam@125
|
1634 2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1635
|
cannam@125
|
1636 * configure.ac
|
cannam@125
|
1637 Add patch from Conrad Parker to add --disable-jack.
|
cannam@125
|
1638
|
cannam@125
|
1639 2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1640
|
cannam@125
|
1641 * src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
|
cannam@125
|
1642 Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
|
cannam@125
|
1643 Thanks to Sami Liedes for reporting this a Debian bug #530831.
|
cannam@125
|
1644
|
cannam@125
|
1645 2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1646
|
cannam@125
|
1647 * src/chanmap.[ch]
|
cannam@125
|
1648 New files for channel map decoding/encoding.
|
cannam@125
|
1649
|
cannam@125
|
1650 2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1651
|
cannam@125
|
1652 * configure.ac src/sndfile.h.in
|
cannam@125
|
1653 Fix MSVC definition of sf_count_t.
|
cannam@125
|
1654
|
cannam@125
|
1655 2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1656
|
cannam@125
|
1657 * src/wav_w64.[ch]
|
cannam@125
|
1658 Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
|
cannam@125
|
1659 an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
|
cannam@125
|
1660
|
cannam@125
|
1661 * src/wav.c
|
cannam@125
|
1662 Add ability to write the channel mask.
|
cannam@125
|
1663
|
cannam@125
|
1664 2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1665
|
cannam@125
|
1666 * programs/sndfile-info.c
|
cannam@125
|
1667 Add -c command line option to dump the channel map information.
|
cannam@125
|
1668
|
cannam@125
|
1669 * src/wav_w64.c
|
cannam@125
|
1670 Don't bail from parser if channel map bitmask is faulty.
|
cannam@125
|
1671
|
cannam@125
|
1672 * src/common.h src/sndfile.c
|
cannam@125
|
1673 Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
|
cannam@125
|
1674
|
cannam@125
|
1675 * src/sndfile.c
|
cannam@125
|
1676 On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
|
cannam@125
|
1677 command handler.
|
cannam@125
|
1678
|
cannam@125
|
1679 2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1680
|
cannam@125
|
1681 * src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
|
cannam@125
|
1682 Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
|
cannam@125
|
1683 channel data in WAV and W64 files.
|
cannam@125
|
1684 Add a test for the above.
|
cannam@125
|
1685
|
cannam@125
|
1686 2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1687
|
cannam@125
|
1688 * src/FAQ.html
|
cannam@125
|
1689 Update the section about pre-compiled binaries for Win64.
|
cannam@125
|
1690
|
cannam@125
|
1691 2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1692
|
cannam@125
|
1693 * src/common.h src/test_conversions.c
|
cannam@125
|
1694 Be more careful when including <stdint.h> so compiling on pre-C99 platforms
|
cannam@125
|
1695 (hello Slowlaris) might actually work.
|
cannam@125
|
1696
|
cannam@125
|
1697 * NEWS README doc/*.html
|
cannam@125
|
1698 Updates for 1.0.20.
|
cannam@125
|
1699
|
cannam@125
|
1700 2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1701
|
cannam@125
|
1702 * src/voc.c
|
cannam@125
|
1703 Fix a bug whereby opening a specially crafted VOC file could result in a
|
cannam@125
|
1704 heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
|
cannam@125
|
1705 this issue.
|
cannam@125
|
1706
|
cannam@125
|
1707 * src/aiff.c
|
cannam@125
|
1708 Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
|
cannam@125
|
1709
|
cannam@125
|
1710 2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1711
|
cannam@125
|
1712 * tests/stdin_test.c
|
cannam@125
|
1713 Check psf->error after opening file.
|
cannam@125
|
1714
|
cannam@125
|
1715 * src/file_io.c
|
cannam@125
|
1716 Fix obscure seeking bug reported by Hugh Secker-Walker.
|
cannam@125
|
1717
|
cannam@125
|
1718 * tests/utils.tpl
|
cannam@125
|
1719 Add check of sf_error to test_open_file_or_die().
|
cannam@125
|
1720
|
cannam@125
|
1721 * src/sndfile.c
|
cannam@125
|
1722 Clear error if opening resource fork fails.
|
cannam@125
|
1723
|
cannam@125
|
1724 2009-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1725
|
cannam@125
|
1726 * tests/alaw_test.c tests/locale_test.c tests/ulaw_test.c
|
cannam@125
|
1727 Cleanup output.
|
cannam@125
|
1728
|
cannam@125
|
1729 2009-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1730
|
cannam@125
|
1731 * src/float32.c
|
cannam@125
|
1732 Fix f2s_clip_array.
|
cannam@125
|
1733
|
cannam@125
|
1734 2009-03-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1735
|
cannam@125
|
1736 * src/float32.c
|
cannam@125
|
1737 In host_read_f2s call convert instead of f2s_array.
|
cannam@125
|
1738
|
cannam@125
|
1739 * src/ima_adpcm.c
|
cannam@125
|
1740 Remove dead code.
|
cannam@125
|
1741
|
cannam@125
|
1742 * src/test_ima_oki_adpcm.c examples/generate.c tests/dither_test.c
|
cannam@125
|
1743 tests/dwvw_test.c tests/fix_this.c tests/generate.c
|
cannam@125
|
1744 tests/multi_file_test.c
|
cannam@125
|
1745 Minor fixes.
|
cannam@125
|
1746
|
cannam@125
|
1747 2009-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1748
|
cannam@125
|
1749 * M4/shave.m4 shave.in
|
cannam@125
|
1750 Pulled update from upstream.
|
cannam@125
|
1751
|
cannam@125
|
1752 2009-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1753
|
cannam@125
|
1754 * doc/api.html
|
cannam@125
|
1755 Add pointers to example programs in source code tarball.
|
cannam@125
|
1756
|
cannam@125
|
1757 2009-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1758
|
cannam@125
|
1759 * src/common.h
|
cannam@125
|
1760 Define SF_PLATFORM_S64 for non-gcc compilers with 'long long' type.
|
cannam@125
|
1761
|
cannam@125
|
1762 * configure.ac
|
cannam@125
|
1763 Add documentation for --disable-external-libs and improve error handling
|
cannam@125
|
1764 for that option.
|
cannam@125
|
1765
|
cannam@125
|
1766 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
|
cannam@125
|
1767 Add public function sf_version_string.
|
cannam@125
|
1768
|
cannam@125
|
1769 * tests/sfversion.c
|
cannam@125
|
1770 Test function sf_version_string.
|
cannam@125
|
1771
|
cannam@125
|
1772 * M4/shave.m4 shave-libtool.in shave.in
|
cannam@125
|
1773 Add new files from 'git clone git://git.lespiau.name/shave'.
|
cannam@125
|
1774
|
cannam@125
|
1775 * configure.ac
|
cannam@125
|
1776 Enable shave.
|
cannam@125
|
1777
|
cannam@125
|
1778 * src/Makefile.am src/binheader_writef_check.py Octave/*
|
cannam@125
|
1779 Shave related tweaks.
|
cannam@125
|
1780
|
cannam@125
|
1781 2009-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1782
|
cannam@125
|
1783 * src/common.h src/caf.c src/sndfile.c
|
cannam@125
|
1784 Add SF_MAX_CHANNELS (set to 256) and use it.
|
cannam@125
|
1785
|
cannam@125
|
1786 * src/sndfile.h.in
|
cannam@125
|
1787 Check for either _MSCVER or _MSC_VER being defined.
|
cannam@125
|
1788
|
cannam@125
|
1789 2009-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1790
|
cannam@125
|
1791 * tests/vorbis_test.c
|
cannam@125
|
1792 Relax test slighly to allow test to pass on more CPUs etc.
|
cannam@125
|
1793
|
cannam@125
|
1794 2009-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1795
|
cannam@125
|
1796 * configure.ac
|
cannam@125
|
1797 Detect vorbis_version_string() correctly.
|
cannam@125
|
1798
|
cannam@125
|
1799 2009-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1800
|
cannam@125
|
1801 * doc/index.html
|
cannam@125
|
1802 Add a 'See Also' section with a link to sndfile-tools.
|
cannam@125
|
1803
|
cannam@125
|
1804 * NEWS README doc/*.html
|
cannam@125
|
1805 Updates for 1.0.19 release.
|
cannam@125
|
1806
|
cannam@125
|
1807 * configure.ac
|
cannam@125
|
1808 Fix --enable-external-libs logic.
|
cannam@125
|
1809
|
cannam@125
|
1810 2009-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1811
|
cannam@125
|
1812 * src/aiff.c
|
cannam@125
|
1813 Fix resource leak and potential read beyond end of buffer.
|
cannam@125
|
1814
|
cannam@125
|
1815 * src/nist.c
|
cannam@125
|
1816 Fix reading of header value sample_n_bytes.
|
cannam@125
|
1817
|
cannam@125
|
1818 * src/sd2.c src/wav.c
|
cannam@125
|
1819 Fix potential read beyond end of buffer.
|
cannam@125
|
1820
|
cannam@125
|
1821 * src/sndfile.c src/svx.c
|
cannam@125
|
1822 Check return values of file_io functions.
|
cannam@125
|
1823
|
cannam@125
|
1824 * tests/win32_test.c
|
cannam@125
|
1825 Fix resource leak.
|
cannam@125
|
1826
|
cannam@125
|
1827 * configure.ac
|
cannam@125
|
1828 Detect the presence/absence of vorbis_version_string() in libvorbis.
|
cannam@125
|
1829
|
cannam@125
|
1830 * src/ogg.c
|
cannam@125
|
1831 Only call vorbis_version_string() from libvorbis if present.
|
cannam@125
|
1832
|
cannam@125
|
1833 2009-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1834
|
cannam@125
|
1835 * tests/win32_test.c
|
cannam@125
|
1836 Don't use sprintf, even on windows.
|
cannam@125
|
1837
|
cannam@125
|
1838 * src/aiff.c src/rf64.c src/wav.c
|
cannam@125
|
1839 Eliminate dead code, more validation of data read from file.
|
cannam@125
|
1840
|
cannam@125
|
1841 2009-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1842
|
cannam@125
|
1843 * src/ima_adpcm.c
|
cannam@125
|
1844 Clamp values to a valid range before indexing ima_step_size array.
|
cannam@125
|
1845
|
cannam@125
|
1846 * src/GSM610/*.c tests/*c programs/*.c src/audio_detect.c
|
cannam@125
|
1847 Don't include un-needed headers.
|
cannam@125
|
1848
|
cannam@125
|
1849 * programs/sndfile-info.c
|
cannam@125
|
1850 Remove dead code.
|
cannam@125
|
1851
|
cannam@125
|
1852 * tests/test_wrapper.sh.in
|
cannam@125
|
1853 Add 'set -e' so the script exits on error.
|
cannam@125
|
1854
|
cannam@125
|
1855 * src/test_ima_oki_adpcm.c
|
cannam@125
|
1856 Fix read beyond end of array.
|
cannam@125
|
1857
|
cannam@125
|
1858 * tests/win32_test.c
|
cannam@125
|
1859 Add missing close on file descriptor.
|
cannam@125
|
1860
|
cannam@125
|
1861 * src/nist.c programs/sndfile-metadata-set.c
|
cannam@125
|
1862 Fix 'unused variable' warnings.
|
cannam@125
|
1863
|
cannam@125
|
1864 * src/aiff.c
|
cannam@125
|
1865 Fix potential memory leak in handling of 'MARK' chunk.
|
cannam@125
|
1866 Remove un-needed test (unsigned > 0).
|
cannam@125
|
1867
|
cannam@125
|
1868 * src/sd2.c
|
cannam@125
|
1869 Improve handling of heap allocated buffer.
|
cannam@125
|
1870
|
cannam@125
|
1871 * src/sndfile.c
|
cannam@125
|
1872 Remove un-needed test (always true).
|
cannam@125
|
1873
|
cannam@125
|
1874 * src/wav.c src/rf64.c
|
cannam@125
|
1875 Ifdef out dead code that will be resurected some time in the future.
|
cannam@125
|
1876
|
cannam@125
|
1877 * src/wav.c src/w64.c src/xi.c
|
cannam@125
|
1878 Handle error return values from psf_ftell.
|
cannam@125
|
1879
|
cannam@125
|
1880 * src/wav_w64.c
|
cannam@125
|
1881 Fix handling and error checking of MSADPCM coefficient arrays.
|
cannam@125
|
1882
|
cannam@125
|
1883 * regtest/*.c
|
cannam@125
|
1884 Bunch of fixes.
|
cannam@125
|
1885
|
cannam@125
|
1886 * src/test_file_io.c
|
cannam@125
|
1887 Use snprintf instead of strncpy in test program.
|
cannam@125
|
1888
|
cannam@125
|
1889 2009-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1890
|
cannam@125
|
1891 * src/sd2.c
|
cannam@125
|
1892 Validate data before using.
|
cannam@125
|
1893
|
cannam@125
|
1894 * src/caf.c
|
cannam@125
|
1895 Validate channels per frame value before using, fixing a possible integer
|
cannam@125
|
1896 overflow bug, leading to a possible heap overflow. Found by Alin Rad Pop of
|
cannam@125
|
1897 Secunia Research (CVE-2009-0186).
|
cannam@125
|
1898
|
cannam@125
|
1899 2009-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1900
|
cannam@125
|
1901 * Octave/octave_test.sh
|
cannam@125
|
1902 Unset TERM environment variable and export LD_LIBRARY_PATH.
|
cannam@125
|
1903
|
cannam@125
|
1904 2009-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1905
|
cannam@125
|
1906 * src/file_io.c
|
cannam@125
|
1907 In windows code, cast LPVOID to 'char*' in printf.
|
cannam@125
|
1908
|
cannam@125
|
1909 2009-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1910
|
cannam@125
|
1911 * M4/octave.m4
|
cannam@125
|
1912 Clear the TERM environment before evaluating anything in Octave. This works
|
cannam@125
|
1913 around problems that might occur if a users TERM settings are incorrect.
|
cannam@125
|
1914 Thanks to Rob Til Freedmen for helping to debug this.
|
cannam@125
|
1915
|
cannam@125
|
1916 * src/wav.c
|
cannam@125
|
1917 Handle four zero bytes as a marker within a LIST or INFO chunk.
|
cannam@125
|
1918 Thanks to Rogério Brito for supplying an example file.
|
cannam@125
|
1919
|
cannam@125
|
1920 2009-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1921
|
cannam@125
|
1922 * src/common.h src/*.c
|
cannam@125
|
1923 Use C99 snprintf everywhere.
|
cannam@125
|
1924
|
cannam@125
|
1925 2009-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1926
|
cannam@125
|
1927 * tests/test_wrapper.sh.in
|
cannam@125
|
1928 New file to act as the template for the test wrapper script.
|
cannam@125
|
1929
|
cannam@125
|
1930 * configure.ac
|
cannam@125
|
1931 Generate tests/test_wrapper.sh from the template.
|
cannam@125
|
1932
|
cannam@125
|
1933 * tests/Makefile.am
|
cannam@125
|
1934 Replace all tests with a single invocation of the test wrapper script.
|
cannam@125
|
1935
|
cannam@125
|
1936 2009-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1937
|
cannam@125
|
1938 * src/ogg.c
|
cannam@125
|
1939 Record vorbis library version string.
|
cannam@125
|
1940
|
cannam@125
|
1941 * configure.ac
|
cannam@125
|
1942 Require libvorbis >= 1.2.2.
|
cannam@125
|
1943
|
cannam@125
|
1944 * M4/endian.m4
|
cannam@125
|
1945 Fix bracketing of function for autoconf 2.63. Thanks to Richard Ash.
|
cannam@125
|
1946
|
cannam@125
|
1947 * M4/octave.m4 M4/mkoctfile_version.m4
|
cannam@125
|
1948 Clean up AC_WITH_ARG usage using AC_HELP_STRING.
|
cannam@125
|
1949
|
cannam@125
|
1950 2009-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1951
|
cannam@125
|
1952 * Octave/Makefile.am
|
cannam@125
|
1953 Use $(top_buildir) instead of $(builddir) which may not be defined.
|
cannam@125
|
1954
|
cannam@125
|
1955 * M4/octave.m4
|
cannam@125
|
1956 Improve logic and status reporting.
|
cannam@125
|
1957
|
cannam@125
|
1958 2009-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1959
|
cannam@125
|
1960 * configure.ac AUTHORS NEWS README doc/*.html
|
cannam@125
|
1961 Final tweaks for 1.0.18 release.
|
cannam@125
|
1962
|
cannam@125
|
1963 2009-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1964
|
cannam@125
|
1965 * programs/sndfile-convert.c
|
cannam@125
|
1966 Add 'htk' to the list of convert formats.
|
cannam@125
|
1967
|
cannam@125
|
1968 * programs/sndfile-info.c
|
cannam@125
|
1969 Simplify get_signal_max using SFC_CALC_SIGNAL_MAX command.
|
cannam@125
|
1970 Increase size of files for which signal max will be calculated.
|
cannam@125
|
1971
|
cannam@125
|
1972 2009-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1973
|
cannam@125
|
1974 * doc/index.html
|
cannam@125
|
1975 Fix links for SoX and WavPlay. Thanks to Daniel Griscom.
|
cannam@125
|
1976
|
cannam@125
|
1977 2009-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1978
|
cannam@125
|
1979 * programs/sndfile-metadata-get.c
|
cannam@125
|
1980 Make valgrind clean.
|
cannam@125
|
1981 Clean up temp string array usage.
|
cannam@125
|
1982 Error out if trying to update coding history in RDWR mode.
|
cannam@125
|
1983
|
cannam@125
|
1984 2009-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1985
|
cannam@125
|
1986 * doc/index.html
|
cannam@125
|
1987 Fix links to versions of the LGPL.
|
cannam@125
|
1988
|
cannam@125
|
1989 2008-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
1990
|
cannam@125
|
1991 * tests/string_test.c
|
cannam@125
|
1992 Add test for RDWR mode where the file ends up shorter than when it was
|
cannam@125
|
1993 opened.
|
cannam@125
|
1994
|
cannam@125
|
1995 * src/wav.c
|
cannam@125
|
1996 Truncate the file on close for RDWR mode where the file ends up shorter
|
cannam@125
|
1997 than when it was opened.
|
cannam@125
|
1998
|
cannam@125
|
1999 2008-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2000
|
cannam@125
|
2001 * M4/add_cflags.m4
|
cannam@125
|
2002 Fix problem with quoting of '#include'.
|
cannam@125
|
2003
|
cannam@125
|
2004 * M4/add_cxxflags.m4 configure.ac
|
cannam@125
|
2005 Add new file M4/add_cxxflags.m4 and use it in configure.ac.
|
cannam@125
|
2006
|
cannam@125
|
2007 2008-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2008
|
cannam@125
|
2009 * programs/sndfile-info.c
|
cannam@125
|
2010 Apply patch from Conrad Parker to calculate and display total duration when
|
cannam@125
|
2011 more than one file is dumped.
|
cannam@125
|
2012
|
cannam@125
|
2013 2008-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2014
|
cannam@125
|
2015 * configure.ac src/Makefile.am
|
cannam@125
|
2016 Tweaks to generation of Symbols files.
|
cannam@125
|
2017
|
cannam@125
|
2018 * tests/win32_ordinal_test.c
|
cannam@125
|
2019 Update tests for above changes.
|
cannam@125
|
2020
|
cannam@125
|
2021 2008-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2022
|
cannam@125
|
2023 * programs/common.c
|
cannam@125
|
2024 When merging broadcast info, make sure to clear the destination field
|
cannam@125
|
2025 before copying in the new data.
|
cannam@125
|
2026
|
cannam@125
|
2027 * programs/test-sndfile-metadata-set.py
|
cannam@125
|
2028 Add test for the above.
|
cannam@125
|
2029
|
cannam@125
|
2030 * src/broadcast.c
|
cannam@125
|
2031 Fix checking of required coding_history_size.
|
cannam@125
|
2032
|
cannam@125
|
2033 2008-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2034
|
cannam@125
|
2035 * tests/command_test.c
|
cannam@125
|
2036 Add test to detect if coding history is truncated.
|
cannam@125
|
2037
|
cannam@125
|
2038 * src/broadcast.c
|
cannam@125
|
2039 Fix truncation of coding history.
|
cannam@125
|
2040
|
cannam@125
|
2041 2008-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2042
|
cannam@125
|
2043 * tests/command_test.c
|
cannam@125
|
2044 Add broadcast_coding_history_size test.
|
cannam@125
|
2045
|
cannam@125
|
2046 * programs/*.[ch]
|
cannam@125
|
2047 Use SF_BROADCAST_INFO_VAR to manipulate larger 'bext' chunks.
|
cannam@125
|
2048
|
cannam@125
|
2049 * src/rf64.c
|
cannam@125
|
2050 Add code to prevent infinite loop on malformed file.
|
cannam@125
|
2051
|
cannam@125
|
2052 * src/common.h src/sndfile.c src/w64.c src/wav_w64.c
|
cannam@125
|
2053 Rationalize and improve error handling when parsing 'fmt ' chunk.
|
cannam@125
|
2054
|
cannam@125
|
2055 * M4/octave.m4
|
cannam@125
|
2056 Simplify and remove cruft.
|
cannam@125
|
2057 Check for correct Octave version.
|
cannam@125
|
2058
|
cannam@125
|
2059 * Octave/*
|
cannam@125
|
2060 Reduce 3 C++ files to one, fix build for octave 3.0, fix build.
|
cannam@125
|
2061
|
cannam@125
|
2062 * Octave/sndfile.cc Octave/PKG_ADD
|
cannam@125
|
2063 Add Octave function sfversion which returns the libsndfile version that the
|
cannam@125
|
2064 module is linked against.
|
cannam@125
|
2065
|
cannam@125
|
2066 * Octave/Makefile.am
|
cannam@125
|
2067 Bunch of build and 'make distcheck' fixes.
|
cannam@125
|
2068
|
cannam@125
|
2069 2008-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2070
|
cannam@125
|
2071 * programs/common.c
|
cannam@125
|
2072 Return 1 if SFC_SET_BROADCAST_INFO fails.
|
cannam@125
|
2073
|
cannam@125
|
2074 * programs/test-sndfile-metadata-set.py
|
cannam@125
|
2075 Update for new programs directory, exit on any error.
|
cannam@125
|
2076
|
cannam@125
|
2077 * tests/error_test.c
|
cannam@125
|
2078 Fix failure behaviour in error_number_test.
|
cannam@125
|
2079
|
cannam@125
|
2080 * src/common.h src/sndfile.c
|
cannam@125
|
2081 Add error number SFE_BAD_BROADCAST_INFO_SIZE.
|
cannam@125
|
2082
|
cannam@125
|
2083 * src/*
|
cannam@125
|
2084 Reimplement handling of broadcast extentioon chunk in WAV/WAVEX files.
|
cannam@125
|
2085
|
cannam@125
|
2086 * src/broadcast.c
|
cannam@125
|
2087 Fix generation of added coding history.
|
cannam@125
|
2088
|
cannam@125
|
2089 2008-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2090
|
cannam@125
|
2091 * programs/sndfile-metadata-get.c programs/sndfile-info.c
|
cannam@125
|
2092 Exit with non-zero on errors.
|
cannam@125
|
2093
|
cannam@125
|
2094 2008-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2095
|
cannam@125
|
2096 * examples/sndfile-to-text.c examples/Makefile.am
|
cannam@125
|
2097 Add a new example program and hook it into the build.
|
cannam@125
|
2098
|
cannam@125
|
2099 * examples/ programs/
|
cannam@125
|
2100 Add a new directory programs and move sndfile-info, sndfile-play and other
|
cannam@125
|
2101 real programs to the new directory, leaving example programs where they
|
cannam@125
|
2102 were.
|
cannam@125
|
2103
|
cannam@125
|
2104 2008-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2105
|
cannam@125
|
2106 * tests/Makefile.am
|
cannam@125
|
2107 Automake 1.10 MinGW cross compiling fixes.
|
cannam@125
|
2108
|
cannam@125
|
2109 2008-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2110
|
cannam@125
|
2111 * examples/sndfile-play.c
|
cannam@125
|
2112 Remove call to deprecated function snd_pcm_sw_params_get_xfer_align.
|
cannam@125
|
2113 Fix gcc-4.3 compiler warnings.
|
cannam@125
|
2114
|
cannam@125
|
2115 * tests/command_test.c
|
cannam@125
|
2116 Fix a valgrind warning.
|
cannam@125
|
2117
|
cannam@125
|
2118 * tests/error_test.c tests/multi_file_test.c tests/peak_chunk_test.c
|
cannam@125
|
2119 tests/pipe_test.tpl tests/stdio_test.c tests/win32_test.c
|
cannam@125
|
2120 Fix gcc-4.3 compiler warnings.
|
cannam@125
|
2121
|
cannam@125
|
2122 2008-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2123
|
cannam@125
|
2124 * src/broadcast.c
|
cannam@125
|
2125 Fix termination of desitination string in strncpy_crlf.
|
cannam@125
|
2126 When copying BROADCAST_INFO chunk, make sure destination gets correct line
|
cannam@125
|
2127 endings.
|
cannam@125
|
2128
|
cannam@125
|
2129 * examples/common.c
|
cannam@125
|
2130 Fix copying of BROADCAST_INFO coding_history field.
|
cannam@125
|
2131
|
cannam@125
|
2132 2008-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2133
|
cannam@125
|
2134 * tests/command_test.c
|
cannam@125
|
2135 Add test function instrument_rw_test, but don't hook it into the testing
|
cannam@125
|
2136 yet.
|
cannam@125
|
2137
|
cannam@125
|
2138 * src/common.h src/command.c src/sndfile.c src/flac.c
|
cannam@125
|
2139 Error code rationalization.
|
cannam@125
|
2140
|
cannam@125
|
2141 * src/common.h src/sndfile.c
|
cannam@125
|
2142 Set psf->error to SFE_CMD_HAS_DATA when adding metadata via sf_command()
|
cannam@125
|
2143 fails due to psf->have_written being true.
|
cannam@125
|
2144
|
cannam@125
|
2145 * doc/command.html
|
cannam@125
|
2146 Document the SFC_GET/SET_BROADCAST_INFO comamnds.
|
cannam@125
|
2147
|
cannam@125
|
2148 2008-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2149
|
cannam@125
|
2150 * tests/command_test.c
|
cannam@125
|
2151 Improve error reporting when '\0' is found in coding history.
|
cannam@125
|
2152 Fix false failure.
|
cannam@125
|
2153
|
cannam@125
|
2154 2008-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2155
|
cannam@125
|
2156 * src/broadcast.c
|
cannam@125
|
2157 Convert all coding history line endings to \r\n.
|
cannam@125
|
2158
|
cannam@125
|
2159 * tests/command_test.c
|
cannam@125
|
2160 Add test to make sure all line endings are converted to \r\n.
|
cannam@125
|
2161
|
cannam@125
|
2162 2008-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2163
|
cannam@125
|
2164 * src/broadcast.c
|
cannam@125
|
2165 Changed the order of coding history fields.
|
cannam@125
|
2166
|
cannam@125
|
2167 * tests/command_test.c
|
cannam@125
|
2168 Update bextch test to cope with previous change.
|
cannam@125
|
2169
|
cannam@125
|
2170 * examples/common.c
|
cannam@125
|
2171 Add extra length check when copying broadcast info data.
|
cannam@125
|
2172
|
cannam@125
|
2173 2008-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2174
|
cannam@125
|
2175 * tests/utils.tpl tests/pcm_test.tpl
|
cannam@125
|
2176 Update check_file_hash_or_die to use 64 bit hash.
|
cannam@125
|
2177
|
cannam@125
|
2178 * tests/checksum_test.c tests/Makefile.am
|
cannam@125
|
2179 Add new checksum_test specifically for lossy compression of headerless
|
cannam@125
|
2180 files.
|
cannam@125
|
2181
|
cannam@125
|
2182 2008-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2183
|
cannam@125
|
2184 * src/gsm610.c
|
cannam@125
|
2185 Seek to psf->dataoffset before decoding first block.
|
cannam@125
|
2186
|
cannam@125
|
2187 * src/sndfile.c
|
cannam@125
|
2188 Fix detection of mpc2k files on big endian systems.
|
cannam@125
|
2189
|
cannam@125
|
2190 2008-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2191
|
cannam@125
|
2192 * src/broadcast.c
|
cannam@125
|
2193 Use '\r\n' newlines in Coding History as required by spec.
|
cannam@125
|
2194
|
cannam@125
|
2195 2008-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2196
|
cannam@125
|
2197 * src/test_conversions.c
|
cannam@125
|
2198 Use int64_t instead of 'long long'.
|
cannam@125
|
2199
|
cannam@125
|
2200 2008-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2201
|
cannam@125
|
2202 * examples/sndfile-metadata-set.c
|
cannam@125
|
2203 Remove --bext-coding-history-append command line option because it didn't
|
cannam@125
|
2204 really make sense.
|
cannam@125
|
2205
|
cannam@125
|
2206 * examples/sndfile-metadata-(get|set).c
|
cannam@125
|
2207 Add usage messages.
|
cannam@125
|
2208
|
cannam@125
|
2209 * examples/test-sndfile-metadata-set.py
|
cannam@125
|
2210 Start work on test coding history.
|
cannam@125
|
2211
|
cannam@125
|
2212 2008-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2213
|
cannam@125
|
2214 * README doc/win32.html
|
cannam@125
|
2215 Bring these up to date.
|
cannam@125
|
2216
|
cannam@125
|
2217 * src/aiff.c
|
cannam@125
|
2218 Fix parsing of REX files.
|
cannam@125
|
2219
|
cannam@125
|
2220 2008-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2221
|
cannam@125
|
2222 * src/file_io.c
|
cannam@125
|
2223 Use intptr_t instead of long for return value of _get_osfhandle.
|
cannam@125
|
2224
|
cannam@125
|
2225 * src/test_conversions.c src/test_endswap.tpl
|
cannam@125
|
2226 Fix printing of int64_t values.
|
cannam@125
|
2227
|
cannam@125
|
2228 * examples/sndfile-play.c
|
cannam@125
|
2229 Fix win64 issues.
|
cannam@125
|
2230
|
cannam@125
|
2231 * tests/win32_ordinal_test.c
|
cannam@125
|
2232 Fix calling of GetProcAddress with ordinal under win64.
|
cannam@125
|
2233
|
cannam@125
|
2234 * tests/utils.tpl
|
cannam@125
|
2235 Fix win64 issues.
|
cannam@125
|
2236
|
cannam@125
|
2237 2008-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2238
|
cannam@125
|
2239 * examples/*
|
cannam@125
|
2240 Rename copy_data.[ch] to common.[ch]. Fix build.
|
cannam@125
|
2241 Move code from sndfile-metadata-set.c to common.c.
|
cannam@125
|
2242
|
cannam@125
|
2243 * examples/Makefile.am tests/Makefile.am regtest/Makefile.am
|
cannam@125
|
2244 Clean paths.
|
cannam@125
|
2245
|
cannam@125
|
2246 2008-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2247
|
cannam@125
|
2248 * doc/tutorial.html doc/Makefile.am
|
cannam@125
|
2249 Add file doc/tutorial.html and hook into build/dist system.
|
cannam@125
|
2250
|
cannam@125
|
2251 2008-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2252
|
cannam@125
|
2253 * examples/sndfile-metadata-set.c
|
cannam@125
|
2254 Clean up handling of bext command line params.
|
cannam@125
|
2255
|
cannam@125
|
2256 2008-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2257
|
cannam@125
|
2258 * src/w64.c
|
cannam@125
|
2259 Add handling/skipping of a couple of new chunk types.
|
cannam@125
|
2260
|
cannam@125
|
2261 2008-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2262
|
cannam@125
|
2263 * configure.ac
|
cannam@125
|
2264 Add -funsigned-char to CFLAGS if the compiler supports it.
|
cannam@125
|
2265
|
cannam@125
|
2266 * examples/sndfile-metadata-(get|set).c
|
cannam@125
|
2267 Add handling for more metadata types.
|
cannam@125
|
2268
|
cannam@125
|
2269 2008-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2270
|
cannam@125
|
2271 * src/common.h
|
cannam@125
|
2272 Add macros SF_CONTAINER, SF_CODEC and SF_ENDIAN useful for splitting format
|
cannam@125
|
2273 field of SF_INFO into component parts.
|
cannam@125
|
2274
|
cannam@125
|
2275 * src/*.c
|
cannam@125
|
2276 Use new macros everywhere it is appropriate.
|
cannam@125
|
2277
|
cannam@125
|
2278 2008-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2279
|
cannam@125
|
2280 * examples/sndfile-bwf-set.c
|
cannam@125
|
2281 Massive reworking.
|
cannam@125
|
2282
|
cannam@125
|
2283 2008-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2284
|
cannam@125
|
2285 * examples/sndfile-bwf-set.c
|
cannam@125
|
2286 Add --info-auto-create-date command line option.
|
cannam@125
|
2287
|
cannam@125
|
2288 * examples/sndfile-metadata-set.c examples/sndfile-metadata-get.c
|
cannam@125
|
2289 examples/Makefile.am examples/test-sndfile-bwf-set.py
|
cannam@125
|
2290 Rename sndfile-bwf-(set|get).c to sndfile-metadata-(set|get).c.
|
cannam@125
|
2291 Change command line args.
|
cannam@125
|
2292
|
cannam@125
|
2293 2008-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2294
|
cannam@125
|
2295 * src/wav.c
|
cannam@125
|
2296 Allow 'PAD ' chunk to be modified in RDWR mode.
|
cannam@125
|
2297
|
cannam@125
|
2298 * src/sndfile.h.in src/sndfile.c
|
cannam@125
|
2299 Add handling (incomplete) for SFC_SET_ADD_HEADER_PAD_CHUNK.
|
cannam@125
|
2300
|
cannam@125
|
2301 * tests/Makefile.am tests/write_read_test.tpl tests/header_test.tpl
|
cannam@125
|
2302 tests/misc_test.c
|
cannam@125
|
2303 Add tests for RF64.
|
cannam@125
|
2304
|
cannam@125
|
2305 * src/rf64.c
|
cannam@125
|
2306 Fixes to make sure all tests pass.
|
cannam@125
|
2307
|
cannam@125
|
2308 * tests/Makefile.am tests/string_test.c
|
cannam@125
|
2309 Add string tests (not yet passing).
|
cannam@125
|
2310
|
cannam@125
|
2311 2008-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2312
|
cannam@125
|
2313 * src/rf64.c
|
cannam@125
|
2314 First pass at writing RF64 now working.
|
cannam@125
|
2315
|
cannam@125
|
2316 2008-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2317
|
cannam@125
|
2318 * examples/sndfile-convert.c
|
cannam@125
|
2319 Add SF_FORMAT_RF64 to format_map.
|
cannam@125
|
2320
|
cannam@125
|
2321 * src/common.h src/sndfile.c
|
cannam@125
|
2322 More RF64 support code.
|
cannam@125
|
2323
|
cannam@125
|
2324 * examples/sndfile-bwf-set.c
|
cannam@125
|
2325 Fix the month number in autogenerated date string and use hypen in date
|
cannam@125
|
2326 instead of slash.
|
cannam@125
|
2327
|
cannam@125
|
2328 * examples/test-sndfile-bwf-set.py
|
cannam@125
|
2329 Update tests.
|
cannam@125
|
2330
|
cannam@125
|
2331 * examples/sndfile-info.c
|
cannam@125
|
2332 When called with -i or -b option, operate on all files on command line, not
|
cannam@125
|
2333 just the first.
|
cannam@125
|
2334
|
cannam@125
|
2335 2008-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2336
|
cannam@125
|
2337 * src/rf64.c
|
cannam@125
|
2338 New file to handle RF64 (WAV like format supportting > 4Gig files).
|
cannam@125
|
2339
|
cannam@125
|
2340 * src/sndfile.h.in src/common.h src/sndfile.c src/Makefile.am
|
cannam@125
|
2341 Hook the above into build so hacking can begin.
|
cannam@125
|
2342
|
cannam@125
|
2343 * src/pcm.c
|
cannam@125
|
2344 Improve log message when pcm_init fails.
|
cannam@125
|
2345
|
cannam@125
|
2346 * src/sndfile-info.c
|
cannam@125
|
2347 Only calculate and print 'Signal Max' if file is less than 10 megabytes in
|
cannam@125
|
2348 length.
|
cannam@125
|
2349
|
cannam@125
|
2350 2008-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2351
|
cannam@125
|
2352 * tests/string_test.c
|
cannam@125
|
2353 Polish string_multi_set_test.
|
cannam@125
|
2354
|
cannam@125
|
2355 * src/wav.c
|
cannam@125
|
2356 In RDWR mode, pad the header if necessary (ie LIST chunk has moved or
|
cannam@125
|
2357 length has changed).
|
cannam@125
|
2358 Minor fixes in wav_write_strings.
|
cannam@125
|
2359 Write PAD chunk with default endian-ness, not a specific endian-ness.
|
cannam@125
|
2360
|
cannam@125
|
2361 * examples/test-sndfile-bwf-set.py
|
cannam@125
|
2362 Add Python script to test sndfile-bwf-set/get.
|
cannam@125
|
2363
|
cannam@125
|
2364 * examples/sndfile-bwf-set.c
|
cannam@125
|
2365 Clean up and fixes.
|
cannam@125
|
2366
|
cannam@125
|
2367 * src/wav.c
|
cannam@125
|
2368 Merge function wavex_write_header into wav_write_header, deleting about 70
|
cannam@125
|
2369 lines of code.
|
cannam@125
|
2370
|
cannam@125
|
2371 * src/common.h
|
cannam@125
|
2372 Double value of SF_MAX_STRINGS.
|
cannam@125
|
2373
|
cannam@125
|
2374 * tests/string_test.c
|
cannam@125
|
2375 Add string tests for WAVEX and RIFX files.
|
cannam@125
|
2376
|
cannam@125
|
2377 * tests/command_test.c
|
cannam@125
|
2378 Add broadcast test for WAVEX files.
|
cannam@125
|
2379
|
cannam@125
|
2380 2008-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2381
|
cannam@125
|
2382 * tests/string_test.c
|
cannam@125
|
2383 Add a new string_rdwr_test (currently failing for WAV).
|
cannam@125
|
2384 Add a new string_multi_set_test (currently failing).
|
cannam@125
|
2385
|
cannam@125
|
2386 * tests/command_test.c
|
cannam@125
|
2387 Add new broadcast_rdwr_test (currently failing).
|
cannam@125
|
2388
|
cannam@125
|
2389 * src/wav.c
|
cannam@125
|
2390 Fix to WAV parser to allow 'bext' chunk to be updated in place.
|
cannam@125
|
2391 In wav_write_tailer, seek to psf->dataend if its greater than zero.
|
cannam@125
|
2392
|
cannam@125
|
2393 * src/sndfile.c
|
cannam@125
|
2394 Make sure psf->have_written gets set correctly in mode SFM_RDWR.
|
cannam@125
|
2395
|
cannam@125
|
2396 * configure.ac
|
cannam@125
|
2397 Test for <sys/time.h> and gettimeofday.
|
cannam@125
|
2398
|
cannam@125
|
2399 * src/common.c
|
cannam@125
|
2400 Use gettimeofday() to initialize psf_rand_int32.
|
cannam@125
|
2401
|
cannam@125
|
2402 * src/common.h src/sndfile.c
|
cannam@125
|
2403 Add unique_id field to SF_PRIVATE struct.
|
cannam@125
|
2404
|
cannam@125
|
2405 * src/common.h src/sndfile.c src/wav.c src/wav_w64.[ch]
|
cannam@125
|
2406 Move wavex_ambisonic field from SF_PRIVATE struct to WAV_PRIVATE struct.
|
cannam@125
|
2407
|
cannam@125
|
2408 * src/common.h src/strings.c
|
cannam@125
|
2409 Add function psf_location_string_count.
|
cannam@125
|
2410
|
cannam@125
|
2411 2008-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2412
|
cannam@125
|
2413 * configure.ac
|
cannam@125
|
2414 Test for localtime and localtime_r.
|
cannam@125
|
2415
|
cannam@125
|
2416 * examples/sndfile-convert.c
|
cannam@125
|
2417 In function copy_metadata(), copy broadcast info if present.
|
cannam@125
|
2418
|
cannam@125
|
2419 * examples/copy_data.[ch] examples/Makefile.am
|
cannam@125
|
2420 Break some functionality out of sndfile-convert.c so it can be used in
|
cannam@125
|
2421 examples/sndfile-bwf-set.c.
|
cannam@125
|
2422
|
cannam@125
|
2423 * tests/utils.tpl
|
cannam@125
|
2424 Add new function create_short_sndfile().
|
cannam@125
|
2425
|
cannam@125
|
2426 * examples/sndfile-bwf-set.c examples/sndfile-bwf-get.c
|
cannam@125
|
2427 examples/Makefile.am
|
cannam@125
|
2428 Add new files and hook into build.
|
cannam@125
|
2429
|
cannam@125
|
2430 2008-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2431
|
cannam@125
|
2432 * src/sndfile.h.in
|
cannam@125
|
2433 Fix comments. Patch from Mark Glines.
|
cannam@125
|
2434
|
cannam@125
|
2435 2008-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2436
|
cannam@125
|
2437 * tests/misc_test.c
|
cannam@125
|
2438 Use zero_data_test on Ogg/Vorbis files.
|
cannam@125
|
2439
|
cannam@125
|
2440 * src/ogg.c
|
cannam@125
|
2441 Fix segfault when closing an Ogg/Vorbis file that has been opened for write
|
cannam@125
|
2442 but had no actual data written to it. Bug reported by Chinoy Gupta.
|
cannam@125
|
2443
|
cannam@125
|
2444 * tests/Makefile.am
|
cannam@125
|
2445 Make sure to run mist_test on Ogg/Vorbis files.
|
cannam@125
|
2446
|
cannam@125
|
2447 2008-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2448
|
cannam@125
|
2449 * regtest/Makefile.am
|
cannam@125
|
2450 Use SQLITE3_CFLAGS to locate sqlite headers.
|
cannam@125
|
2451
|
cannam@125
|
2452 2008-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2453
|
cannam@125
|
2454 * doc/index.html doc/FAQ.html
|
cannam@125
|
2455 Add notes about which versions of windows libsndfile works on.
|
cannam@125
|
2456
|
cannam@125
|
2457 2008-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2458
|
cannam@125
|
2459 * tests/misc_test.c
|
cannam@125
|
2460 Add a test for correct handling of Ambisonic files. Thanks to Fons
|
cannam@125
|
2461 Adriaensen for the test.
|
cannam@125
|
2462
|
cannam@125
|
2463 * src/wav.c src/wav_w64.c
|
cannam@125
|
2464 Fix handling of Ambisonic files. Thanks to Fons Adriaensen for the patch.
|
cannam@125
|
2465
|
cannam@125
|
2466 2008-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2467
|
cannam@125
|
2468 * configure.ac
|
cannam@125
|
2469 Fix detection/enabling of external libs.
|
cannam@125
|
2470
|
cannam@125
|
2471 * M4/extra_pkg.m4 M4/Makefile.am
|
cannam@125
|
2472 Add m4 macro PKG_CHECK_MOD_VERSION which is a hacked version
|
cannam@125
|
2473 PKG_CHECK_MODULES. The new macro prints the version number of the package
|
cannam@125
|
2474 it is searching for.
|
cannam@125
|
2475
|
cannam@125
|
2476 2008-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2477
|
cannam@125
|
2478 * src/aiff.c
|
cannam@125
|
2479 Apply a fix from Axel Röbel where if the second loop in the instrument
|
cannam@125
|
2480 chunk is none, the loop mode is written into the first loop.
|
cannam@125
|
2481
|
cannam@125
|
2482 2008-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2483
|
cannam@125
|
2484 * src/test_float.c src/test_main.(c|h) src/Makefile.am
|
cannam@125
|
2485 Add new file to test functions float32_(le|be)_(read|write) and
|
cannam@125
|
2486 double64_(le|be)_(read|write). Hook into build and testsuite.
|
cannam@125
|
2487
|
cannam@125
|
2488 * src/double64.c src/float32.c
|
cannam@125
|
2489 Fix bugs in functions found by test added above. Thanks to Nicolas Castagne
|
cannam@125
|
2490 for reporting this bug.
|
cannam@125
|
2491
|
cannam@125
|
2492 * src/sndfile.h.in
|
cannam@125
|
2493 Change time_reference_(low|high) entries of SF_BROADCAST_INFO struct to
|
cannam@125
|
2494 unsigned.
|
cannam@125
|
2495
|
cannam@125
|
2496 * examples/sndfile-info.c
|
cannam@125
|
2497 Print out the BEXT time reference in a sensible format.
|
cannam@125
|
2498
|
cannam@125
|
2499 2008-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2500
|
cannam@125
|
2501 * src/*.c
|
cannam@125
|
2502 Fuzz fixes.
|
cannam@125
|
2503
|
cannam@125
|
2504 * src/ogg.c
|
cannam@125
|
2505 Add call to ogg_stream_clear to fix valgrind warning.
|
cannam@125
|
2506
|
cannam@125
|
2507 * src/aiff.c
|
cannam@125
|
2508 Fix x86_64 compile issue.
|
cannam@125
|
2509
|
cannam@125
|
2510 * configure.ac src/Makefile.am src/flac.c src/ogg.c
|
cannam@125
|
2511 Link to external versions of FLAC, Ogg and Vorbis.
|
cannam@125
|
2512
|
cannam@125
|
2513 * tests/lossy_comp_test.c tests/ogg_test.c tests/string_test.c
|
cannam@125
|
2514 tests/vorbis_test.c tests/write_read_test.tpl
|
cannam@125
|
2515 Fix tests when configured with --disable-external-libs.
|
cannam@125
|
2516
|
cannam@125
|
2517 * tests/external_libs_test.c tests/Makefile.am
|
cannam@125
|
2518 Add new test and hook into build and test suite.
|
cannam@125
|
2519
|
cannam@125
|
2520 * src/command.c
|
cannam@125
|
2521 Use HAVE_EXTERNAL_LIBS to ensure that the SFC_GET_FORMAT_* commands return
|
cannam@125
|
2522 the right data when external libs are disabled.
|
cannam@125
|
2523
|
cannam@125
|
2524 2008-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2525
|
cannam@125
|
2526 * tests/write_read_test.tpl
|
cannam@125
|
2527 Add a test for extending a file during write by seeking past the current
|
cannam@125
|
2528 end of file.
|
cannam@125
|
2529
|
cannam@125
|
2530 * src/sndfile.c
|
cannam@125
|
2531 Allow seeking past end of file during write.
|
cannam@125
|
2532
|
cannam@125
|
2533 2008-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2534
|
cannam@125
|
2535 * doc/api.html doc/command.html
|
cannam@125
|
2536 Move all information about the sf_command function to command.html and add
|
cannam@125
|
2537 a link from documentation of the sf_read/write_raw function to the
|
cannam@125
|
2538 SFC_RAW_NEEDS_ENDSWAP command.
|
cannam@125
|
2539
|
cannam@125
|
2540 * doc/index.html doc/FAQ.html doc/libsndfile.css
|
cannam@125
|
2541 Minor documentation tweaks.
|
cannam@125
|
2542
|
cannam@125
|
2543 2008-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2544
|
cannam@125
|
2545 * configure.ac
|
cannam@125
|
2546 Add AM_PROG_CC_C_O.
|
cannam@125
|
2547
|
cannam@125
|
2548 2008-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2549
|
cannam@125
|
2550 * tests/error_test.c
|
cannam@125
|
2551 Add a test to make sure if file opened with sf_open_fd, and then the file
|
cannam@125
|
2552 descriptor is closed, then sf_close will return an error code. Thanks to
|
cannam@125
|
2553 Dave Flogeras for the bug report.
|
cannam@125
|
2554
|
cannam@125
|
2555 * src/sndfile.c
|
cannam@125
|
2556 Make sf_close return an error is the file descriptor is already closed.
|
cannam@125
|
2557
|
cannam@125
|
2558 2008-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2559
|
cannam@125
|
2560 * configure.ac
|
cannam@125
|
2561 Set object format to aout for OS/2. Thanks to David Yeo.
|
cannam@125
|
2562
|
cannam@125
|
2563 * src/mpc2k.c src/sndfile.c src/sndfile.h.in src/common.h src/Makefile.am
|
cannam@125
|
2564 Add ability to read MPC 2000 file.
|
cannam@125
|
2565
|
cannam@125
|
2566 * tests/write_read_test.tpl tests/misc_test.c tests/header_test.tpl
|
cannam@125
|
2567 tests/Makefile.am
|
cannam@125
|
2568 Add tests for MPC 2000 file format.
|
cannam@125
|
2569
|
cannam@125
|
2570 * examples/sndfile-convert.c
|
cannam@125
|
2571 Allow conversion to MPC 2000 file format.
|
cannam@125
|
2572
|
cannam@125
|
2573 2008-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2574
|
cannam@125
|
2575 * src/VORBIS/lib/codebook.c
|
cannam@125
|
2576 Sync from upstream SVN.
|
cannam@125
|
2577
|
cannam@125
|
2578 * autogen.sh configure.ac
|
cannam@125
|
2579 Minor tweaks.
|
cannam@125
|
2580
|
cannam@125
|
2581 2008-04-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2582
|
cannam@125
|
2583 * src/ogg.c
|
cannam@125
|
2584 Add a patch that fixes finding the length in samples of an Ogg/Vorbis file.
|
cannam@125
|
2585 The patch as supplied segfaulted and required many hours of debugging.
|
cannam@125
|
2586
|
cannam@125
|
2587 * src/OGG/bitwise.c
|
cannam@125
|
2588 Sync from upstream SVN.
|
cannam@125
|
2589
|
cannam@125
|
2590 2008-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2591
|
cannam@125
|
2592 * src/aiff.c
|
cannam@125
|
2593 Fix up handling of 'APPL' chunk. Thanks to Axel Röbel for bringing up
|
cannam@125
|
2594 this issue.
|
cannam@125
|
2595
|
cannam@125
|
2596 2008-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2597
|
cannam@125
|
2598 * tests/*.c
|
cannam@125
|
2599 Add calls to sf_close() where needed.
|
cannam@125
|
2600
|
cannam@125
|
2601 * tests/utils.tpl tests/multi_file_test.c
|
cannam@125
|
2602 Always pass 0 as the third argument to open when OS_IS_WIN32.
|
cannam@125
|
2603
|
cannam@125
|
2604 2008-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2605
|
cannam@125
|
2606 * src/test_*
|
cannam@125
|
2607 Add files test_main.[ch].
|
cannam@125
|
2608 Collapse all tests into a single executable.
|
cannam@125
|
2609
|
cannam@125
|
2610 2008-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2611
|
cannam@125
|
2612 * src/FLAC
|
cannam@125
|
2613 Sync to upstream CVS.
|
cannam@125
|
2614
|
cannam@125
|
2615 2008-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2616
|
cannam@125
|
2617 * src/common.h
|
cannam@125
|
2618 Make SF_MIN and SF_MAX macros MinGW friendly.
|
cannam@125
|
2619
|
cannam@125
|
2620 * examples/sndfile-(info|play).c
|
cannam@125
|
2621 Use Sleep function from <windows.h> instead of _sleep.
|
cannam@125
|
2622
|
cannam@125
|
2623 * tests/locale_test.c
|
cannam@125
|
2624 Disable some tests when OS_IS_WIN32.
|
cannam@125
|
2625
|
cannam@125
|
2626 * src/FLAC/src/share/replaygain_anal/replaygain_analysis.c
|
cannam@125
|
2627 src/FLAC/src/share/utf8/utf8.c
|
cannam@125
|
2628 MinGW fixes.
|
cannam@125
|
2629
|
cannam@125
|
2630 2008-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2631
|
cannam@125
|
2632 * doc/FAQ.html
|
cannam@125
|
2633 Tweaks to pcm16 <-> float conversion answer.
|
cannam@125
|
2634
|
cannam@125
|
2635 2008-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2636
|
cannam@125
|
2637 * src/OGG
|
cannam@125
|
2638 Sync to SVN upstream.
|
cannam@125
|
2639
|
cannam@125
|
2640 * Makefile.am
|
cannam@125
|
2641 Add 'DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror'.
|
cannam@125
|
2642
|
cannam@125
|
2643 2008-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2644
|
cannam@125
|
2645 * examples/sndfile-jackplay.c
|
cannam@125
|
2646 Minor tweaks to warning message printed when compiled without libjack.
|
cannam@125
|
2647
|
cannam@125
|
2648 2008-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2649
|
cannam@125
|
2650 * tests/peak_chunk_test.c
|
cannam@125
|
2651 Improve read_write_peak_test to find more errors. Inspired by example
|
cannam@125
|
2652 provided by Nicolas Castagne.
|
cannam@125
|
2653
|
cannam@125
|
2654 * src/aiff.c
|
cannam@125
|
2655 Another SFM_RDWR fix shown up by above test.
|
cannam@125
|
2656
|
cannam@125
|
2657 2008-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2658
|
cannam@125
|
2659 * src/aiff.c
|
cannam@125
|
2660 Fix reading of COMM encoding string.
|
cannam@125
|
2661
|
cannam@125
|
2662 * src/chunk.c src/common.h src/Makefile.am
|
cannam@125
|
2663 New file for storing and retrieving info about header chunks. Hook into
|
cannam@125
|
2664 build.
|
cannam@125
|
2665
|
cannam@125
|
2666 * src/aiff.c
|
cannam@125
|
2667 Use new chunk logging to fix problem with AIFF in RDWR mode.
|
cannam@125
|
2668
|
cannam@125
|
2669 2008-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2670
|
cannam@125
|
2671 * src/command.c
|
cannam@125
|
2672 Add WVE to the list of major formats.
|
cannam@125
|
2673
|
cannam@125
|
2674 * tests/aiff_rw_test.c
|
cannam@125
|
2675 Fix error reporting.
|
cannam@125
|
2676
|
cannam@125
|
2677 2008-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2678
|
cannam@125
|
2679 * src/common.[ch]
|
cannam@125
|
2680 Add internal functions str_of_major_format, str_of_minor_format,
|
cannam@125
|
2681 str_of_open_mode and str_of_endianness.
|
cannam@125
|
2682
|
cannam@125
|
2683 * tests/write_read_test.tpl
|
cannam@125
|
2684 Fix reporting of errors in new_rdwr_XXXX_test.
|
cannam@125
|
2685
|
cannam@125
|
2686 2008-01-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2687
|
cannam@125
|
2688 * examples/sndfile-play.c
|
cannam@125
|
2689 Apply patch from Yair K. to fix compiles with OSS v4.
|
cannam@125
|
2690
|
cannam@125
|
2691 * src/common.h src/float32.c src/double64.c
|
cannam@125
|
2692 Rename psf->float_enswap to psf->data_endswap.
|
cannam@125
|
2693
|
cannam@125
|
2694 * src/sndfile.h.in src/sndfile.c src/pcm.c
|
cannam@125
|
2695 Add command SFC_RAW_NEEDS_ENDSWAP.
|
cannam@125
|
2696
|
cannam@125
|
2697 * tests/command.c
|
cannam@125
|
2698 Add test for SFC_RAW_NEEDS_ENDSWAP.
|
cannam@125
|
2699
|
cannam@125
|
2700 * doc/command.html
|
cannam@125
|
2701 Document SFC_RAW_NEEDS_ENDSWAP.
|
cannam@125
|
2702
|
cannam@125
|
2703 * tests/peak_chunk_test.c
|
cannam@125
|
2704 Add test function read_write_peak_test. Thanks to Nicolas Castagne for the
|
cannam@125
|
2705 bug report.
|
cannam@125
|
2706
|
cannam@125
|
2707 2008-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2708
|
cannam@125
|
2709 * examples/sndfile-cmp.c
|
cannam@125
|
2710 Add new example program contributed by Conrad Parker.
|
cannam@125
|
2711
|
cannam@125
|
2712 * examples/Makefile.am
|
cannam@125
|
2713 Hook into build.
|
cannam@125
|
2714
|
cannam@125
|
2715 * doc/development.html
|
cannam@125
|
2716 Change use or reconfigure.mk to autogen.sh.
|
cannam@125
|
2717
|
cannam@125
|
2718 2008-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2719
|
cannam@125
|
2720 * tests/win32_test.c
|
cannam@125
|
2721 Add another win32 test.
|
cannam@125
|
2722
|
cannam@125
|
2723 * tests/util.tpl
|
cannam@125
|
2724 Add function file_length_fd which wraps fstat.
|
cannam@125
|
2725
|
cannam@125
|
2726 * tests/Makefile.am
|
cannam@125
|
2727 Run the multi_file_test on AU files.
|
cannam@125
|
2728
|
cannam@125
|
2729 * tests/multi_file_test.c
|
cannam@125
|
2730 Use function file_length_fd() instead of file_length() to overcome stupid
|
cannam@125
|
2731 win32 bug. Fscking hell Microsoft sucks so much.
|
cannam@125
|
2732
|
cannam@125
|
2733 2008-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2734
|
cannam@125
|
2735 * src/sd2.c
|
cannam@125
|
2736 Fix a rsrc parsing bug. Example file supplied by Uli Franke.
|
cannam@125
|
2737
|
cannam@125
|
2738 2007-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2739
|
cannam@125
|
2740 * doc/index.html
|
cannam@125
|
2741 Allow use of either LGPL v2.1 or LGPL v3.
|
cannam@125
|
2742
|
cannam@125
|
2743 * tests/header_test.tpl
|
cannam@125
|
2744 Add header_shrink_test from Axel Röbel.
|
cannam@125
|
2745
|
cannam@125
|
2746 * src/wav.c
|
cannam@125
|
2747 Add fix from Axel Röbel for writing files with float data but no peak
|
cannam@125
|
2748 chunk (ie peak chunk gets removed after the file is opened).
|
cannam@125
|
2749
|
cannam@125
|
2750 * src/aiff.c tests/header_test.tpl
|
cannam@125
|
2751 Apply similar fix to above for AIFF files.
|
cannam@125
|
2752
|
cannam@125
|
2753 * src/wav.c tests/header_test.tpl
|
cannam@125
|
2754 Apply similar fix to above for WAVEX files.
|
cannam@125
|
2755
|
cannam@125
|
2756 * src/command.c
|
cannam@125
|
2757 Add Ogg/Vorbis to 'get format' commands.
|
cannam@125
|
2758
|
cannam@125
|
2759 2007-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2760
|
cannam@125
|
2761 * src/ogg.c
|
cannam@125
|
2762 Fix seeking on multichannel Ogg Vorbis files. Reported by Bodo.
|
cannam@125
|
2763 Set the default encoding quality to 0.4 instead of 4.0 (Bodo again).
|
cannam@125
|
2764
|
cannam@125
|
2765 * tests/ogg_test.c
|
cannam@125
|
2766 Add stereo seek tests.
|
cannam@125
|
2767
|
cannam@125
|
2768 2007-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2769
|
cannam@125
|
2770 * tests/ogg_test.c
|
cannam@125
|
2771 Add a test (currently failing) for stereo seeking on Ogg Vorbis files. Test
|
cannam@125
|
2772 case supplied by Bodo.
|
cannam@125
|
2773
|
cannam@125
|
2774 * tests/utils.(def|tpl)
|
cannam@125
|
2775 Add compare_XXX_or_die functions.
|
cannam@125
|
2776
|
cannam@125
|
2777 2007-12-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2778
|
cannam@125
|
2779 * src/aiff.c
|
cannam@125
|
2780 Fix a bug where ignoring ssnd_fmt.offset and ssnd_fmt.blocksize caused
|
cannam@125
|
2781 misaligned reading of 24 bit data. Thanks to Uli Franke for reporting this.
|
cannam@125
|
2782
|
cannam@125
|
2783 2007-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2784
|
cannam@125
|
2785 * src/vox_adpcm.c src/ima_oki_adpcm.[ch] src/Makefile.am
|
cannam@125
|
2786 Merge in code from the vox-patch branch. Thanks to Robs for the patch
|
cannam@125
|
2787 which fixes a long standing bug in the VOX codec.
|
cannam@125
|
2788
|
cannam@125
|
2789 2007-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2790
|
cannam@125
|
2791 * examples/sndfile-convert.c
|
cannam@125
|
2792 Fix handling of -override-sample-rate=X option.
|
cannam@125
|
2793
|
cannam@125
|
2794 2007-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2795
|
cannam@125
|
2796 * src/ogg.c src/VORBIS
|
cannam@125
|
2797 Merge in Ogg Vorbis support from John ffitch of the Csound project.
|
cannam@125
|
2798
|
cannam@125
|
2799 2007-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2800
|
cannam@125
|
2801 * src/sndfile.c
|
cannam@125
|
2802 Recognise files with 'vox6' extension as 6kHz OKI VOX ADPCM files. Also
|
cannam@125
|
2803 recognise 'vox8' as and 'vox' as 8kHz files.
|
cannam@125
|
2804
|
cannam@125
|
2805 * configure.ac
|
cannam@125
|
2806 Detect libjack (JACK Audio Connect Kit).
|
cannam@125
|
2807
|
cannam@125
|
2808 * examples/sndfile-jackplay.c examples/Makefile.am
|
cannam@125
|
2809 Add new example program to play sound files using the JACK audio server.
|
cannam@125
|
2810 Thanks to Jonatan Liljedahl for allowing this to be included.
|
cannam@125
|
2811
|
cannam@125
|
2812 2007-11-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2813
|
cannam@125
|
2814 * doc/index.html
|
cannam@125
|
2815 Update support table with SD2 and FLAC.
|
cannam@125
|
2816
|
cannam@125
|
2817 2007-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2818
|
cannam@125
|
2819 * src/sndfile.c
|
cannam@125
|
2820 Fix calculation of internal value psf->read_current when attempting to read
|
cannam@125
|
2821 past end of audio data.
|
cannam@125
|
2822 Remove redundant code.
|
cannam@125
|
2823
|
cannam@125
|
2824 * tests/lossy_comp_test.c
|
cannam@125
|
2825 Add read_raw_test to check that raw reads do not go past the end of the
|
cannam@125
|
2826 audio data section.
|
cannam@125
|
2827 Clean up error output messages.
|
cannam@125
|
2828
|
cannam@125
|
2829 * src/sndfile.c
|
cannam@125
|
2830 Add code to prevent sf_read_raw from reading past the end of the audio data.
|
cannam@125
|
2831
|
cannam@125
|
2832 * tests/Makefile.am
|
cannam@125
|
2833 Add the wav_pcm lossy_comp_test.
|
cannam@125
|
2834
|
cannam@125
|
2835 2007-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2836
|
cannam@125
|
2837 * configure.ac src/Makefile.am src/create_symbols_file.py
|
cannam@125
|
2838 More OS/2 fixes from David Yeo.
|
cannam@125
|
2839
|
cannam@125
|
2840 2007-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2841
|
cannam@125
|
2842 * src/file_io.c tests/utils.tpl tests/benchmark.tpl
|
cannam@125
|
2843 Improve handling of requirements for O_BINARY as suggested by Ed Schouten.
|
cannam@125
|
2844
|
cannam@125
|
2845 2007-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2846
|
cannam@125
|
2847 * src/common.h
|
cannam@125
|
2848 Fix symbol class when SF_MIN is nested inside SF_MAX or vice versa.
|
cannam@125
|
2849
|
cannam@125
|
2850 * src/create_symbols_file.py
|
cannam@125
|
2851 Add support for OS/2 contributed by David Yeo.
|
cannam@125
|
2852
|
cannam@125
|
2853 2007-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2854
|
cannam@125
|
2855 * M4/gcc_version.m4
|
cannam@125
|
2856 Add macro AC_GCC_VERSION to detect GCC_MAJOR_VERSION and GCC_MINOR_VERSION.
|
cannam@125
|
2857
|
cannam@125
|
2858 * configure.ac
|
cannam@125
|
2859 Use AC_GCC_VERSION to work around gcc-4.2 inline warning stupidity.
|
cannam@125
|
2860 See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33995
|
cannam@125
|
2861 Use -fgnu-inline to prevent stupid warnings.
|
cannam@125
|
2862
|
cannam@125
|
2863 2007-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2864
|
cannam@125
|
2865 * tests/util.tpl
|
cannam@125
|
2866 Increase the printing width for print_test_name().
|
cannam@125
|
2867
|
cannam@125
|
2868 * tests/command_test.c tests/Makefile.am
|
cannam@125
|
2869 Add tests for correct updating of broadcast WAV coding history.
|
cannam@125
|
2870
|
cannam@125
|
2871 * examples/sndfilehandle.cc examples/Makefile.am
|
cannam@125
|
2872 Add example program using the C++ SndfileHandle class.
|
cannam@125
|
2873
|
cannam@125
|
2874 2007-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2875
|
cannam@125
|
2876 * src/common.h src/sndfile.c
|
cannam@125
|
2877 Add error codes SFE_ZERO_MAJOR_FORMAT and SFE_ZERO_MINOR_FORMAT.
|
cannam@125
|
2878
|
cannam@125
|
2879 2007-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2880
|
cannam@125
|
2881 * src/sd2.c
|
cannam@125
|
2882 Identify sample-rate/sample-size/channels by resource id.
|
cannam@125
|
2883
|
cannam@125
|
2884 2007-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2885
|
cannam@125
|
2886 * src/broadcast.c src/common.h src/sndfile.c
|
cannam@125
|
2887 Improvements to handling of broadcast info in WAV files. Thanks to Frederic
|
cannam@125
|
2888 Cornu and other for their input.
|
cannam@125
|
2889
|
cannam@125
|
2890 2007-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2891
|
cannam@125
|
2892 * src/FLAC/include/share/alloc.h
|
cannam@125
|
2893 Mingw fix for SIZE_T_MAX from Uli Franke.
|
cannam@125
|
2894
|
cannam@125
|
2895 2007-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2896
|
cannam@125
|
2897 * tests/open_fail_test.c tests/error_test.c tests/Makefile.am
|
cannam@125
|
2898 Move tests from open_fail_test.c to error_test.c and remove the former.
|
cannam@125
|
2899
|
cannam@125
|
2900 2007-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2901
|
cannam@125
|
2902 * tests/scale_clip_test.(def|tpl)
|
cannam@125
|
2903 Add tests for SFC_SET_INT_FLOAT_WRITE command.
|
cannam@125
|
2904
|
cannam@125
|
2905 * doc/command.html
|
cannam@125
|
2906 Add docs for SFC_SET_INT_FLOAT_WRITE command.
|
cannam@125
|
2907
|
cannam@125
|
2908 * examples/sndfile-play.c tests/dft_cmp.c
|
cannam@125
|
2909 Fix gcc-4.2 warning messages.
|
cannam@125
|
2910
|
cannam@125
|
2911 2007-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2912
|
cannam@125
|
2913 * src/sndfile.h.in src/sndfile.c
|
cannam@125
|
2914 Add command SFC_GET_CURRENT_SF_INFO.
|
cannam@125
|
2915
|
cannam@125
|
2916 * src/sndfile.h.in src/sndfile.c src/create_symbols_file.py
|
cannam@125
|
2917 Remove function sf_get_info (only ever in pre-release code).
|
cannam@125
|
2918
|
cannam@125
|
2919 * tests/command_test.c
|
cannam@125
|
2920 Add test for SFC_GET_CURRENT_SF_INFO.
|
cannam@125
|
2921
|
cannam@125
|
2922 2007-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2923
|
cannam@125
|
2924 * src/wav.c
|
cannam@125
|
2925 Add parsing of 'exif' chunks. Originally coded by Trent Apted.
|
cannam@125
|
2926
|
cannam@125
|
2927 * configure.ac
|
cannam@125
|
2928 Put config stuff in Cfg directory.
|
cannam@125
|
2929 Remove check for inttypes.h.
|
cannam@125
|
2930
|
cannam@125
|
2931 2007-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2932
|
cannam@125
|
2933 * src/w64.c
|
cannam@125
|
2934 Fix writing of 'riff' chunk length and check for correct value in parser.
|
cannam@125
|
2935
|
cannam@125
|
2936 2007-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2937
|
cannam@125
|
2938 * doc/index.html
|
cannam@125
|
2939 Link to MP3 FAQ entry.
|
cannam@125
|
2940
|
cannam@125
|
2941 2007-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2942
|
cannam@125
|
2943 * src/flac.c
|
cannam@125
|
2944 Move the blocksize check to an earlier stage of flac_buffer_copy.
|
cannam@125
|
2945
|
cannam@125
|
2946 2007-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2947
|
cannam@125
|
2948 * src/FLAC
|
cannam@125
|
2949 Huge merge from FLAC upstream.
|
cannam@125
|
2950
|
cannam@125
|
2951 2007-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2952
|
cannam@125
|
2953 * examples/*.c
|
cannam@125
|
2954 Change license to all example programs to BSD.
|
cannam@125
|
2955
|
cannam@125
|
2956 2007-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2957
|
cannam@125
|
2958 * src/FLAC/include/FLAC/metadata.h
|
cannam@125
|
2959 Include <sys/types.h> to prevent compile error on OSX.
|
cannam@125
|
2960
|
cannam@125
|
2961 * Octave/octave_test.sh
|
cannam@125
|
2962 Disable test on OSX. Can't get it to work.
|
cannam@125
|
2963
|
cannam@125
|
2964 * src/flac.c
|
cannam@125
|
2965 Check the blocksize returned from the FLAC decoder to prevent buffer
|
cannam@125
|
2966 overruns. Reported by Jeremy Friesner. Thanks.
|
cannam@125
|
2967
|
cannam@125
|
2968 2007-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2969
|
cannam@125
|
2970 * Makefile.am M4/octave.m4
|
cannam@125
|
2971 Fix build when Octave headers are not present.
|
cannam@125
|
2972
|
cannam@125
|
2973 2007-08-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2974
|
cannam@125
|
2975 * doc/development.html
|
cannam@125
|
2976 Add note about bzr repository directory looking empty.
|
cannam@125
|
2977
|
cannam@125
|
2978 2007-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2979
|
cannam@125
|
2980 * configure.ac Octave/* M4/octave_*
|
cannam@125
|
2981 Bunch of changes to add ability to build GNU Octave modules to read/write
|
cannam@125
|
2982 sound files using libsndfile from Octave.
|
cannam@125
|
2983
|
cannam@125
|
2984 2007-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2985
|
cannam@125
|
2986 * acinclude.m4 configure.ac ...
|
cannam@125
|
2987 Get rid of acinclude.m4 and replace it with an M4 directory.
|
cannam@125
|
2988
|
cannam@125
|
2989 2007-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2990
|
cannam@125
|
2991 * src/sndfile.h.in
|
cannam@125
|
2992 Remove crufty Metrowerks compiler support. Allow header file to be compiled
|
cannam@125
|
2993 on windows with both GCC and microsoft compiler.
|
cannam@125
|
2994
|
cannam@125
|
2995 2007-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
2996
|
cannam@125
|
2997 * tests/dft_cmp.[ch] tests/floating_point_test.tpl
|
cannam@125
|
2998 Clean up floating point tests.
|
cannam@125
|
2999
|
cannam@125
|
3000 2007-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3001
|
cannam@125
|
3002 * src/aiff.c
|
cannam@125
|
3003 Fix segfault when COMM chunk length is byte swapped.
|
cannam@125
|
3004
|
cannam@125
|
3005 2007-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3006
|
cannam@125
|
3007 * src/common.h src/mat4.c src/mat5.c src/sndfile.c
|
cannam@125
|
3008 Add a generic SFE_CHANNEL_COUNT_ZERO error, remove format specific errors.
|
cannam@125
|
3009
|
cannam@125
|
3010 * src/au.c
|
cannam@125
|
3011 Fix crash on AU files with zero channel count. Reported by Ben Alison.
|
cannam@125
|
3012
|
cannam@125
|
3013 2007-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3014
|
cannam@125
|
3015 * src/voc.c
|
cannam@125
|
3016 Fix bug in handling file supplied by Matt Olenik.
|
cannam@125
|
3017
|
cannam@125
|
3018 2007-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3019
|
cannam@125
|
3020 * src/OGG
|
cannam@125
|
3021 Merge from OGG upstream sources.
|
cannam@125
|
3022
|
cannam@125
|
3023 2007-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3024
|
cannam@125
|
3025 * src/FLAC
|
cannam@125
|
3026 Merge from FLAC upstream sources.
|
cannam@125
|
3027
|
cannam@125
|
3028 2007-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3029
|
cannam@125
|
3030 * src/flac.c
|
cannam@125
|
3031 Fix memory leak; set copy parameter to FALSE in call to
|
cannam@125
|
3032 FLAC__metadata_object_vorbiscomment_append_comment.
|
cannam@125
|
3033
|
cannam@125
|
3034 * src/common.[ch]
|
cannam@125
|
3035 Add function psf_rand_int32().
|
cannam@125
|
3036
|
cannam@125
|
3037 2007-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3038
|
cannam@125
|
3039 * src/FLAC
|
cannam@125
|
3040 Merge from FLAC upstream sources.
|
cannam@125
|
3041
|
cannam@125
|
3042 * src/strings.c tests/string_test.c tests/Makefile.am
|
cannam@125
|
3043 Make sure string tests for SF_STR_LICENSE actually works.
|
cannam@125
|
3044
|
cannam@125
|
3045 2007-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3046
|
cannam@125
|
3047 * tests/string_test.c
|
cannam@125
|
3048 Add ability to test strings stored in metadata secion of FLAC files.
|
cannam@125
|
3049
|
cannam@125
|
3050 * src/string.c
|
cannam@125
|
3051 Fix logic for testing if audio data has been written and string is added.
|
cannam@125
|
3052 Make sure SF_STR_ALBUM actually works.
|
cannam@125
|
3053
|
cannam@125
|
3054 * src/flac.c
|
cannam@125
|
3055 Finalize reading/writing string metadata. Tests pass.
|
cannam@125
|
3056
|
cannam@125
|
3057 * src/sndfile.h.in tests/string_test.c src/flac.c
|
cannam@125
|
3058 Add string type SF_STR_LICENSE, update test and use for FLAC files.
|
cannam@125
|
3059
|
cannam@125
|
3060 * src/sndfile.h.in
|
cannam@125
|
3061 Add definition for SFC_SET_SCALE_FLOAT_INT_WRITE command.
|
cannam@125
|
3062
|
cannam@125
|
3063 * src/common.h src/double64.c src/float32.c src/sndfile.c
|
cannam@125
|
3064 Add support for SFC_SET_SCALE_FLOAT_INT_WRITE (still needs testing).
|
cannam@125
|
3065
|
cannam@125
|
3066 2007-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3067
|
cannam@125
|
3068 * src/flac.c
|
cannam@125
|
3069 Apply patch from Ed Schouten to read artist and title metadata from FLAC
|
cannam@125
|
3070 files.
|
cannam@125
|
3071 Improve reporting of FLAC metadata.
|
cannam@125
|
3072
|
cannam@125
|
3073 * src/sndfile.h.in tests/string_test.c src/flac.c
|
cannam@125
|
3074 Add string type SF_STR_ALBUM, update test and use for FLAC files.
|
cannam@125
|
3075
|
cannam@125
|
3076 2007-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3077
|
cannam@125
|
3078 * src/FLAC/*
|
cannam@125
|
3079 Merge from upstream CVS.
|
cannam@125
|
3080
|
cannam@125
|
3081 2007-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3082
|
cannam@125
|
3083 * src/FLAC/*
|
cannam@125
|
3084 Update from upstream CVS.
|
cannam@125
|
3085
|
cannam@125
|
3086 2007-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3087
|
cannam@125
|
3088 * tests/cpp_test.cc
|
cannam@125
|
3089 Add extra tests for when the SndfileHandle constructor fails.
|
cannam@125
|
3090
|
cannam@125
|
3091 * src/sndfile.hh
|
cannam@125
|
3092 Make sure failure to open the file in the constructor does not allow later
|
cannam@125
|
3093 calls to other methods to fail.
|
cannam@125
|
3094
|
cannam@125
|
3095 2007-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3096
|
cannam@125
|
3097 * tests/util.tpl
|
cannam@125
|
3098 Add function write_mono_file.
|
cannam@125
|
3099
|
cannam@125
|
3100 * tests/generate.[ch] tests/Makefile.am
|
cannam@125
|
3101 Add files generate.[ch] and hook into build.
|
cannam@125
|
3102
|
cannam@125
|
3103 * tests/write_read_test.tpl
|
cannam@125
|
3104 Add multi_seek_test.
|
cannam@125
|
3105
|
cannam@125
|
3106 * src/flac.c
|
cannam@125
|
3107 Fix buffer overflow bug. Test provided by Jeremy Friesner and fix provided
|
cannam@125
|
3108 by David Viens.
|
cannam@125
|
3109
|
cannam@125
|
3110 2007-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3111
|
cannam@125
|
3112 * doc/FAQ.html
|
cannam@125
|
3113 Minor update.
|
cannam@125
|
3114
|
cannam@125
|
3115 * configure.ac src/FLAC/src/libFLAC/ia32/Makefile.am src/Makefile.am
|
cannam@125
|
3116 Apply patch from Trent Apted make it compile on Intel MacOSX. Thanks Trent.
|
cannam@125
|
3117
|
cannam@125
|
3118 2007-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3119
|
cannam@125
|
3120 * src/wav.c
|
cannam@125
|
3121 Fix writing of MSGUID subtypes. Thanks to Bruce Sharpe.
|
cannam@125
|
3122
|
cannam@125
|
3123 2007-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3124
|
cannam@125
|
3125 * src/wav.c
|
cannam@125
|
3126 Fix array indexing bug raised by Bruce Sharpe.
|
cannam@125
|
3127
|
cannam@125
|
3128 2007-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3129
|
cannam@125
|
3130 * src/FLAC/src/share/getopt/getopt.c
|
cannam@125
|
3131 Fix Mac OSX / PowerPC compile warnings.
|
cannam@125
|
3132
|
cannam@125
|
3133 * configure.ac
|
cannam@125
|
3134 Make sure WORDS_BIGENDIAN gets correctly defined for FLAC code.
|
cannam@125
|
3135
|
cannam@125
|
3136 2007-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3137
|
cannam@125
|
3138 * doc/FAQ.html
|
cannam@125
|
3139 Add Q/A about MP3 support.
|
cannam@125
|
3140
|
cannam@125
|
3141 2007-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3142
|
cannam@125
|
3143 * doc/new_file_type.HOWTO
|
cannam@125
|
3144 Minor updates.
|
cannam@125
|
3145
|
cannam@125
|
3146 2007-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3147
|
cannam@125
|
3148 * src/wve.c
|
cannam@125
|
3149 Fix a couple bad parameters with psf_log_printf.
|
cannam@125
|
3150
|
cannam@125
|
3151 * src/pcm.c
|
cannam@125
|
3152 Improve error reporting.
|
cannam@125
|
3153
|
cannam@125
|
3154 * src/common.h src/common.c
|
cannam@125
|
3155 Constify psf_hexdump.
|
cannam@125
|
3156
|
cannam@125
|
3157 2007-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3158
|
cannam@125
|
3159 * src/FLAC
|
cannam@125
|
3160 Ditch and re-import required FLAC code.
|
cannam@125
|
3161
|
cannam@125
|
3162 * configure.ac
|
cannam@125
|
3163 Force FLAC__HAS_OGG variable to 1.
|
cannam@125
|
3164
|
cannam@125
|
3165 * src/FLAC/src/libFLAC/stream_encoder.c
|
cannam@125
|
3166 Fix compiler warnings.
|
cannam@125
|
3167
|
cannam@125
|
3168 2007-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3169
|
cannam@125
|
3170 * configure.ac tests/win32_ordinal_test.c
|
cannam@125
|
3171 Detect if win32 DLL is beging generated and only run win32_ordinal_test if
|
cannam@125
|
3172 true.
|
cannam@125
|
3173
|
cannam@125
|
3174 * src/G72x/Makefile.am src/Makefile.am
|
cannam@125
|
3175 Use $(EXEEXT) where possible.
|
cannam@125
|
3176
|
cannam@125
|
3177 2007-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3178
|
cannam@125
|
3179 * src/wve.c src/common.h src/sndfile.c
|
cannam@125
|
3180 Complete definition of SfE_WVE_NO_WVE error message.
|
cannam@125
|
3181
|
cannam@125
|
3182 * src/wve.c
|
cannam@125
|
3183 Fix error in files generated on big endian systems. Robustify parsing.
|
cannam@125
|
3184
|
cannam@125
|
3185 2007-04-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3186
|
cannam@125
|
3187 * src/double64.c
|
cannam@125
|
3188 Fix clipping of double to short conversions on 64 bit systems.
|
cannam@125
|
3189
|
cannam@125
|
3190 * src/flac.c regtest/database.c tests/cpp_test.cc
|
cannam@125
|
3191 Fix compile warnings for 64 bit systems.
|
cannam@125
|
3192
|
cannam@125
|
3193 2007-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3194
|
cannam@125
|
3195 * src/wav.c src/wav_w64.c
|
cannam@125
|
3196 Use audio detect function when 'fmt ' chunk data is suspicious.
|
cannam@125
|
3197
|
cannam@125
|
3198 * configure.ac
|
cannam@125
|
3199 Add ugly hack to remove -Werror from some Makefiles.
|
cannam@125
|
3200
|
cannam@125
|
3201 2007-04-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3202
|
cannam@125
|
3203 * src/GSM610/long_term.c src/macbinary3.c tests/cpp_test.cc
|
cannam@125
|
3204 Add patch from André Pang to clean up compiles on OSX.
|
cannam@125
|
3205
|
cannam@125
|
3206 * src/wve.c src/common.h src/sndfile.c src/sndfile.h.in
|
cannam@125
|
3207 examples/sndfile-convert.c
|
cannam@125
|
3208 Merge changes from Reuben Thomas to improve WVE support.
|
cannam@125
|
3209
|
cannam@125
|
3210 * tests/lossy_comp_test.c tests/Makefile.am
|
cannam@125
|
3211 Add tests for WVE files.
|
cannam@125
|
3212
|
cannam@125
|
3213 2007-04-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3214
|
cannam@125
|
3215 * src/sndfile.hh
|
cannam@125
|
3216 Add a static SndfileHandle::formatCheck method as suggested by Jorge
|
cannam@125
|
3217 Jiménez.
|
cannam@125
|
3218
|
cannam@125
|
3219 2007-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3220
|
cannam@125
|
3221 * src/sndfile.c
|
cannam@125
|
3222 Fixed a bug in sf_error() where the function itself was being compared
|
cannam@125
|
3223 against zero. Add a check for a NULL return from peak_info_calloc. Fix a
|
cannam@125
|
3224 possible NULL dereference.
|
cannam@125
|
3225
|
cannam@125
|
3226 2007-04-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3227
|
cannam@125
|
3228 * src/flac.c
|
cannam@125
|
3229 Turn off seekable flag when writing, return SFE_BAD_RDWR_FORMAT when
|
cannam@125
|
3230 opening file for RDWR.
|
cannam@125
|
3231
|
cannam@125
|
3232 * src/sndfile.c
|
cannam@125
|
3233 Improve error message for SFE_BAD_RDWR_FORMAT.
|
cannam@125
|
3234
|
cannam@125
|
3235 * src/mat4.c
|
cannam@125
|
3236 Fix array indexing issue. Thanks to Ben Allison (Nullsoft) for alerting me.
|
cannam@125
|
3237
|
cannam@125
|
3238 2007-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3239
|
cannam@125
|
3240 * doc/FAQ.html
|
cannam@125
|
3241 Add Q/A 19 on project files.
|
cannam@125
|
3242
|
cannam@125
|
3243 2007-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3244
|
cannam@125
|
3245 * src/sndfile.c
|
cannam@125
|
3246 Guard agains MacOSX universal binary compiles.
|
cannam@125
|
3247
|
cannam@125
|
3248 * doc/FAQ.html
|
cannam@125
|
3249 Add Q/A 18 and clean up Q3.
|
cannam@125
|
3250
|
cannam@125
|
3251 2007-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3252
|
cannam@125
|
3253 * src/aiff.c
|
cannam@125
|
3254 Add support for 'in24' files.
|
cannam@125
|
3255
|
cannam@125
|
3256 2007-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3257
|
cannam@125
|
3258 * src/wav.c src/wav_w64.c src/wav_w64.h
|
cannam@125
|
3259 Start work towards detecting ausio codec type from the actual audio data.
|
cannam@125
|
3260
|
cannam@125
|
3261 * src/audio_detect.c src/test_audio_detect.c
|
cannam@125
|
3262 Add new file and its unit test.
|
cannam@125
|
3263
|
cannam@125
|
3264 2007-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3265
|
cannam@125
|
3266 * examples/cooledit-fixer.c examples/Makefile.am
|
cannam@125
|
3267 Remove old broken example program.
|
cannam@125
|
3268
|
cannam@125
|
3269 2007-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3270
|
cannam@125
|
3271 * src/sndfile.c src/sndfile.h.in src/create_symbols_file.py
|
cannam@125
|
3272 Add function sf_get_info.
|
cannam@125
|
3273
|
cannam@125
|
3274 2007-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3275
|
cannam@125
|
3276 * examples/sndfile-play.c
|
cannam@125
|
3277 For ALSA, use the 'default' device instead of 'plughw:0'.
|
cannam@125
|
3278
|
cannam@125
|
3279 2007-01-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3280
|
cannam@125
|
3281 * src/sndfile.c
|
cannam@125
|
3282 Allow writing of WAV/WAVEX 'BEXT' chunks in SFM_RDWR mode.
|
cannam@125
|
3283
|
cannam@125
|
3284 2007-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3285
|
cannam@125
|
3286 * doc/development.html doc/embedded_files.html man/sndfile-play.1
|
cannam@125
|
3287 Minor documentation fixes. Thanks Reuben Thomas.
|
cannam@125
|
3288
|
cannam@125
|
3289 2006-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3290
|
cannam@125
|
3291 * examples/sndfile-convert.c
|
cannam@125
|
3292 Add -override-sample-rate command line option.
|
cannam@125
|
3293
|
cannam@125
|
3294 2006-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3295
|
cannam@125
|
3296 * tests/misc_test.c
|
cannam@125
|
3297 Force errno to zero at start of some tests.
|
cannam@125
|
3298
|
cannam@125
|
3299 * src/sndfile.c
|
cannam@125
|
3300 Minor clean up of error handling.
|
cannam@125
|
3301
|
cannam@125
|
3302 * configure.ac
|
cannam@125
|
3303 Remove an assembler test which was failing on OSX.
|
cannam@125
|
3304
|
cannam@125
|
3305 2006-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3306
|
cannam@125
|
3307 * src/common.h
|
cannam@125
|
3308 Fix the definition of SF_PLATFORM_S64 for MinGW.
|
cannam@125
|
3309
|
cannam@125
|
3310 * src/FLAC/Makefile.am src/FLAC/share/grabbag/Makefile.am
|
cannam@125
|
3311 Fix path problems for MinGW.
|
cannam@125
|
3312
|
cannam@125
|
3313 2006-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3314
|
cannam@125
|
3315 * src/sfendian.h
|
cannam@125
|
3316 Add include guard.
|
cannam@125
|
3317
|
cannam@125
|
3318 * src/Makefile.am src/flac.c
|
cannam@125
|
3319 Clean up include paths.
|
cannam@125
|
3320
|
cannam@125
|
3321 * src/test_conversions.c
|
cannam@125
|
3322 New file to test psf_binheader_readf/writef functions.
|
cannam@125
|
3323
|
cannam@125
|
3324 * src/Makefile.am src/test_file_io.c src/test_log_printf.c src/common.c
|
cannam@125
|
3325 Clean up unit testing.
|
cannam@125
|
3326
|
cannam@125
|
3327 * src/common.c
|
cannam@125
|
3328 Fix a bug reading/writing 64 bit header fields. Thanks to Jonathan Woithe
|
cannam@125
|
3329 for reporting this.
|
cannam@125
|
3330
|
cannam@125
|
3331 * src/test_conversions.c
|
cannam@125
|
3332 Complete unit test for above fix.
|
cannam@125
|
3333
|
cannam@125
|
3334 2006-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3335
|
cannam@125
|
3336 * src/sndfile.c
|
cannam@125
|
3337 More refactoring to clean up psf_open_file() and vairous sf_open()
|
cannam@125
|
3338 functions.
|
cannam@125
|
3339
|
cannam@125
|
3340 2006-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3341
|
cannam@125
|
3342 * src/wav.c
|
cannam@125
|
3343 Apply a patch from Jonathan Woithe to allow opening of (malformed) WAV
|
cannam@125
|
3344 files of over 4 gigabytes.
|
cannam@125
|
3345
|
cannam@125
|
3346 2006-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3347
|
cannam@125
|
3348 * src/sndfile.c
|
cannam@125
|
3349 Refactor function psf_open_file() to provide a single return point.
|
cannam@125
|
3350
|
cannam@125
|
3351 * tests/misc_test.c
|
cannam@125
|
3352 Fix permission_test to ensure that read only file can be created.
|
cannam@125
|
3353
|
cannam@125
|
3354 2006-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3355
|
cannam@125
|
3356 * src/common.h
|
cannam@125
|
3357 Add SF_PLATFORM_S64 macro as a platform independant way of doing signed 64
|
cannam@125
|
3358 bit integers.
|
cannam@125
|
3359
|
cannam@125
|
3360 * src/aiff.c src/svx.c src/wav.c
|
cannam@125
|
3361 Add warning in log if files are larger than 4 gigabytes in size.
|
cannam@125
|
3362
|
cannam@125
|
3363 2006-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3364
|
cannam@125
|
3365 * src/FLAC src/OGG confgure.ac src/Makefile.am
|
cannam@125
|
3366 Pull in all required FLAC and OGG code so external libraries are not
|
cannam@125
|
3367 needed. This makes compiling on stupid fscking Windoze easier.
|
cannam@125
|
3368
|
cannam@125
|
3369 2006-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3370
|
cannam@125
|
3371 * src/sd2.c
|
cannam@125
|
3372 Add workaround for switched sample rate and sample size.
|
cannam@125
|
3373
|
cannam@125
|
3374 * src/wav.c
|
cannam@125
|
3375 Add workaround for excessively long coding history in the 'bext' chunk.
|
cannam@125
|
3376
|
cannam@125
|
3377 2006-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3378
|
cannam@125
|
3379 * src/sndfile.h.in src/sndfile.c src/wav.c doc/command.html
|
cannam@125
|
3380 Use SF_AMBISONIC_* instead of SF_TRUE/SF_FALSE.
|
cannam@125
|
3381
|
cannam@125
|
3382 2006-10-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3383
|
cannam@125
|
3384 * src/sndfile.h.in src/wav.c src/wav_w64.c src/common.h doc/command.html
|
cannam@125
|
3385 Apply a patch from Fons Adriaensen to allow writing on WAVEX Ambisonic
|
cannam@125
|
3386 files. Still needs a little tweaking before its ready for release.
|
cannam@125
|
3387
|
cannam@125
|
3388 * src/*.c
|
cannam@125
|
3389 Use the UNUSED macro to prevent compiler warnings.
|
cannam@125
|
3390
|
cannam@125
|
3391 2006-10-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3392
|
cannam@125
|
3393 * src/aiff.c
|
cannam@125
|
3394 Fix a bug in parsing AIFF files with a slightly unusual 'basc' chunk. Thanks
|
cannam@125
|
3395 to David Viens for providing two example files.
|
cannam@125
|
3396
|
cannam@125
|
3397 * src/common.(c|h) src/aiff.c
|
cannam@125
|
3398 Add a function psf_sanitize_string and use it in aiff.c.
|
cannam@125
|
3399
|
cannam@125
|
3400 2006-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3401
|
cannam@125
|
3402 * src/wav_w64.c
|
cannam@125
|
3403 Apply a patch from Fons Adriaensen which fixes a minor WAVEX GUID issue.
|
cannam@125
|
3404
|
cannam@125
|
3405 2006-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3406
|
cannam@125
|
3407 * src/Makefile.am
|
cannam@125
|
3408 Fix problem related to recent test coverage changes.
|
cannam@125
|
3409
|
cannam@125
|
3410 2006-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3411
|
cannam@125
|
3412 * configure.ac tests/Makefile.am
|
cannam@125
|
3413 Add --enable-test-coverage configure option.
|
cannam@125
|
3414
|
cannam@125
|
3415 2006-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3416
|
cannam@125
|
3417 * src/sndfile.hh
|
cannam@125
|
3418 Add an std::string SndfileHandle constructor.
|
cannam@125
|
3419
|
cannam@125
|
3420 * tests/scale_clip_test.tpl
|
cannam@125
|
3421 Fix the 'make distcheck' target.
|
cannam@125
|
3422
|
cannam@125
|
3423 2006-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3424
|
cannam@125
|
3425 * src/double64.c src/float32.c
|
cannam@125
|
3426 Add optional clipping on float file data to int read data conversions.
|
cannam@125
|
3427
|
cannam@125
|
3428 * tests/tests/scale_clip_test.(def|tpl)
|
cannam@125
|
3429 Add test for above new code.
|
cannam@125
|
3430
|
cannam@125
|
3431 2006-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3432
|
cannam@125
|
3433 * tests/aiff_rw_test.c
|
cannam@125
|
3434 Add 'MARK' chunks to make sure they are parsed correctly.
|
cannam@125
|
3435
|
cannam@125
|
3436 2006-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3437
|
cannam@125
|
3438 * src/aiff.c
|
cannam@125
|
3439 Fix parsing of MARK chunks. Many thanks to Sciss for generating files to
|
cannam@125
|
3440 help debug the problem.
|
cannam@125
|
3441
|
cannam@125
|
3442 2006-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3443
|
cannam@125
|
3444 * src/common.h
|
cannam@125
|
3445 Make the SF_MIN and SF_MAX macros at least partially type safe.
|
cannam@125
|
3446
|
cannam@125
|
3447 * tests/lossy_comp_test.c
|
cannam@125
|
3448 Fix overflow problems when ensuring that signalis not zero.
|
cannam@125
|
3449
|
cannam@125
|
3450 2006-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3451
|
cannam@125
|
3452 * configure.ac docs/*.html
|
cannam@125
|
3453 Changes for release 1.0.17.
|
cannam@125
|
3454
|
cannam@125
|
3455 2006-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3456
|
cannam@125
|
3457 * src/flac.c
|
cannam@125
|
3458 Remove inline from functions called by pointer. Thanks to Sampo Savolainen
|
cannam@125
|
3459 for notifying me of this.
|
cannam@125
|
3460
|
cannam@125
|
3461 2006-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3462
|
cannam@125
|
3463 * src/sndfile.hh
|
cannam@125
|
3464 Add writeSync method.
|
cannam@125
|
3465 Add copy constructor and assignment operator (thanks Daniel Schmitt).
|
cannam@125
|
3466 Add methods readRaw and writeRaw.
|
cannam@125
|
3467 Make read/write/readf/writef simple overlaods instead of templates (thanks
|
cannam@125
|
3468 to Trent Apted for suggesting this).
|
cannam@125
|
3469
|
cannam@125
|
3470 * tests/cpp_test.cc
|
cannam@125
|
3471 Cleanup. Add tests.
|
cannam@125
|
3472
|
cannam@125
|
3473 2006-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3474
|
cannam@125
|
3475 * src/sndfile.hh
|
cannam@125
|
3476 Templatize the read/write/readf/writef methods as suggested by Lars Luthman.
|
cannam@125
|
3477 Prevent the potential leak of SNDFILE* pointers in the openRead/openWrite/
|
cannam@125
|
3478 openReadWrite methods.
|
cannam@125
|
3479 Add const to SF_INFO pointer in Sndfile constructor.
|
cannam@125
|
3480 Make the destrictor call the close() method.
|
cannam@125
|
3481
|
cannam@125
|
3482 * tests/cpp_test.cc
|
cannam@125
|
3483 Add more tests.
|
cannam@125
|
3484
|
cannam@125
|
3485 2006-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3486
|
cannam@125
|
3487 * tests/cpp_test.cc
|
cannam@125
|
3488 Remove the generated file so "make distcheck" passes.
|
cannam@125
|
3489
|
cannam@125
|
3490 * src/Makefile.am
|
cannam@125
|
3491 Add sndfile.hh to distributed header files.
|
cannam@125
|
3492
|
cannam@125
|
3493 * src/sndfile.hh
|
cannam@125
|
3494 Change the license for the C++ wrapper to modified BSD.
|
cannam@125
|
3495
|
cannam@125
|
3496 2006-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3497
|
cannam@125
|
3498 * src/sndfile.hh
|
cannam@125
|
3499 Complete it.
|
cannam@125
|
3500
|
cannam@125
|
3501 * tests/cpp_test.cc
|
cannam@125
|
3502 Add more tests.
|
cannam@125
|
3503
|
cannam@125
|
3504 2006-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3505
|
cannam@125
|
3506 * tests/utils.tpl
|
cannam@125
|
3507 Add extern C to generated header file.
|
cannam@125
|
3508
|
cannam@125
|
3509 * src/sndfile.hh
|
cannam@125
|
3510 Work towards completing this.
|
cannam@125
|
3511
|
cannam@125
|
3512 * tests/cpp_test.cc tests/Makefile.am
|
cannam@125
|
3513 Add a C++ test and hook into build.
|
cannam@125
|
3514
|
cannam@125
|
3515 * configure.ac
|
cannam@125
|
3516 Add appropriate CXXFLAGS.
|
cannam@125
|
3517
|
cannam@125
|
3518 2006-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3519
|
cannam@125
|
3520 * configure.ac
|
cannam@125
|
3521 Test if compiler supports -Wpointer-arith.
|
cannam@125
|
3522
|
cannam@125
|
3523 * src/common.c
|
cannam@125
|
3524 Fix a warning resulting from -Wpointer-arith.
|
cannam@125
|
3525
|
cannam@125
|
3526 2006-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3527
|
cannam@125
|
3528 * examples/sndfile-play.c
|
cannam@125
|
3529 Explicitly set endian-ness as well as setting 16 bit output.
|
cannam@125
|
3530
|
cannam@125
|
3531 * examples/sndfile-info.c
|
cannam@125
|
3532 Make sure to parse info if file fails to open.
|
cannam@125
|
3533
|
cannam@125
|
3534 * src/sndfile.c
|
cannam@125
|
3535 Handle parse error a little better.
|
cannam@125
|
3536
|
cannam@125
|
3537 * src/wav_w64.[ch]
|
cannam@125
|
3538 Minor clean up, add detection of IPP ITU G723.1.
|
cannam@125
|
3539
|
cannam@125
|
3540 2006-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3541
|
cannam@125
|
3542 * src/sndfile.c
|
cannam@125
|
3543 Make sure psf->dataoffset gets reset to zero when openning headersless
|
cannam@125
|
3544 files based on the file name extension.
|
cannam@125
|
3545
|
cannam@125
|
3546 2006-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3547
|
cannam@125
|
3548 * tests/(command|lossy_comp|pcm|scale_clip)_test.c tests/fix_this.c
|
cannam@125
|
3549 tests/write_read_test.(tpl|def)
|
cannam@125
|
3550 Fix gcc-4.1 compiler warnings about "dereferencing type-punned pointer will
|
cannam@125
|
3551 break strict-aliasing rules".
|
cannam@125
|
3552
|
cannam@125
|
3553 * examples/cooledit-fixer.c
|
cannam@125
|
3554 More fixes like above.
|
cannam@125
|
3555
|
cannam@125
|
3556 2006-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3557
|
cannam@125
|
3558 * src/file_io.c
|
cannam@125
|
3559 Fix a windows bug where the syserr string of SF_PRIVATE was not being set
|
cannam@125
|
3560 correctly.
|
cannam@125
|
3561
|
cannam@125
|
3562 * src/sndfile.c
|
cannam@125
|
3563 Fixed a logic bug in sf_seek(). Thanks to Paul Davis for finding this.
|
cannam@125
|
3564
|
cannam@125
|
3565 2006-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3566
|
cannam@125
|
3567 * configure.ac
|
cannam@125
|
3568 Fixed detection of S_IRGRP.
|
cannam@125
|
3569
|
cannam@125
|
3570 2006-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3571
|
cannam@125
|
3572 * sndfile-convert.c
|
cannam@125
|
3573 Add conversion SF_INSTRUMENT data when present.
|
cannam@125
|
3574
|
cannam@125
|
3575 2006-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3576
|
cannam@125
|
3577 * doc/development.html
|
cannam@125
|
3578 Removed references to tla on windows.
|
cannam@125
|
3579
|
cannam@125
|
3580 * src/common.h src/sndfile.c
|
cannam@125
|
3581 Add separate void pointers for file containter and file codec data to
|
cannam@125
|
3582 SF_PRIVATE struct. Still need to move all existing fdata pointers.
|
cannam@125
|
3583
|
cannam@125
|
3584 * tests/write_read_test.tpl
|
cannam@125
|
3585 Change the order of some tests.
|
cannam@125
|
3586
|
cannam@125
|
3587 * src/aiff.c
|
cannam@125
|
3588 When writing 'AIFC' files, make sure get an 'FVER' gets added.
|
cannam@125
|
3589
|
cannam@125
|
3590 * src/common.h src/(dwvw|flac|g72x|gsm610|ima_adpcm|ms_adpcm|paf|sds).c
|
cannam@125
|
3591 src/(sndfile|voc|vox_adpcm|xi).c
|
cannam@125
|
3592 Remove fdata field from SF_PRIVATE struct and replace it with codec_data.
|
cannam@125
|
3593
|
cannam@125
|
3594 2006-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3595
|
cannam@125
|
3596 * Win32/testprog.c Win32/Makefile.am
|
cannam@125
|
3597 Add a minimal win32 test program.
|
cannam@125
|
3598
|
cannam@125
|
3599 * Win32/README-precompiled-dll.txt Mingw-make-dist.sh
|
cannam@125
|
3600 Update readme and Mingw build script.
|
cannam@125
|
3601
|
cannam@125
|
3602 2006-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3603
|
cannam@125
|
3604 * configure.ac acinclude.m4
|
cannam@125
|
3605 Minor fixes for Solaris.
|
cannam@125
|
3606
|
cannam@125
|
3607 2006-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3608
|
cannam@125
|
3609 * src/test_endswap.(def|tpl)
|
cannam@125
|
3610 Fix printf formatting for int64_t on 64 bit machines.
|
cannam@125
|
3611
|
cannam@125
|
3612 2006-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3613
|
cannam@125
|
3614 * src/binhead_check.py
|
cannam@125
|
3615 New file to check for bad parameters passed to psf_binheader_writef().
|
cannam@125
|
3616
|
cannam@125
|
3617 * src/Makefile.am
|
cannam@125
|
3618 Hook into test suite.
|
cannam@125
|
3619
|
cannam@125
|
3620 * src/voc.c src/caf.c src/wav.c src/mat5.c src/mat4.c
|
cannam@125
|
3621 Fix bugs found by new test program.
|
cannam@125
|
3622
|
cannam@125
|
3623 * src/double64.c
|
cannam@125
|
3624 Clean up double64_get_capability().
|
cannam@125
|
3625
|
cannam@125
|
3626 2006-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3627
|
cannam@125
|
3628 * src/wav_w64.c
|
cannam@125
|
3629 Fix a bug on x86_64 where an int was being passed via stdargs and being
|
cannam@125
|
3630 read using size_t which is 64 bits. Thenks to John ffitch for giving me a
|
cannam@125
|
3631 login on his box.
|
cannam@125
|
3632
|
cannam@125
|
3633 2006-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3634
|
cannam@125
|
3635 * src/caf.c src/double64.c examples/sndfile-info.c tests/virtual_io_test.c
|
cannam@125
|
3636 tests/utils.tpl
|
cannam@125
|
3637 Fix a couple of signed/unsigned problems.
|
cannam@125
|
3638
|
cannam@125
|
3639 2006-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3640
|
cannam@125
|
3641 * tests/command_test.c
|
cannam@125
|
3642 Add channel map tests.
|
cannam@125
|
3643
|
cannam@125
|
3644 * src/common.h src/sndfile.c
|
cannam@125
|
3645 Add a pointer to the SF_PRIVATE struct and make sure it gets freed in
|
cannam@125
|
3646 sf_close().
|
cannam@125
|
3647
|
cannam@125
|
3648 2006-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3649
|
cannam@125
|
3650 * configure.ac doc/(command|index|api).html NEWS README
|
cannam@125
|
3651 Updates for 1.0.16 release.
|
cannam@125
|
3652
|
cannam@125
|
3653 * src/sndfile.h.in
|
cannam@125
|
3654 Define enums for channel mapping.
|
cannam@125
|
3655
|
cannam@125
|
3656 * examples/sndfile-info.c
|
cannam@125
|
3657 Clean up usage of SF_INFO struct.
|
cannam@125
|
3658
|
cannam@125
|
3659 2006-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3660
|
cannam@125
|
3661 * tests/util.tpl
|
cannam@125
|
3662 Add function testing function exit_if_true().
|
cannam@125
|
3663
|
cannam@125
|
3664 * tests/floating_point_test.tpl
|
cannam@125
|
3665 Fix a problem where the test program was not exiting when the test failed.
|
cannam@125
|
3666
|
cannam@125
|
3667 2006-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3668
|
cannam@125
|
3669 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c
|
cannam@125
|
3670 Implement new commands SFC_GET_SIGNAL_MAX and SFC_GET_MAX_ALL_CHANNELS.
|
cannam@125
|
3671
|
cannam@125
|
3672 * doc/commands.html
|
cannam@125
|
3673 Document new commands. Other minor updates.
|
cannam@125
|
3674
|
cannam@125
|
3675 * tests/peak_chunk_test.c
|
cannam@125
|
3676 Update tests for new commands.
|
cannam@125
|
3677
|
cannam@125
|
3678 2006-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3679
|
cannam@125
|
3680 * tests/peak_chunk_test.c
|
cannam@125
|
3681 Add test for RIFX and WAVEX files.
|
cannam@125
|
3682 Try and confuse the PEAK chunk writing by enabling and disabling it.
|
cannam@125
|
3683
|
cannam@125
|
3684 * src/sndfile.c
|
cannam@125
|
3685 Fix a bug where enabling and disabling PEAK chunk was screwing up.
|
cannam@125
|
3686
|
cannam@125
|
3687 2006-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3688
|
cannam@125
|
3689 * src/sndfile.h.in
|
cannam@125
|
3690 Add the block of 190 reserved bytes into this struct to allow for
|
cannam@125
|
3691 future expansion.
|
cannam@125
|
3692
|
cannam@125
|
3693 * src/wav.c src/sndfile.c src/broadcast.c
|
cannam@125
|
3694 Significant cleanup of broadcast wave stuff.
|
cannam@125
|
3695
|
cannam@125
|
3696 * examples/sndfile-info.c
|
cannam@125
|
3697 Fix print message.
|
cannam@125
|
3698
|
cannam@125
|
3699 * tests/command_test.c tests/Makefile.am
|
cannam@125
|
3700 Complete bext tests, hook test in test suite.
|
cannam@125
|
3701
|
cannam@125
|
3702 2006-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3703
|
cannam@125
|
3704 * src/sndfile.h.in
|
cannam@125
|
3705 Make coding_history field of SF_BROADCAST_INFO struct a char array instead
|
cannam@125
|
3706 of a char pointer.
|
cannam@125
|
3707
|
cannam@125
|
3708 * src/sndfile.c src/common.h src/wav.c
|
cannam@125
|
3709 Clean up knock on effects of above chnage.
|
cannam@125
|
3710
|
cannam@125
|
3711 * examples/sndfile-info.c
|
cannam@125
|
3712 Add -b command line option to usage message.
|
cannam@125
|
3713 Clean up output of broadcast wave info.
|
cannam@125
|
3714
|
cannam@125
|
3715 * src/wav.c
|
cannam@125
|
3716 Ignore and skip the 'levl' chunk.
|
cannam@125
|
3717
|
cannam@125
|
3718 2006-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3719
|
cannam@125
|
3720 * configure.ac
|
cannam@125
|
3721 Fix handling of --enable and --disable configure args. Thanks to Diego
|
cannam@125
|
3722 'Flameeyes' Pettenò who sent the patch.
|
cannam@125
|
3723
|
cannam@125
|
3724 2006-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3725
|
cannam@125
|
3726 * doc/win32.html
|
cannam@125
|
3727 Make it really clear that although the MSVC++ cannot compile libsndfile,
|
cannam@125
|
3728 the precompiled DLL can be used in C++ programs compiled with MSVC++.
|
cannam@125
|
3729
|
cannam@125
|
3730 2006-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3731
|
cannam@125
|
3732 * src/aiff.c
|
cannam@125
|
3733 Fix bug in writing of INST chunk in AIFF files.
|
cannam@125
|
3734 Fix potential bug in writing MARK chunks.
|
cannam@125
|
3735
|
cannam@125
|
3736 * src/sndfile.c
|
cannam@125
|
3737 Make sure the instrument chunk can only be written at the start of the file.
|
cannam@125
|
3738
|
cannam@125
|
3739 * tests/command_test.c
|
cannam@125
|
3740 Add check of log buffer.
|
cannam@125
|
3741
|
cannam@125
|
3742 * tests/utils.tpl
|
cannam@125
|
3743 Add usage of space character to psf_binheader_writef.
|
cannam@125
|
3744
|
cannam@125
|
3745 2006-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3746
|
cannam@125
|
3747 * src/Makefile.am tests/Makefile.am
|
cannam@125
|
3748 Remove --source-time argument from autogen command lines.
|
cannam@125
|
3749
|
cannam@125
|
3750 * src/broadcast.c
|
cannam@125
|
3751 New file for EBU Broadcast chunk in WAV files.
|
cannam@125
|
3752
|
cannam@125
|
3753 * src/sndfile.c src/sndfile.h.in src/wav.c src/common.h
|
cannam@125
|
3754 Add patch from Paul Davis implementing read/write of the BEXT chunk.
|
cannam@125
|
3755
|
cannam@125
|
3756 2006-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3757
|
cannam@125
|
3758 * Win32/README-precompiled-dll.txt
|
cannam@125
|
3759 New file descibing how to use the precompiled DLL.
|
cannam@125
|
3760
|
cannam@125
|
3761 * Win32/Makefile.am
|
cannam@125
|
3762 Add Win32/README-precompiled-dll.txt to EXTRA_DIST files.
|
cannam@125
|
3763
|
cannam@125
|
3764 * configure.ac
|
cannam@125
|
3765 Bump version to 1.0.15.
|
cannam@125
|
3766
|
cannam@125
|
3767 2006-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3768
|
cannam@125
|
3769 * src/wav.c
|
cannam@125
|
3770 On read, only add the endian flag if the file is big endian.
|
cannam@125
|
3771
|
cannam@125
|
3772 * src/ms_adpcm.c
|
cannam@125
|
3773 Fixed writing of APDCM coeffs in RIFX files.
|
cannam@125
|
3774
|
cannam@125
|
3775 * tests/write_read_test.tpl tests/lossy_comp_test.c
|
cannam@125
|
3776 Add tests for RIFX files.
|
cannam@125
|
3777
|
cannam@125
|
3778 2006-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3779
|
cannam@125
|
3780 * Mingw-make-dist.sh
|
cannam@125
|
3781 Bunch of improvements.
|
cannam@125
|
3782
|
cannam@125
|
3783 * doc/win32.html
|
cannam@125
|
3784 Update MinGW program versions.
|
cannam@125
|
3785
|
cannam@125
|
3786 2006-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3787
|
cannam@125
|
3788 * src/create_symbols_file.py
|
cannam@125
|
3789 Fix the library name in created win32 DEF file. Add correct DLL name for
|
cannam@125
|
3790 Cygwin DLL.
|
cannam@125
|
3791
|
cannam@125
|
3792 * Win32/Makefile.am tests/Makefile.am
|
cannam@125
|
3793 Remove redundant files, add win32_ordinal_test to test suite.
|
cannam@125
|
3794
|
cannam@125
|
3795 * tests/win32_ordinal_test.c
|
cannam@125
|
3796 Update to do test in cygsndfile-1.dll as well.
|
cannam@125
|
3797
|
cannam@125
|
3798 * doc/win32.html
|
cannam@125
|
3799 Fix typo, mention that -mno-cygwin with the Cygwin compiler does not work.
|
cannam@125
|
3800
|
cannam@125
|
3801 * src/wav.c src/wav_w64.c src/sndfile.c src/sndfile.h.in
|
cannam@125
|
3802 Apply large patch from Jesse Chappell which adds support for RIFX files.
|
cannam@125
|
3803
|
cannam@125
|
3804 2006-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3805
|
cannam@125
|
3806 * Makefile.am
|
cannam@125
|
3807 Add Mingw-make-dist.sh to the extra dist files.
|
cannam@125
|
3808
|
cannam@125
|
3809 * configure.ac
|
cannam@125
|
3810 Fix setting SHLIB_VERSION_ARG for MinGW.
|
cannam@125
|
3811
|
cannam@125
|
3812 * tests/win32_ordinal_test.c
|
cannam@125
|
3813 New test program to test that the win32 DLL ordinals agree with the DEF
|
cannam@125
|
3814 file.
|
cannam@125
|
3815
|
cannam@125
|
3816 2006-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3817
|
cannam@125
|
3818 * src/common.h
|
cannam@125
|
3819 Add a static inline function to convert an int to a size_t. This will be
|
cannam@125
|
3820 a compile to nothing on 32 bit CPUs and a sign extension on 64 bit CPUs.
|
cannam@125
|
3821
|
cannam@125
|
3822 * src/aiff.c src/avr.c src/common.c src/xi.c src/gsm610.c
|
cannam@125
|
3823 Fix an ia64 problem where a varargs function was being passed an int in
|
cannam@125
|
3824 some places and a size_t in other places.
|
cannam@125
|
3825
|
cannam@125
|
3826 * src/sd2.c
|
cannam@125
|
3827 Add a workaround for situations where OSX seems to add an extra 0x52 bytes
|
cannam@125
|
3828 to the start of the resource fork.
|
cannam@125
|
3829
|
cannam@125
|
3830 2006-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3831
|
cannam@125
|
3832 * Mingw-make-dist.sh
|
cannam@125
|
3833 Add a shell script to build the windows binary/source ZIP file.
|
cannam@125
|
3834
|
cannam@125
|
3835 * doc/index.html
|
cannam@125
|
3836 Add download link for windows binary/source ZIP file. Add links for GPG
|
cannam@125
|
3837 signatures.
|
cannam@125
|
3838
|
cannam@125
|
3839 * doc/win32.html
|
cannam@125
|
3840 Remove info about building using microsoft compiler.
|
cannam@125
|
3841
|
cannam@125
|
3842 * configure.ac
|
cannam@125
|
3843 Bump version to 1.0.14.
|
cannam@125
|
3844
|
cannam@125
|
3845 2006-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3846
|
cannam@125
|
3847 * src/sd2.c
|
cannam@125
|
3848 Improve logging of errors in resource fork parser.
|
cannam@125
|
3849
|
cannam@125
|
3850 2006-01-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3851
|
cannam@125
|
3852 * Win32/Makefile.msvc
|
cannam@125
|
3853 Replace au_g72x.* with g72x.*. Thanks to ussell Borogove.
|
cannam@125
|
3854
|
cannam@125
|
3855 2006-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3856
|
cannam@125
|
3857 * src/common.c
|
cannam@125
|
3858 Make sure return values are initialised header buffer is full.
|
cannam@125
|
3859
|
cannam@125
|
3860 * src/wav.c
|
cannam@125
|
3861 Add workarounds for messed up WAV files.
|
cannam@125
|
3862
|
cannam@125
|
3863 2006-01-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3864
|
cannam@125
|
3865 * Win32/config.h
|
cannam@125
|
3866 Undef HAVE_INTTYPES_H for win32.
|
cannam@125
|
3867
|
cannam@125
|
3868 * tests/command_test.c
|
cannam@125
|
3869 Don't exit on error in instrument test for XI files.
|
cannam@125
|
3870
|
cannam@125
|
3871 * configure.ac
|
cannam@125
|
3872 Bump version to 1.0.13.
|
cannam@125
|
3873
|
cannam@125
|
3874 * doc/*.html NEWS README
|
cannam@125
|
3875 Update version numbers.
|
cannam@125
|
3876
|
cannam@125
|
3877 2006-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3878
|
cannam@125
|
3879 * src/xi.c
|
cannam@125
|
3880 Start work on add read/write of instrument chunks.
|
cannam@125
|
3881
|
cannam@125
|
3882 * src/command_test.c
|
cannam@125
|
3883 Add tests for XI instrument chunk.
|
cannam@125
|
3884
|
cannam@125
|
3885 * tests/largefile_test.c tests/Makefile.am
|
cannam@125
|
3886 Add new test and hook it into the build system. This test will not be run
|
cannam@125
|
3887 automatically because it requires 3 Gig of disk space and takes 3 minutes
|
cannam@125
|
3888 to run.
|
cannam@125
|
3889
|
cannam@125
|
3890 2006-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3891
|
cannam@125
|
3892 * examples/sndfile-play.c
|
cannam@125
|
3893 Fix calculation of samples remaining in win32 code. Thanks Axel Röbel.
|
cannam@125
|
3894
|
cannam@125
|
3895 * src/common.h
|
cannam@125
|
3896 Make sure length of header buffer can hold header plus strings. Thanks Axel
|
cannam@125
|
3897 Röbel.
|
cannam@125
|
3898
|
cannam@125
|
3899 2006-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3900
|
cannam@125
|
3901 * src/sndfile.h.in src/aiff.c src/wav.c
|
cannam@125
|
3902 Apply a patch from John ffitch (Csound project).
|
cannam@125
|
3903 Add detune field to SF_INSTRUMENT struct.
|
cannam@125
|
3904 Add reading/writing instrument chunks to WAV files.
|
cannam@125
|
3905
|
cannam@125
|
3906 * tests/command_test.c
|
cannam@125
|
3907 Update SF_INSTRUMENT tests.
|
cannam@125
|
3908
|
cannam@125
|
3909 * tests/Makefile.am
|
cannam@125
|
3910 Hook instrument tests into test suite.
|
cannam@125
|
3911
|
cannam@125
|
3912 2006-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3913
|
cannam@125
|
3914 * configure.ac
|
cannam@125
|
3915 Check for <inttypes.h> because some broken systems (like Solaris) don't have
|
cannam@125
|
3916 <stdint.h> which is the 1999 ISO C standard file containing int64_t.
|
cannam@125
|
3917
|
cannam@125
|
3918 * src/sfendian.h src/common.h
|
cannam@125
|
3919 Use <inttypes.h> if <stdint.h> is not available.
|
cannam@125
|
3920
|
cannam@125
|
3921 2005-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3922
|
cannam@125
|
3923 * tests/peak_chunk_test.c
|
cannam@125
|
3924 Extend and clean up tests.
|
cannam@125
|
3925
|
cannam@125
|
3926 * src/sndfile.c
|
cannam@125
|
3927 Fix a bug that prevented the turning off of PEAK chunks.
|
cannam@125
|
3928
|
cannam@125
|
3929 2005-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3930
|
cannam@125
|
3931 * tests/error_test.c
|
cannam@125
|
3932 Make the test distclean correct.
|
cannam@125
|
3933
|
cannam@125
|
3934 * src/file_io.c
|
cannam@125
|
3935 Fix an SD2 MacOSX bug (reported by vince schwarzinger).
|
cannam@125
|
3936
|
cannam@125
|
3937 2005-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3938
|
cannam@125
|
3939 * src/aiff.c tests/command_test.c
|
cannam@125
|
3940 Apply a big patch from John ffitch (Csound project) to add reading and
|
cannam@125
|
3941 writing of instrument chunks to AIFF files. Also update the test.
|
cannam@125
|
3942
|
cannam@125
|
3943 2005-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3944
|
cannam@125
|
3945 * tests/aiff_rw_test.c tests/virtual_io_test.c tests/utils.tpl
|
cannam@125
|
3946 Move test function dump_data_to_file() to utils.tpl.
|
cannam@125
|
3947
|
cannam@125
|
3948 * tests/error_test.c tests/Makefile.am
|
cannam@125
|
3949 Updates, including a new test to test that sf_error() returns a valid error
|
cannam@125
|
3950 number.
|
cannam@125
|
3951
|
cannam@125
|
3952 2005-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3953
|
cannam@125
|
3954 * examples/list_formats.c
|
cannam@125
|
3955 Make sure the SF_INFO struct is memset to all zero before being used.
|
cannam@125
|
3956 Thanks to Stephen F. Booth.
|
cannam@125
|
3957
|
cannam@125
|
3958 * src/sndfile.c
|
cannam@125
|
3959 Make the return value of sf_error() match the API documentation.
|
cannam@125
|
3960
|
cannam@125
|
3961 2005-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3962
|
cannam@125
|
3963 * examples/sndfile-convert.c
|
cannam@125
|
3964 Allow conversion to raw gsm610.
|
cannam@125
|
3965
|
cannam@125
|
3966 * src/common.h src/sndfile.c src/au.c
|
cannam@125
|
3967 Remove au_nh_open() and all references to it (wasn't working anyway).
|
cannam@125
|
3968
|
cannam@125
|
3969 * tests/headerless_test.c
|
cannam@125
|
3970 Add new test for file extension based detection.
|
cannam@125
|
3971
|
cannam@125
|
3972 * src/sndfile.c
|
cannam@125
|
3973 Rejig file extension based file type detection.
|
cannam@125
|
3974
|
cannam@125
|
3975 2005-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3976
|
cannam@125
|
3977 * src/sndfile.c
|
cannam@125
|
3978 Add "gsm" as a recognised file extension when no magic number can be found.
|
cannam@125
|
3979
|
cannam@125
|
3980 * tests/lossy_comp_test.c tests/Makefile.am
|
cannam@125
|
3981 Test headerless GSM610.
|
cannam@125
|
3982
|
cannam@125
|
3983 2005-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3984
|
cannam@125
|
3985 * doc/api.html
|
cannam@125
|
3986 Fix a minor typo and a minor error. Thanks Christoph Kobe and John Pavel.
|
cannam@125
|
3987
|
cannam@125
|
3988 2005-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3989
|
cannam@125
|
3990 * src/wav_w64.c
|
cannam@125
|
3991 Add more reporting of 'fmt ' chunk for G721 encoded files.
|
cannam@125
|
3992
|
cannam@125
|
3993 * src/wav.c
|
cannam@125
|
3994 Gernerate a more correct 20 byte 'fmt ' chunk rather than a 16 byte one.
|
cannam@125
|
3995
|
cannam@125
|
3996 2005-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
3997
|
cannam@125
|
3998 * src/G72x/g72x.[ch]
|
cannam@125
|
3999 Minor cleanup of interface.
|
cannam@125
|
4000
|
cannam@125
|
4001 2005-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4002
|
cannam@125
|
4003 * src/ogg.c
|
cannam@125
|
4004 Removed the horribly broken and non-functional OGG implementation when
|
cannam@125
|
4005 --enable-experimental was enabled. When OGG does finally work it will be
|
cannam@125
|
4006 merged.
|
cannam@125
|
4007
|
cannam@125
|
4008 * src/caf.c
|
cannam@125
|
4009 Fix a memory leak.
|
cannam@125
|
4010
|
cannam@125
|
4011 2005-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4012
|
cannam@125
|
4013 * src/g72x.c src/G72x/*.(c|h) src/common.h src/sndfile.c src/wav.c src/au.c
|
cannam@125
|
4014 Add support for G721 encoded WAV files.
|
cannam@125
|
4015
|
cannam@125
|
4016 * doc/index.html
|
cannam@125
|
4017 Update support matrix.
|
cannam@125
|
4018
|
cannam@125
|
4019 * tests/lossy_comp_test.c
|
cannam@125
|
4020 For file formats that support it, add string data after the audio data and
|
cannam@125
|
4021 make sure it isn't treated as audio data on read.
|
cannam@125
|
4022
|
cannam@125
|
4023 * src/gsm610.c
|
cannam@125
|
4024 Add code to ensure that the container close function (ie for WAV files) gets
|
cannam@125
|
4025 called after the codec's close function. This allows GSM610 encoded WAV files
|
cannam@125
|
4026 to have string data following the audio data.
|
cannam@125
|
4027 Add an AIFF specific check on psf->datalength.
|
cannam@125
|
4028
|
cannam@125
|
4029 * src/wav.c
|
cannam@125
|
4030 Simplify wav_close function.
|
cannam@125
|
4031
|
cannam@125
|
4032 * src/aiff.c
|
cannam@125
|
4033 Make sure the tailer data gets written at an even file offset. Pad if
|
cannam@125
|
4034 necessary.
|
cannam@125
|
4035
|
cannam@125
|
4036 * src/common.h
|
cannam@125
|
4037 Replace the close function pointer in SF_PRIVATE with separate functions
|
cannam@125
|
4038 codec_close and container_close. The former is always called first.
|
cannam@125
|
4039
|
cannam@125
|
4040 * src/*.c
|
cannam@125
|
4041 Fix knock on effects of above.
|
cannam@125
|
4042
|
cannam@125
|
4043 2005-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4044
|
cannam@125
|
4045 * examples/sndfile-info.c
|
cannam@125
|
4046 Complete dumping SF_INSTRUMENT data.
|
cannam@125
|
4047
|
cannam@125
|
4048 * src/dwvw.c src/ima_adpcm.c src/gsm610.c src/ms_adpcm.c
|
cannam@125
|
4049 Add extra checks in *_init function.
|
cannam@125
|
4050
|
cannam@125
|
4051 * tests/lossy_comp_test.c
|
cannam@125
|
4052 Add a string comment to the end of the files to make sure that the decoder
|
cannam@125
|
4053 doesn't decode beyond the end of the audio data section.
|
cannam@125
|
4054
|
cannam@125
|
4055 2005-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4056
|
cannam@125
|
4057 * examples/sndfile-info.c
|
cannam@125
|
4058 Minor code cleanup.
|
cannam@125
|
4059 Start work on dumping SF_INSTRUMENT data.
|
cannam@125
|
4060
|
cannam@125
|
4061 2005-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4062
|
cannam@125
|
4063 * src/sndfile.h.in src/common.h src/common.c
|
cannam@125
|
4064 Update definition of SF_INSTRUMENT struct and create a function to allocate
|
cannam@125
|
4065 and initialize the struct (input from David Viens).
|
cannam@125
|
4066 Clean up definition of SF_INSTRUMENT struct.
|
cannam@125
|
4067
|
cannam@125
|
4068 * src/wav.c src/wav_w64.c
|
cannam@125
|
4069 Add support for Ambisoncs B WAVEX files (David Viens).
|
cannam@125
|
4070
|
cannam@125
|
4071 * src/aiff.c src/wav.c src/wav_w64.c
|
cannam@125
|
4072 Start work on reading/writing the SF_INSTRUMENT data.
|
cannam@125
|
4073
|
cannam@125
|
4074 * src/sndfile.c
|
cannam@125
|
4075 Add code to get and set SF_INSTRUMENT data.
|
cannam@125
|
4076
|
cannam@125
|
4077 * tests/command_test.* tests/Makefile.am
|
cannam@125
|
4078 Add test for set and getof SF_INSTRUMENT data.
|
cannam@125
|
4079 The file command_test.c is no longer autogen generated.
|
cannam@125
|
4080
|
cannam@125
|
4081 2005-10-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4082
|
cannam@125
|
4083 * src/gsm610.c
|
cannam@125
|
4084 Minor cleanup.
|
cannam@125
|
4085
|
cannam@125
|
4086 2005-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4087
|
cannam@125
|
4088 * tests/lossy_comp_test.c
|
cannam@125
|
4089 Minor cleanup.
|
cannam@125
|
4090
|
cannam@125
|
4091 2005-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4092
|
cannam@125
|
4093 * src/*.c
|
cannam@125
|
4094 Ensure sfconfig.h is included before any other header file.
|
cannam@125
|
4095
|
cannam@125
|
4096 * src/file_io.c
|
cannam@125
|
4097 Add comments documenting the three sections of the file.
|
cannam@125
|
4098
|
cannam@125
|
4099 * src/gsm610.c
|
cannam@125
|
4100 Make sure SF_FORMAT_WAVEX are handled correctly.
|
cannam@125
|
4101
|
cannam@125
|
4102 2005-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4103
|
cannam@125
|
4104 * configure.ac
|
cannam@125
|
4105 Add options to allow disabling of FLAC and ALSA. Suggested by Ben Greear.
|
cannam@125
|
4106
|
cannam@125
|
4107 2005-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4108
|
cannam@125
|
4109 * tests/locale_test.c
|
cannam@125
|
4110 Modify the way the unicode strings were encoded so that older compilers
|
cannam@125
|
4111 do not complain. Thanks Axel Röbel.
|
cannam@125
|
4112
|
cannam@125
|
4113 * configure.ac
|
cannam@125
|
4114 Bump the version to 1.0.12 for release.
|
cannam@125
|
4115
|
cannam@125
|
4116 * NEWS README Win32/config.h doc/(FAQ|index.html|command|api).html
|
cannam@125
|
4117 Update version numbers.
|
cannam@125
|
4118
|
cannam@125
|
4119 2005-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4120
|
cannam@125
|
4121 * src/flac.c
|
cannam@125
|
4122 Fix valgrind error and minor cleanup.
|
cannam@125
|
4123
|
cannam@125
|
4124 2005-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4125
|
cannam@125
|
4126 * src/(au|paf|aiff|w64|wav|svx).c
|
cannam@125
|
4127 Make sure structs are initialised.
|
cannam@125
|
4128
|
cannam@125
|
4129 2005-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4130
|
cannam@125
|
4131 * configure.ac
|
cannam@125
|
4132 Make -Wdeclaration-after-statement work with --enable-gcc-werror configure
|
cannam@125
|
4133 option.
|
cannam@125
|
4134 Add -std=gnu99 (C99 plus posix style stuff like gmtime_r) to CFLAGS if the
|
cannam@125
|
4135 compiler supports it.
|
cannam@125
|
4136
|
cannam@125
|
4137 2005-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4138
|
cannam@125
|
4139 * configure.ac acinclude.m4
|
cannam@125
|
4140 Add -Wdeclaration-after-statement to CFLAGS if the compilers supports it.
|
cannam@125
|
4141
|
cannam@125
|
4142 2005-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4143
|
cannam@125
|
4144 * tests/util.(tpl|def)
|
cannam@125
|
4145 Make the test_write_*_or_die() functions const safe.
|
cannam@125
|
4146
|
cannam@125
|
4147 2005-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4148
|
cannam@125
|
4149 * src/nist.c
|
cannam@125
|
4150 Make sure the data offset is read from the file header. Thanks to
|
cannam@125
|
4151 David A. van Leeuwen for a patch.
|
cannam@125
|
4152
|
cannam@125
|
4153 2005-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4154
|
cannam@125
|
4155 * configure.ac src/sfconfig.h
|
cannam@125
|
4156 Check for <locale.h> and the function setlocale().
|
cannam@125
|
4157 Set config variables to zero if not found.
|
cannam@125
|
4158
|
cannam@125
|
4159 * tests/locale_test.c tests/Makefile.am
|
cannam@125
|
4160 Add new test program and hook into build/test system.
|
cannam@125
|
4161
|
cannam@125
|
4162 2005-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4163
|
cannam@125
|
4164 * src/common.h src/file_io.c
|
cannam@125
|
4165 On windows, use windows specific types for file handles.
|
cannam@125
|
4166 Add functions psf_init_files() and psf_use_rsrc().
|
cannam@125
|
4167
|
cannam@125
|
4168 * src/sd2.c
|
cannam@125
|
4169 Make resource fork handling independant of file desciptor/handles.
|
cannam@125
|
4170
|
cannam@125
|
4171 * src/sndfile.c src/test_file_io.c
|
cannam@125
|
4172 Fix knock on effects.
|
cannam@125
|
4173
|
cannam@125
|
4174 2005-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4175
|
cannam@125
|
4176 * src/float_cast.h
|
cannam@125
|
4177 The lrint and lrintf implementations in Cygwin are both buggy and slow.
|
cannam@125
|
4178 Add replacements which were pulled from the Public Domain MinGW math.h
|
cannam@125
|
4179 header file.
|
cannam@125
|
4180
|
cannam@125
|
4181 2005-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4182
|
cannam@125
|
4183 * tests/(lossy_comp_test|virtual_io_test).c
|
cannam@125
|
4184 More Valgrind fixups.
|
cannam@125
|
4185
|
cannam@125
|
4186 * configure.ac
|
cannam@125
|
4187 Simplify and correct configuring for Cygwin.
|
cannam@125
|
4188
|
cannam@125
|
4189 * Win32/config.h Win32/sndfile.h Win32/Makefile.msvc
|
cannam@125
|
4190 Update build for MSVC.
|
cannam@125
|
4191
|
cannam@125
|
4192 2005-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4193
|
cannam@125
|
4194 * tests/lossy_comp_test.c
|
cannam@125
|
4195 Make sure to close SNDFILE when exiting test when file format is not seekable.
|
cannam@125
|
4196
|
cannam@125
|
4197 * tests/(aiff_rw_test|virtual_io_test).c
|
cannam@125
|
4198 Do a few valgrind fix ups.
|
cannam@125
|
4199
|
cannam@125
|
4200 2005-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4201
|
cannam@125
|
4202 * src/float32.c src/double64.c
|
cannam@125
|
4203 Replace floating point equality comparisons with greater/less comparisons.
|
cannam@125
|
4204 Found by John Pavel using the Intel compiler.
|
cannam@125
|
4205
|
cannam@125
|
4206 * src/sfconfig.h
|
cannam@125
|
4207 New file to clean up issues surrounding autoconf generated preprocessor
|
cannam@125
|
4208 symbols.
|
cannam@125
|
4209
|
cannam@125
|
4210 * src/*.(c|h) tests/*.(c|tpl) examples/*.c
|
cannam@125
|
4211 Fixed a bunch of other stuff found by John Pavel using the Intel compiler.
|
cannam@125
|
4212
|
cannam@125
|
4213 * src/file_io.c
|
cannam@125
|
4214 Remove Mac OS9 Metrowerks compiler specific hacks.
|
cannam@125
|
4215
|
cannam@125
|
4216 2005-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4217
|
cannam@125
|
4218 * src/w64.c
|
cannam@125
|
4219 Cast integer literal to sf_count_t in call to psf_binheader_writef() to
|
cannam@125
|
4220 prevent Valgrind error.
|
cannam@125
|
4221
|
cannam@125
|
4222 2005-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4223
|
cannam@125
|
4224 * doc/command.html
|
cannam@125
|
4225 Improve documentation of SF_GET_FORMAT_SUBTYPE.
|
cannam@125
|
4226
|
cannam@125
|
4227 2005-08-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4228
|
cannam@125
|
4229 * examples/sndfile-convert.c
|
cannam@125
|
4230 Allow files to be converted to SD2 format.
|
cannam@125
|
4231
|
cannam@125
|
4232 * src/sd2.c
|
cannam@125
|
4233 Fix a bug in reading and writing of SD2 files on little endian CPUs.
|
cannam@125
|
4234 Thanks to Matthew Willis for finding this.
|
cannam@125
|
4235
|
cannam@125
|
4236 2005-08-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4237
|
cannam@125
|
4238 * doc/api.html
|
cannam@125
|
4239 Update Note2 to point to SFC_SET_SCALE_FLOAT_INT_READ.
|
cannam@125
|
4240
|
cannam@125
|
4241 2005-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4242
|
cannam@125
|
4243 * configure.ac
|
cannam@125
|
4244 Use $host_os instead of $target_os (thanks to Mo De Jong).
|
cannam@125
|
4245
|
cannam@125
|
4246 2005-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4247
|
cannam@125
|
4248 * src/Makefile.am
|
cannam@125
|
4249 Apply a patch from Mo DeJong to allow building outside of the source dir.
|
cannam@125
|
4250
|
cannam@125
|
4251 * src/file_io.c
|
cannam@125
|
4252 Fix psf_fsync() for win32.
|
cannam@125
|
4253
|
cannam@125
|
4254 * src/wav.c src/wav_w64.(c|h)
|
cannam@125
|
4255 Move some code from wav.c to wav_w64.c to improve the log output of files of
|
cannam@125
|
4256 type WAVE_FORMAT_EXTENSIBLE.
|
cannam@125
|
4257
|
cannam@125
|
4258 2005-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4259
|
cannam@125
|
4260 * src/create_symbols_file.py
|
cannam@125
|
4261 Make sure sf_write_fsync is an exported symbol.
|
cannam@125
|
4262
|
cannam@125
|
4263 * examples/sndfile-convert.c
|
cannam@125
|
4264 Add support for writing VOX adpcm files.
|
cannam@125
|
4265
|
cannam@125
|
4266 2005-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4267
|
cannam@125
|
4268 * doc/api.html
|
cannam@125
|
4269 Document the new function sf_write_sync().
|
cannam@125
|
4270
|
cannam@125
|
4271 * doc/FAQ.html
|
cannam@125
|
4272 Do you plan to support XYZ codec.
|
cannam@125
|
4273
|
cannam@125
|
4274 2005-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4275
|
cannam@125
|
4276 * src/sndfile.h.in src/sndfile.c
|
cannam@125
|
4277 Add function sf_write_sync() to the API.
|
cannam@125
|
4278
|
cannam@125
|
4279 * src/common.h src/file_io.c
|
cannam@125
|
4280 Low level implementation (win32 not done yet).
|
cannam@125
|
4281
|
cannam@125
|
4282 * tests/write_read_test.tpl
|
cannam@125
|
4283 Use the new function in the tests.
|
cannam@125
|
4284
|
cannam@125
|
4285 2005-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4286
|
cannam@125
|
4287 * src/common.h src/double64.c src/float32.c src/sndfile.c
|
cannam@125
|
4288 Change the way PEAK chunk info is stored. Peaks now stored as an sf_count_t
|
cannam@125
|
4289 for position and a double as the value.
|
cannam@125
|
4290
|
cannam@125
|
4291 * src/aiff.c src/caf.c src/wav.c
|
cannam@125
|
4292 Fix knock on effects of above changes.
|
cannam@125
|
4293
|
cannam@125
|
4294 * src/caf.c
|
cannam@125
|
4295 Implement 'peak' chunk for file wuth data in SF_FORMAT_FLOAT or
|
cannam@125
|
4296 SF_FORMAT_DOUBLE format.
|
cannam@125
|
4297
|
cannam@125
|
4298 2005-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4299
|
cannam@125
|
4300 * src/nist.c
|
cannam@125
|
4301 Fix a bug where a variable was being used without being initialized.
|
cannam@125
|
4302
|
cannam@125
|
4303 * src/flac.c
|
cannam@125
|
4304 Add extra debug in sf_flac_meta_callback.
|
cannam@125
|
4305 Make a bunch of private functions static.
|
cannam@125
|
4306
|
cannam@125
|
4307 * src/aiff.c src/wav.c
|
cannam@125
|
4308 Fix allocation for PEAK_CHUNK (bug found using valgrind).
|
cannam@125
|
4309
|
cannam@125
|
4310 2005-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4311
|
cannam@125
|
4312 * src/common.h
|
cannam@125
|
4313 Move the peak_loc field of SF_PRIVATE to the PEAK_CHUNK struct.
|
cannam@125
|
4314 Remove had_peak field of SF_PRIVATE, use pchunk != NULL instead.
|
cannam@125
|
4315 Rename PEAK_CHUNK and PEAK_POS to PEAK_CHUNK_32 and PEAK_POS_32.
|
cannam@125
|
4316
|
cannam@125
|
4317 * src/aiff.c src/caf.c src/wav.c src/float32.c src/double64.c
|
cannam@125
|
4318 Fix knock on effects from above.
|
cannam@125
|
4319
|
cannam@125
|
4320 2005-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4321
|
cannam@125
|
4322 * src/wav.c
|
cannam@125
|
4323 Prevent files with unknown chunks from being opened read/write.
|
cannam@125
|
4324
|
cannam@125
|
4325 2005-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4326
|
cannam@125
|
4327 * src/flac.c
|
cannam@125
|
4328 Do not use psf->end_of_file because it never gets set to anything.
|
cannam@125
|
4329
|
cannam@125
|
4330 * src/common.h
|
cannam@125
|
4331 Remove unused SF_PRIVATE field end_of_file.
|
cannam@125
|
4332
|
cannam@125
|
4333 2005-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4334
|
cannam@125
|
4335 * src/common.c
|
cannam@125
|
4336 Change the 'S' format specifier of psf_binheader_writef() to write AIFF
|
cannam@125
|
4337 style strings (no terminating character).
|
cannam@125
|
4338
|
cannam@125
|
4339 * src/aiff.c
|
cannam@125
|
4340 Move to new (correct) AIFF string style. Thanks to Axel Röbel for being
|
cannam@125
|
4341 so persistent on this issue.
|
cannam@125
|
4342
|
cannam@125
|
4343 2005-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4344
|
cannam@125
|
4345 * src/sndfile.c
|
cannam@125
|
4346 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
|
cannam@125
|
4347
|
cannam@125
|
4348 * doc/api.html doc/command.html
|
cannam@125
|
4349 Documentation updates (thanks to Kyroz for promoting these updates).
|
cannam@125
|
4350
|
cannam@125
|
4351 * src/mat5.c
|
cannam@125
|
4352 Modify the way the header is written.
|
cannam@125
|
4353
|
cannam@125
|
4354 2005-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4355
|
cannam@125
|
4356 * src/caf.c
|
cannam@125
|
4357 Add a 'free' chunk to the written file so that the audio data starts at
|
cannam@125
|
4358 an offset of 0x1000.
|
cannam@125
|
4359
|
cannam@125
|
4360 * src/sndfile.c
|
cannam@125
|
4361 Allow SFE_UNSUPPORTED_FORMAT as an error from sf_open().
|
cannam@125
|
4362
|
cannam@125
|
4363 2005-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4364
|
cannam@125
|
4365 * src/caf.c src/sndfile.c
|
cannam@125
|
4366 Add support for signed 8 bit integers.
|
cannam@125
|
4367
|
cannam@125
|
4368 * tests/write_read_test.tpl
|
cannam@125
|
4369 Add test for signed 8 bit integers in CAF files.
|
cannam@125
|
4370
|
cannam@125
|
4371 * doc/index.html
|
cannam@125
|
4372 Update matrix for signed 8 bit integers in CAF files.
|
cannam@125
|
4373
|
cannam@125
|
4374 2005-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4375
|
cannam@125
|
4376 * src/sndfile.c
|
cannam@125
|
4377 Update sf_check_format() to support CAF.
|
cannam@125
|
4378
|
cannam@125
|
4379 * examples/sndfile-convert.c
|
cannam@125
|
4380 Add support for ".caf" file extension.
|
cannam@125
|
4381
|
cannam@125
|
4382 * doc/index.html
|
cannam@125
|
4383 Add Apple CAF to the support matrix.
|
cannam@125
|
4384
|
cannam@125
|
4385 * src/caf.c
|
cannam@125
|
4386 Add file write support.
|
cannam@125
|
4387
|
cannam@125
|
4388 * src/common.c
|
cannam@125
|
4389 Fix printing of Frames.
|
cannam@125
|
4390
|
cannam@125
|
4391 * tests/Makefile.am tests/write_read_test.tpl tests/lossy_comp_test.c
|
cannam@125
|
4392 tests/header_test.tpl misc_test.c
|
cannam@125
|
4393 Add tests for CAF files.
|
cannam@125
|
4394
|
cannam@125
|
4395 2005-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4396
|
cannam@125
|
4397 * doc/FAQ.html
|
cannam@125
|
4398 Fix Q/A about reading/writing memory buffers.
|
cannam@125
|
4399
|
cannam@125
|
4400 * src/caf.c
|
cannam@125
|
4401 Bunch of work to support reading of CAF files.
|
cannam@125
|
4402
|
cannam@125
|
4403 2005-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4404
|
cannam@125
|
4405 * src/(aiff|ima_adpcm|mat4|mat5|ms_adpcm).c examples/sndfile-play.c
|
cannam@125
|
4406 Fix sign conversion errors reported by gcc-4.0.
|
cannam@125
|
4407
|
cannam@125
|
4408 * src/caf.c
|
cannam@125
|
4409 New file for Apple's Core Audio File format.
|
cannam@125
|
4410
|
cannam@125
|
4411 * src/sndfile.c src/common.h src/sndfile.h.in src/Makefile.am
|
cannam@125
|
4412 Hook new file into build system.
|
cannam@125
|
4413
|
cannam@125
|
4414 2005-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4415
|
cannam@125
|
4416 * src_wav_w64.c
|
cannam@125
|
4417 Fix handling of stupidly large 'fmt ' chunks. Thanks to Vadim Berezniker
|
cannam@125
|
4418 for supplying an example file.
|
cannam@125
|
4419
|
cannam@125
|
4420 * src/common.h src/sndfile.c
|
cannam@125
|
4421 Remove redundant error code SFE_WAV_FMT_TOO_BIG.
|
cannam@125
|
4422
|
cannam@125
|
4423 2005-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4424
|
cannam@125
|
4425 * src/sndfile.h.in src/common.h src/sndfile.c
|
cannam@125
|
4426 Add public error value SF_ERR_MALFORMED_FILE.
|
cannam@125
|
4427
|
cannam@125
|
4428 * src/sndfile.c
|
cannam@125
|
4429 When parsing a file header fails and we don't have a system error, then set
|
cannam@125
|
4430 the error number to SF_ERR_MALFORMED_FILE (suggested by Kyroz).
|
cannam@125
|
4431
|
cannam@125
|
4432 * configure.ac
|
cannam@125
|
4433 Allow sqlite support to be disabled in configure script.
|
cannam@125
|
4434
|
cannam@125
|
4435 * regtest/database.c regtest/sndfile-regtest.c
|
cannam@125
|
4436 Fix compiling when sqlite is missing.
|
cannam@125
|
4437
|
cannam@125
|
4438 2005-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4439
|
cannam@125
|
4440 * src/file_io.c
|
cannam@125
|
4441 Fix psf_is_pipe() and return value of psf_fread() when using virtual i/o.
|
cannam@125
|
4442
|
cannam@125
|
4443 * src/sndfile.c
|
cannam@125
|
4444 Fix VALIDATE_AND_ASSIGN_PSF macro for virtual i/o.
|
cannam@125
|
4445
|
cannam@125
|
4446 * tests/virtual_io_test.c
|
cannam@125
|
4447 Fill in skeleton test program.
|
cannam@125
|
4448
|
cannam@125
|
4449 * tests/Makefile.am
|
cannam@125
|
4450 Move virtual i/o tests to end of tests with stdio/pipe tests.
|
cannam@125
|
4451
|
cannam@125
|
4452 * src/(sndfile.h.in|file_io.c|common.h|sndfile.c) tests/virtual_io_test.c
|
cannam@125
|
4453 Rename some of the virtual i/o functions and data types.
|
cannam@125
|
4454
|
cannam@125
|
4455 2005-06-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4456
|
cannam@125
|
4457 * src/sndfile.c
|
cannam@125
|
4458 Fix the return values of sf_commands : SFC_SET_NORM_DOUBLE,
|
cannam@125
|
4459 SFC_SET_NORM_FLOAT, SFC_GET_LIB_VERSION and SFC_GET_LOG_INFO. Thanks to
|
cannam@125
|
4460 Kyroz for pointing out these errors.
|
cannam@125
|
4461
|
cannam@125
|
4462 * doc/command.html
|
cannam@125
|
4463 Correct documented return values for SFC_SET_NORM_DOUBLE and
|
cannam@125
|
4464 SFC_SET_NORM_FLOAT. Thanks to Kyroz again.
|
cannam@125
|
4465
|
cannam@125
|
4466 2005-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4467
|
cannam@125
|
4468 * regtest/*
|
cannam@125
|
4469 Add new files for sndfile-regtest program.
|
cannam@125
|
4470
|
cannam@125
|
4471 * configure.ac Makefile.am
|
cannam@125
|
4472 Hook regetest into build.
|
cannam@125
|
4473
|
cannam@125
|
4474 * src/wav.c src/common.c
|
cannam@125
|
4475 Fix a regression where long ICMT chunks were causing the WAV parser
|
cannam@125
|
4476 to exit.
|
cannam@125
|
4477
|
cannam@125
|
4478 2005-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4479
|
cannam@125
|
4480 * libsndfile.spec.in
|
cannam@125
|
4481 Add html docs to the files section as suggested by Karsten Jeppesen.
|
cannam@125
|
4482
|
cannam@125
|
4483 * src/aiff.c
|
cannam@125
|
4484 Fix parsing of odd length ANNO chunks.
|
cannam@125
|
4485
|
cannam@125
|
4486 2005-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4487
|
cannam@125
|
4488 * src/common.h
|
cannam@125
|
4489 Change the include guard to prevent clashes with other code.
|
cannam@125
|
4490
|
cannam@125
|
4491 2005-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4492
|
cannam@125
|
4493 * examples/sndfile-play.c
|
cannam@125
|
4494 Improve error handling in code for playback under Linux/ALSA.
|
cannam@125
|
4495
|
cannam@125
|
4496 2005-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4497
|
cannam@125
|
4498 * src/ircam.c
|
cannam@125
|
4499 Fix writing of IRCAM files on big endian systems (thanks to Axel Röbel).
|
cannam@125
|
4500
|
cannam@125
|
4501 * src/wav.c
|
cannam@125
|
4502 Add workaround for files created by the Peak audio editor on Mac which can
|
cannam@125
|
4503 produce files with very short LIST chunks (thanks to Jonathan Segel who
|
cannam@125
|
4504 supplied the file).
|
cannam@125
|
4505
|
cannam@125
|
4506 2005-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4507
|
cannam@125
|
4508 * src/aiff.c
|
cannam@125
|
4509 Apply a patch From David Viens to make the parsing of basc chunks more
|
cannam@125
|
4510 robust.
|
cannam@125
|
4511
|
cannam@125
|
4512 * src/wav.c
|
cannam@125
|
4513 Another patch from David Viens to write correct wavex channel masks for
|
cannam@125
|
4514 the most common channel configurations.
|
cannam@125
|
4515
|
cannam@125
|
4516 2005-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4517
|
cannam@125
|
4518 * src/command.c
|
cannam@125
|
4519 Only allow FLAC in the format arrays if FLAC is enabled. Thanks to
|
cannam@125
|
4520 Leigh Smith.
|
cannam@125
|
4521
|
cannam@125
|
4522 2005-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4523
|
cannam@125
|
4524 * src/common.h
|
cannam@125
|
4525 Add a directory field for storing the file directory to the SF_PRIVATE
|
cannam@125
|
4526 struct.
|
cannam@125
|
4527
|
cannam@125
|
4528 * src/sndfile.c
|
cannam@125
|
4529 Grab the directory name when copying the file path.
|
cannam@125
|
4530
|
cannam@125
|
4531 * src/file_io.c
|
cannam@125
|
4532 Cleanup psf_open_rsrc() and also check for resource fork in
|
cannam@125
|
4533 .AppleDouble/filename.
|
cannam@125
|
4534
|
cannam@125
|
4535 2005-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4536
|
cannam@125
|
4537 * src/svx.c
|
cannam@125
|
4538 Fix a bug in the printing of the channel count. Bug reported by Michael
|
cannam@125
|
4539 Schwendt. Thanks.
|
cannam@125
|
4540
|
cannam@125
|
4541 2005-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4542
|
cannam@125
|
4543 * src/paf.c
|
cannam@125
|
4544 Fix a seek bug for 24 bit PAF files.
|
cannam@125
|
4545
|
cannam@125
|
4546 * tests/write_read_test.tpl
|
cannam@125
|
4547 Update write_read_test to trigger the previously hidden PAF seek bug.
|
cannam@125
|
4548
|
cannam@125
|
4549 2005-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4550
|
cannam@125
|
4551 * src/aiff.c src/w64.c src/wav.c
|
cannam@125
|
4552 Do not return a header parse error when the log buffer overflows.
|
cannam@125
|
4553 Continuing parsing works even on files where the log buffer does overflow.
|
cannam@125
|
4554 This avoids a bug on some weirdo WAV (and other) files.
|
cannam@125
|
4555
|
cannam@125
|
4556 * src/common.h src/sndfile.c
|
cannam@125
|
4557 Remove SFE_LOG_OVERRIN error and its associated error message.
|
cannam@125
|
4558
|
cannam@125
|
4559 * src/file_io.c
|
cannam@125
|
4560 Fix a rsrc fork problem on MacOSX.
|
cannam@125
|
4561
|
cannam@125
|
4562 2004-12-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4563
|
cannam@125
|
4564 * src/sndfile-play.c
|
cannam@125
|
4565 In the ALSA output code, added call to snd_pcm_drain() just before
|
cannam@125
|
4566 snd_pcm_close() as suggested by Thomas Kaeding.
|
cannam@125
|
4567 In the OSS output code, added two ioctls (SNDCTL_DSP_POST and
|
cannam@125
|
4568 SNDCTL_DSP_SYNC) just before the close of the audio device.
|
cannam@125
|
4569
|
cannam@125
|
4570 * tests/virtual_io_test.c tests/Makefile.am
|
cannam@125
|
4571 Add a new test program (currently empty) and add it to the build.
|
cannam@125
|
4572
|
cannam@125
|
4573 2004-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4574
|
cannam@125
|
4575 * src/sndfile.h.in src/sndfile.h src/common.h src/file_io.c
|
cannam@125
|
4576 src/create_symbols_file.py
|
cannam@125
|
4577 Apply patch from Steve Baker which is the beginnings of a virtual
|
cannam@125
|
4578 I/O interface.
|
cannam@125
|
4579
|
cannam@125
|
4580 2004-12-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4581
|
cannam@125
|
4582 * src/*.c src/sndfile.h.in
|
cannam@125
|
4583 Const-ify the write path throughout the library.
|
cannam@125
|
4584
|
cannam@125
|
4585 2004-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4586
|
cannam@125
|
4587 * doc/development.html
|
cannam@125
|
4588 Minor improvements.
|
cannam@125
|
4589
|
cannam@125
|
4590 2004-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4591
|
cannam@125
|
4592 * doc/bugs.html
|
cannam@125
|
4593 Minor improvements.
|
cannam@125
|
4594
|
cannam@125
|
4595 2004-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4596
|
cannam@125
|
4597 * src/aiff.c
|
cannam@125
|
4598 Add workaround for Logic Platinum AIFF files with broken COMT chunks.
|
cannam@125
|
4599
|
cannam@125
|
4600 2004-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4601
|
cannam@125
|
4602 * doc/FAQ.html
|
cannam@125
|
4603 Remove some ambiguities in the SD2 FAQ answer.
|
cannam@125
|
4604
|
cannam@125
|
4605 2004-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4606
|
cannam@125
|
4607 * Win32/sndfile.h Win32/config.h MacOS9/sndfile.h MacOS9/config.h
|
cannam@125
|
4608 Updates from autoconfig versions.
|
cannam@125
|
4609
|
cannam@125
|
4610 2004-11-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4611
|
cannam@125
|
4612 * src/aiff.c
|
cannam@125
|
4613 Fix parsing of COMT chunks. Store SF_STR_COMMENT data in ANNO chunks
|
cannam@125
|
4614 instead of COMT chunk.
|
cannam@125
|
4615
|
cannam@125
|
4616 2004-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4617
|
cannam@125
|
4618 * src/file_io.c src/common.h
|
cannam@125
|
4619 Change the ptr argument to psf_write() from "void*" to a "const void*".
|
cannam@125
|
4620 Thanks to Tobias Gehrig for suggesting this.
|
cannam@125
|
4621
|
cannam@125
|
4622 2004-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4623
|
cannam@125
|
4624 * src/file_io.c src/common.h
|
cannam@125
|
4625 Add functions psf_close_rsrc() and read length of resourse fork into
|
cannam@125
|
4626 rsrclength field of SF_PRIVATE.
|
cannam@125
|
4627
|
cannam@125
|
4628 * src/sd2.c
|
cannam@125
|
4629 Make sure resource fork gets closed.
|
cannam@125
|
4630
|
cannam@125
|
4631 * tests/util.tpl
|
cannam@125
|
4632 Add functions to check for file descriptor leakage.
|
cannam@125
|
4633
|
cannam@125
|
4634 * src/write_read_test.tpl
|
cannam@125
|
4635 Use the file descriptor leak checks.
|
cannam@125
|
4636
|
cannam@125
|
4637 * src/sndfile.h.in
|
cannam@125
|
4638 Add SFC_GET_LOOP_INFO and SF_LOOP_INFO struct.
|
cannam@125
|
4639
|
cannam@125
|
4640 * src/common.h
|
cannam@125
|
4641 Add SF_LOOP_INFO pointer to SF_PRIVATE.
|
cannam@125
|
4642
|
cannam@125
|
4643 * src/wav.c src/aiff.c
|
cannam@125
|
4644 Improve and add parsing of 'ACID' and 'basc' chunks, filling in
|
cannam@125
|
4645 SF_LOOP_INFO data in SF_PRIVATE.
|
cannam@125
|
4646
|
cannam@125
|
4647 2004-10-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4648
|
cannam@125
|
4649 * src/sd2.c
|
cannam@125
|
4650 Further cleanup: remove printfs, change snprintf to LSF_SNPRINTF.
|
cannam@125
|
4651
|
cannam@125
|
4652 * Win32/config.h Win32/sndfile.h
|
cannam@125
|
4653 Updates.
|
cannam@125
|
4654
|
cannam@125
|
4655 * tests/util.tpl
|
cannam@125
|
4656 Add win32 macro for snprintf.
|
cannam@125
|
4657
|
cannam@125
|
4658 2004-10-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4659
|
cannam@125
|
4660 * src/sfendian.h
|
cannam@125
|
4661 Add macros : H2BE_SHORT, H2BE_INT, H2LE_SHORT and H2LE_INT.
|
cannam@125
|
4662
|
cannam@125
|
4663 * src/sd2.c
|
cannam@125
|
4664 Use macros to make sure writing SD2 files on little endian machines works
|
cannam@125
|
4665 correctly.
|
cannam@125
|
4666
|
cannam@125
|
4667 * tests/util.tpl
|
cannam@125
|
4668 Add a delete_file() function which also deletes the resource fork of SD2
|
cannam@125
|
4669 files.
|
cannam@125
|
4670
|
cannam@125
|
4671 * tests/write_read_test.tpl
|
cannam@125
|
4672 Use delete_file() so that "make distcheck" works.
|
cannam@125
|
4673
|
cannam@125
|
4674 2004-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4675
|
cannam@125
|
4676 * src/sndfile.c src/file_io.c
|
cannam@125
|
4677 Move resource filename construction and testing to psf_open_rsrc().
|
cannam@125
|
4678
|
cannam@125
|
4679 * src/common.h src/sndfile.c
|
cannam@125
|
4680 Add error SFE_SD2_FD_DISALLOWED.
|
cannam@125
|
4681
|
cannam@125
|
4682 * tests/util.tpl tests/*.(c|tpl)
|
cannam@125
|
4683 Add and allow_fd parameter to test_open_file_or_die() so that use of
|
cannam@125
|
4684 sf_open_fd() can be avoided when opening SD2 files.
|
cannam@125
|
4685
|
cannam@125
|
4686 2004-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4687
|
cannam@125
|
4688 * src/wav.c
|
cannam@125
|
4689 Update ACID chunk parsing.
|
cannam@125
|
4690
|
cannam@125
|
4691 * src/sd2.c
|
cannam@125
|
4692 More fixes for files with large resource forks.
|
cannam@125
|
4693
|
cannam@125
|
4694 2004-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4695
|
cannam@125
|
4696 * src/common.h src/sndfile.c
|
cannam@125
|
4697 Add error numbers and messages for sd2 files.
|
cannam@125
|
4698
|
cannam@125
|
4699 * src/sd2.c
|
cannam@125
|
4700 Reading of sd2 (resource fork version) now seems to be working.
|
cannam@125
|
4701
|
cannam@125
|
4702 2004-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4703
|
cannam@125
|
4704 * src/file_io.h
|
cannam@125
|
4705 Update file_io.c to include win32 psf_rsrc_open().
|
cannam@125
|
4706
|
cannam@125
|
4707 * tests/floating_point_test.tpl
|
cannam@125
|
4708 Remove use of __func__ in test programs (MSVC++ doesn't grok this).
|
cannam@125
|
4709
|
cannam@125
|
4710 * Win32/(config|sndfile).h MacOS9/(config|sndfile).h
|
cannam@125
|
4711 Updates.
|
cannam@125
|
4712
|
cannam@125
|
4713 2004-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4714
|
cannam@125
|
4715 * src/sfendian.h
|
cannam@125
|
4716 Fix endswap_int64_t_(array|copy).
|
cannam@125
|
4717
|
cannam@125
|
4718 * src/test_endswap.(tpl|def)
|
cannam@125
|
4719 Add tests for above and inprove all tests.
|
cannam@125
|
4720
|
cannam@125
|
4721 2004-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4722
|
cannam@125
|
4723 * src/sfendian.h
|
cannam@125
|
4724 Improve type safety, add endswap_double_array().
|
cannam@125
|
4725
|
cannam@125
|
4726 * src/double64.c
|
cannam@125
|
4727 Use endswap_double_array() instead of endswap_long_array().
|
cannam@125
|
4728
|
cannam@125
|
4729 * src/test_endswap.(tpl|def) src/Makefile.am
|
cannam@125
|
4730 Add preliminary endswap tests and hook into build system.
|
cannam@125
|
4731
|
cannam@125
|
4732 2004-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4733
|
cannam@125
|
4734 * src/configure.ac src/makefile.am
|
cannam@125
|
4735 Finally fix the bulding of DLLs on Win32/MinGW.
|
cannam@125
|
4736
|
cannam@125
|
4737 * tests/makefile.am
|
cannam@125
|
4738 Fix running of tests on Win32/MinGW.
|
cannam@125
|
4739
|
cannam@125
|
4740 2004-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4741
|
cannam@125
|
4742 * src/sndfile.h.in src/sndfile.c tests/floating_point_test.tpl
|
cannam@125
|
4743 Rename SFC_SET_FLOAT_INT_MULTIPLIER to SFC_SET_SCALE_FLOAT_INT_READ.
|
cannam@125
|
4744
|
cannam@125
|
4745 * doc/command.html
|
cannam@125
|
4746 Document SFC_SET_SCALE_FLOAT_INT_READ.
|
cannam@125
|
4747
|
cannam@125
|
4748 2004-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4749
|
cannam@125
|
4750 * tests/floating_point_test.(tpl|def)
|
cannam@125
|
4751 Derived from floating_point_test.c.
|
cannam@125
|
4752 Add (float|double)_(short|int)_test functions.
|
cannam@125
|
4753
|
cannam@125
|
4754 * tests/util.(tpl|def)
|
cannam@125
|
4755 Make separate float and double versions of gen_windowed_sine().
|
cannam@125
|
4756
|
cannam@125
|
4757 * tests/write_read_test.tpl
|
cannam@125
|
4758 Fix after changes to gen_windowed_sine().
|
cannam@125
|
4759
|
cannam@125
|
4760 * src/(float32|double64).c
|
cannam@125
|
4761 Implement SFC_SET_FLOAT_INT_MULTIPPLIER.
|
cannam@125
|
4762
|
cannam@125
|
4763 2004-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4764
|
cannam@125
|
4765 * acinclude.m4
|
cannam@125
|
4766 Fix warnings from automake 1.8 and later.
|
cannam@125
|
4767
|
cannam@125
|
4768 * examples/sndfile-info.c
|
cannam@125
|
4769 Add a "fflush (stdout)" after printing Win32 message.
|
cannam@125
|
4770
|
cannam@125
|
4771 2004-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4772
|
cannam@125
|
4773 * Win32/Makefile.mingw.in
|
cannam@125
|
4774 Add a "make install" target.
|
cannam@125
|
4775
|
cannam@125
|
4776 2004-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4777
|
cannam@125
|
4778 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
|
cannam@125
|
4779 Start work on adding command SFC_SET_FLOAT_INT_MULTIPLIER.
|
cannam@125
|
4780
|
cannam@125
|
4781 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4782
|
cannam@125
|
4783 * examples/sndfile-convert.c
|
cannam@125
|
4784 Fix a bug converting stereo integer PCM files to float.
|
cannam@125
|
4785
|
cannam@125
|
4786 2004-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4787
|
cannam@125
|
4788 * examples/sndfile-play.c
|
cannam@125
|
4789 Appy patch from Conrad Parker to make Mac OSX error messages more
|
cannam@125
|
4790 consistent and informative.
|
cannam@125
|
4791
|
cannam@125
|
4792 * doc/api.html
|
cannam@125
|
4793 Fix a HTML HREF which was wrong.
|
cannam@125
|
4794
|
cannam@125
|
4795 * doc/win32.html
|
cannam@125
|
4796 Add information about when nmake fails.
|
cannam@125
|
4797
|
cannam@125
|
4798 2004-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4799
|
cannam@125
|
4800 * examples/sndfile-play.c
|
cannam@125
|
4801 Another patch from Denis Cote to prevent race conditions.
|
cannam@125
|
4802
|
cannam@125
|
4803 2004-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4804
|
cannam@125
|
4805 * src/common.h src/ms_adpcm.c src/ima_adpcm.c
|
cannam@125
|
4806 Fix alternative to ISO standard flexible struct array feature for broken
|
cannam@125
|
4807 compilers.
|
cannam@125
|
4808
|
cannam@125
|
4809 2004-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4810
|
cannam@125
|
4811 * src/common.h src/string.c src/sndfile.c
|
cannam@125
|
4812 Make sf_set_string() return an error if trying to set a string when in
|
cannam@125
|
4813 read mode.
|
cannam@125
|
4814
|
cannam@125
|
4815 2004-08-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4816
|
cannam@125
|
4817 * src/common.h
|
cannam@125
|
4818 Change the unnamed union into a named union so gcc-2.95 will compile it.
|
cannam@125
|
4819
|
cannam@125
|
4820 * src/*.c
|
cannam@125
|
4821 Fixes to allow for the above change.
|
cannam@125
|
4822
|
cannam@125
|
4823 2004-08-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4824
|
cannam@125
|
4825 * examples/sndfile-play.c
|
cannam@125
|
4826 Fixes for Win32. Thanks to Denis Cote.
|
cannam@125
|
4827
|
cannam@125
|
4828 * Win32/Win32/Makefile.(msvc|mingw.in)
|
cannam@125
|
4829 Fix build system after removal of sfendian.h.
|
cannam@125
|
4830 Build sndfile-convert.
|
cannam@125
|
4831
|
cannam@125
|
4832 * src/Makefile.am
|
cannam@125
|
4833 Remove sfendian.c from dependancies.
|
cannam@125
|
4834
|
cannam@125
|
4835 2004-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4836
|
cannam@125
|
4837 * src/sndfile.h.in
|
cannam@125
|
4838 Fix typo in comments (thanks Tommi Sakari Uimonen).
|
cannam@125
|
4839
|
cannam@125
|
4840 2004-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4841
|
cannam@125
|
4842 * tests/(a|u)law_test.c
|
cannam@125
|
4843 Minor cleanup.
|
cannam@125
|
4844
|
cannam@125
|
4845 2004-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4846
|
cannam@125
|
4847 * src/(pcm|float|double64|ulaw|alaw|xi).c
|
cannam@125
|
4848 Optimise read/write loops by removing a redundant variable.
|
cannam@125
|
4849
|
cannam@125
|
4850 2004-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4851
|
cannam@125
|
4852 * src/file_io.c
|
cannam@125
|
4853 Remove call to fsync() in psf_close().
|
cannam@125
|
4854
|
cannam@125
|
4855 2004-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4856
|
cannam@125
|
4857 * src/pcm.c
|
cannam@125
|
4858 Inline x2y_array() functions where possible.
|
cannam@125
|
4859
|
cannam@125
|
4860 * configure.ac
|
cannam@125
|
4861 Detect presence of type int64_t.
|
cannam@125
|
4862
|
cannam@125
|
4863 * src/sfendian.c src/sfendian.h
|
cannam@125
|
4864 Move functions in the first file to the sfendian.h as static inline
|
cannam@125
|
4865 functions.
|
cannam@125
|
4866 Improve endswap_long_*() where possible.
|
cannam@125
|
4867
|
cannam@125
|
4868 2004-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4869
|
cannam@125
|
4870 * src/pcm.c
|
cannam@125
|
4871 When converting from unsigned char to float or double, subtract 128 before
|
cannam@125
|
4872 converting to float/double rather than after to save a floating point
|
cannam@125
|
4873 operation as suggested by Stefan Briesenick.
|
cannam@125
|
4874
|
cannam@125
|
4875 * src/(pcm|sfendian|alaw|ulaw|double64|float32).c
|
cannam@125
|
4876 Optimize inner loops by changing the loop counting slightly as suggested
|
cannam@125
|
4877 by Stefan Briesenick.
|
cannam@125
|
4878
|
cannam@125
|
4879 * configure.ac
|
cannam@125
|
4880 Detect presence of <byteswap.h>.
|
cannam@125
|
4881
|
cannam@125
|
4882 * src/sfendian.h
|
cannam@125
|
4883 Use <byteswap.h> if present as suggested by Stefan Briesenick.
|
cannam@125
|
4884
|
cannam@125
|
4885 * src/pcm.c
|
cannam@125
|
4886 Update bytewapping.
|
cannam@125
|
4887
|
cannam@125
|
4888 2004-07-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4889
|
cannam@125
|
4890 * src/common.h src/*.c
|
cannam@125
|
4891 Change the psf->buffer field of SF_PRIVATE into a more type safe union with
|
cannam@125
|
4892 double, float, int etc elements.
|
cannam@125
|
4893
|
cannam@125
|
4894 2004-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4895
|
cannam@125
|
4896 * examples/sndfile-play.c
|
cannam@125
|
4897 Merge slightly modifed patch from Stanko Juzbasic which allows playback of
|
cannam@125
|
4898 mono files on MacOSX.
|
cannam@125
|
4899
|
cannam@125
|
4900 2004-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4901
|
cannam@125
|
4902 * examples/sndfile-convert.c
|
cannam@125
|
4903 Move copy_metadata() after the second sf_open().
|
cannam@125
|
4904
|
cannam@125
|
4905 2004-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4906
|
cannam@125
|
4907 * examples/sndfile-convert.c
|
cannam@125
|
4908 Fix a bug which caused the program to go into an infinite loop if the source
|
cannam@125
|
4909 file has no meta-data. Thanks to Ron Parker for reporting this.
|
cannam@125
|
4910
|
cannam@125
|
4911 * src/sndfile.h.in
|
cannam@125
|
4912 Add SF_STR_FIRST and SF_STR_LAST to allow enumeration of string types.
|
cannam@125
|
4913
|
cannam@125
|
4914 * Win32/sndfile.h MacOS9/sndfile.h
|
cannam@125
|
4915 Update these as per the above file.
|
cannam@125
|
4916
|
cannam@125
|
4917 2004-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4918
|
cannam@125
|
4919 * configure.ac src/common.h src/ogg.c src/sndfile.c src/sndfile.h.in
|
cannam@125
|
4920 src/Makefile.am
|
cannam@125
|
4921 Apply large patch from Conrad Parker implementing Ogg Vorbis, Ogg Speex and
|
cannam@125
|
4922 Annodex support via liboggz and libfishsound. Thanks Conrad.
|
cannam@125
|
4923
|
cannam@125
|
4924 2004-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4925
|
cannam@125
|
4926 * src/avr.c src/ircam.c src/nist.c src/paf.c src/xi.c
|
cannam@125
|
4927 Add cast to size_t for some parameters passed to psf_binheader_writef. This
|
cannam@125
|
4928 is Debian bug number 253490. Thanks to Anand Kumria and Andreas Jochens.
|
cannam@125
|
4929
|
cannam@125
|
4930 * src/w64.c
|
cannam@125
|
4931 Found and fixed a bug resulting from use of size_t when writing W64 'fmt '
|
cannam@125
|
4932 chunk.
|
cannam@125
|
4933
|
cannam@125
|
4934 2004-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4935
|
cannam@125
|
4936 * configure.ac
|
cannam@125
|
4937 Bump version to 1.0.10 ready for release.
|
cannam@125
|
4938
|
cannam@125
|
4939 * Makefile.am
|
cannam@125
|
4940 Remove redundant files (check_libsndfile.py libsndfile_version_convert.py)
|
cannam@125
|
4941 from distribution tarball.
|
cannam@125
|
4942
|
cannam@125
|
4943 * tests/header_test.tpl
|
cannam@125
|
4944 Fix uninitialised variable.
|
cannam@125
|
4945
|
cannam@125
|
4946 * src/GSM610/short_term.c
|
cannam@125
|
4947 Fix compiler warning on MSVC++.
|
cannam@125
|
4948
|
cannam@125
|
4949 2004-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4950
|
cannam@125
|
4951 * src/wav.c
|
cannam@125
|
4952 Improve record keeping of chunks seen and return an error if a file with
|
cannam@125
|
4953 unusual chunks is opened in mode SFM_RDWR.
|
cannam@125
|
4954
|
cannam@125
|
4955 * src/mmreg.h
|
cannam@125
|
4956 This file not needed so remove it.
|
cannam@125
|
4957
|
cannam@125
|
4958 2004-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4959
|
cannam@125
|
4960 * tests/header_test.tpl
|
cannam@125
|
4961 Add extra_header_test().
|
cannam@125
|
4962
|
cannam@125
|
4963 * src/common.h src/sndfile.c
|
cannam@125
|
4964 Add SFE_RDWR_BAD_HEADER error number and string.
|
cannam@125
|
4965
|
cannam@125
|
4966 2004-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4967
|
cannam@125
|
4968 * tests/utils.tpl tests/*.c tests/*.tpl
|
cannam@125
|
4969 Add a line number argument to check_log_buffer_or_die() and update all
|
cannam@125
|
4970 files that use that function.
|
cannam@125
|
4971
|
cannam@125
|
4972 * tests/header_test.tpl
|
cannam@125
|
4973 Modify/update tests for files opened SFM_RDWR and SFC_UPDATE_HEADER_AUTO.
|
cannam@125
|
4974
|
cannam@125
|
4975 * src/aiff.c src/wav.c
|
cannam@125
|
4976 Fix another bug in AIFF and WAV files opened in SFM_RDWR and using
|
cannam@125
|
4977 SFC_UPDATE_HEADER_AUTO.
|
cannam@125
|
4978
|
cannam@125
|
4979 * src/test_file_io.c
|
cannam@125
|
4980 Add a test for psf_ftruncate() function.
|
cannam@125
|
4981
|
cannam@125
|
4982 2004-05-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4983
|
cannam@125
|
4984 * src/sndfile.c
|
cannam@125
|
4985 Fix another weird corner case bug found by Martin Rumori. Thanks.
|
cannam@125
|
4986
|
cannam@125
|
4987 * tests/header_test.(tpl|def)
|
cannam@125
|
4988 Two new files to test for the absence of the above bug and include tests
|
cannam@125
|
4989 moved from tests/misc_test.c.
|
cannam@125
|
4990
|
cannam@125
|
4991 * tests/Makefile.am
|
cannam@125
|
4992 Hook new tests into build/test system.
|
cannam@125
|
4993
|
cannam@125
|
4994 * tests/misc_test.c
|
cannam@125
|
4995 Remove update_header_test() which has been moved to the new files above.
|
cannam@125
|
4996
|
cannam@125
|
4997 2004-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
4998
|
cannam@125
|
4999 * src/aiff.c
|
cannam@125
|
5000 Fixed a bug reported by Martin Rumori on the LAD list. If a file created
|
cannam@125
|
5001 with a format of SF_FORMAT_FLOAT and then closed before any data is written
|
cannam@125
|
5002 to it, the header can get screwed up (PEAK chunk gets overwritten).
|
cannam@125
|
5003
|
cannam@125
|
5004 * tests/write_read_test.tpl
|
cannam@125
|
5005 Add a test (empty_file_test) for the above bug.
|
cannam@125
|
5006
|
cannam@125
|
5007 2004-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5008
|
cannam@125
|
5009 * Win32/Makefile.mingw.in
|
cannam@125
|
5010 Added a Makefile for MinGW (needs to be processed by configure).
|
cannam@125
|
5011
|
cannam@125
|
5012 * src/mmsystem.h src/mmreg.h
|
cannam@125
|
5013 Add files from the Wine project (under the LGPL) to allow build of
|
cannam@125
|
5014 sndfile-play.exe under MinGW.
|
cannam@125
|
5015
|
cannam@125
|
5016 2004-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5017
|
cannam@125
|
5018 * src/GSM610/gsm610_priv.h
|
cannam@125
|
5019 Replace ugly macros with inline functions.
|
cannam@125
|
5020
|
cannam@125
|
5021 * src/GSM610/*.c
|
cannam@125
|
5022 Remove temporary variables used by macros and other minor fixes required by
|
cannam@125
|
5023 above change.
|
cannam@125
|
5024
|
cannam@125
|
5025 2004-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5026
|
cannam@125
|
5027 * tests/pipe_test.tpl tests/stdio_test.c Win32/Makefile.msvc
|
cannam@125
|
5028 Make sure these programs compile (even though they do nothing) on Win32
|
cannam@125
|
5029 and add them to the "make check" target.
|
cannam@125
|
5030
|
cannam@125
|
5031 * src/sfendian.h
|
cannam@125
|
5032 Fix warning on Sparc CPU and code cleanup.
|
cannam@125
|
5033
|
cannam@125
|
5034 2004-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5035
|
cannam@125
|
5036 * src/file_io.c
|
cannam@125
|
5037 Fix warning messages when compiling under MinGW.
|
cannam@125
|
5038
|
cannam@125
|
5039 2004-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5040
|
cannam@125
|
5041 * configure.ac
|
cannam@125
|
5042 Set HAVE_FLEXIBLE_ARRAY in src/config.h depending on whether the compiler
|
cannam@125
|
5043 accepts the flexible array struct member as per 1999 ISO C standard.
|
cannam@125
|
5044
|
cannam@125
|
5045 * src/common.h src/ima_adpcm.c src/paf.c src/ms_adpcm.c
|
cannam@125
|
5046 Added ugly #if HAVE_FLEXIBLE_ARRAY and provided a non-standards compliant
|
cannam@125
|
5047 hack for non 1999 ISO C compliant compilers.
|
cannam@125
|
5048
|
cannam@125
|
5049 2004-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5050
|
cannam@125
|
5051 * src/strings.c
|
cannam@125
|
5052 If adding an SF_STR_SOFTWARE string, only append libsndfile-X.Y.Z if the
|
cannam@125
|
5053 string does not already have libsndfile in the string. Thanks to Conrad
|
cannam@125
|
5054 Parker.
|
cannam@125
|
5055
|
cannam@125
|
5056 * tests/string_test.c
|
cannam@125
|
5057 Add test to verify the above.
|
cannam@125
|
5058
|
cannam@125
|
5059 * examples/sndfile-convert.c
|
cannam@125
|
5060 Add ability to transcode meta data as well (Conrad Parker).
|
cannam@125
|
5061
|
cannam@125
|
5062 2004-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5063
|
cannam@125
|
5064 * doc/command.html
|
cannam@125
|
5065 Fix minor error. Thanks to Simon Burton.
|
cannam@125
|
5066
|
cannam@125
|
5067 * doc/win32.html
|
cannam@125
|
5068 Started adding instructions for compiling libsndfile under MinGW.
|
cannam@125
|
5069
|
cannam@125
|
5070 * configure.ac
|
cannam@125
|
5071 Add --enable-bow-docs to enable black text on a white background HTML docs.
|
cannam@125
|
5072
|
cannam@125
|
5073 * doc/libsndfile.css.in
|
cannam@125
|
5074 This is now a template file for configure which sets the foreground and
|
cannam@125
|
5075 background colours.
|
cannam@125
|
5076
|
cannam@125
|
5077 2004-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5078
|
cannam@125
|
5079 * configure.ac
|
cannam@125
|
5080 Do some MinGW fixes.
|
cannam@125
|
5081
|
cannam@125
|
5082 * configure.ac doc/Makefile.am
|
cannam@125
|
5083 Install HTML docs when doing make install.
|
cannam@125
|
5084
|
cannam@125
|
5085 2004-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5086
|
cannam@125
|
5087 * examples/sndfile-info.c
|
cannam@125
|
5088 Print out the dB level with the signal max.
|
cannam@125
|
5089
|
cannam@125
|
5090 2004-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5091
|
cannam@125
|
5092 * src/file_io.c
|
cannam@125
|
5093 Define S_ISSOCK in src/file_io.c if required.
|
cannam@125
|
5094
|
cannam@125
|
5095 2004-04-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5096
|
cannam@125
|
5097 * configure.ac
|
cannam@125
|
5098 Improve printout configuration summary (as suggested by Axel Röbel).
|
cannam@125
|
5099
|
cannam@125
|
5100 * doc/index.html
|
cannam@125
|
5101 Add link to pre-release location.
|
cannam@125
|
5102
|
cannam@125
|
5103 * src/sndfile.h.in
|
cannam@125
|
5104 Remove comma after last element of enum.
|
cannam@125
|
5105
|
cannam@125
|
5106 * src/float32.c src/double64.c
|
cannam@125
|
5107 Fix read/write of float/double encoded raw files to/from pipes.
|
cannam@125
|
5108
|
cannam@125
|
5109 * tests/pipe_test.c tests/pipe_test.tpl tests/pipe_test.def
|
cannam@125
|
5110 Turn pipe_test.c into an autogenerated file and add tests for reading/
|
cannam@125
|
5111 writing floats and doubles.
|
cannam@125
|
5112
|
cannam@125
|
5113 * tests/Makefile.am
|
cannam@125
|
5114 Hook tests/pipe_test.* into build system.
|
cannam@125
|
5115
|
cannam@125
|
5116 2004-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5117
|
cannam@125
|
5118 * configure.ac acinclude.m4
|
cannam@125
|
5119 Rename AC_C_STRUCT_HACK macro to AC_C99_FLEXIBLE_ARRAY.
|
cannam@125
|
5120
|
cannam@125
|
5121 2004-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5122
|
cannam@125
|
5123 * tests/misc_test.c
|
cannam@125
|
5124 Perform update_header_test in RDWR mode as well.
|
cannam@125
|
5125
|
cannam@125
|
5126 * src/aiff.c
|
cannam@125
|
5127 Fix problems when updating header in RDWR mode.
|
cannam@125
|
5128
|
cannam@125
|
5129 2004-03-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5130
|
cannam@125
|
5131 * src/wav.c src/w64.c src/wav_w64.c
|
cannam@125
|
5132 Integrate code supplied by David Viens for supporting microsoft's
|
cannam@125
|
5133 WAVEFORMATEXTENSIBLE stuff. Thanks David for supplying this.
|
cannam@125
|
5134
|
cannam@125
|
5135 * configure.ac doc/*.html
|
cannam@125
|
5136 Bump version to 1.0.9.
|
cannam@125
|
5137
|
cannam@125
|
5138 2004-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5139
|
cannam@125
|
5140 * src/command.c src/sndfile.c src/sndfile.h.in src/wav.c
|
cannam@125
|
5141 Started work on supporting microsoft's WAVEFORMATEXTENSIBLE gunk.
|
cannam@125
|
5142
|
cannam@125
|
5143 2004-03-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5144
|
cannam@125
|
5145 * src/avr.c
|
cannam@125
|
5146 New file to handle Audio Visual Resaerch files.
|
cannam@125
|
5147
|
cannam@125
|
5148 * src/sndfile.h.in src/common.h src/sndfile.c src/command.c
|
cannam@125
|
5149 Hook AVR into everything else.
|
cannam@125
|
5150
|
cannam@125
|
5151 * tests/Makefile.am tests/write_read_test.tpl tests/misc_test.c
|
cannam@125
|
5152 Add testing for AVR files.
|
cannam@125
|
5153
|
cannam@125
|
5154 2004-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5155
|
cannam@125
|
5156 * src/file_io.c
|
cannam@125
|
5157 Fix psf_set_file() for win32. Thanks to Vincent Trussart (Plogue Art et
|
cannam@125
|
5158 Technologie) for coming up with the solution.
|
cannam@125
|
5159
|
cannam@125
|
5160 2004-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5161
|
cannam@125
|
5162 * tests/write_read_test.tpl
|
cannam@125
|
5163 Fixed a bug that was causing valgrind to report a memory leak. The bug was
|
cannam@125
|
5164 in the test code itself, not the library.
|
cannam@125
|
5165
|
cannam@125
|
5166 2004-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5167
|
cannam@125
|
5168 * examples/generate.cs
|
cannam@125
|
5169 An example showing how to use libsndfile from C#. Thanks to James Robson
|
cannam@125
|
5170 for providing this.
|
cannam@125
|
5171
|
cannam@125
|
5172 2004-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5173
|
cannam@125
|
5174 * src/common.c
|
cannam@125
|
5175 Fix problems with WAV files containing large chunks after the 'data'
|
cannam@125
|
5176 chunk. Thanks to Koen Tanghe for providing a sample file.
|
cannam@125
|
5177
|
cannam@125
|
5178 2004-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5179
|
cannam@125
|
5180 * configure.ac
|
cannam@125
|
5181 Detect presense of ALSA (Advanced Linux Sound Architecture).
|
cannam@125
|
5182
|
cannam@125
|
5183 * examples/sndfile-play.c
|
cannam@125
|
5184 Add ALSA output support.
|
cannam@125
|
5185
|
cannam@125
|
5186 * examples/Makefile.am
|
cannam@125
|
5187 Add ALSA_LIBS to link line of sndfile-play.c.
|
cannam@125
|
5188
|
cannam@125
|
5189 2004-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5190
|
cannam@125
|
5191 * acinclude.m4
|
cannam@125
|
5192 Add new macro (AC_C_STRUCT_HACK) to detect whether the C compiler allows
|
cannam@125
|
5193 the use of the what is known as the struct hack introduced by the 1999 ISO
|
cannam@125
|
5194 C Standard.
|
cannam@125
|
5195
|
cannam@125
|
5196 * configure.ac
|
cannam@125
|
5197 The last release would not compile with gcc-2.95 due to the use of features
|
cannam@125
|
5198 (ie struct hack) introduced by the 1999 ISO C Standard.
|
cannam@125
|
5199 Add check to make sure compiler handles this and bomb out if it doesn't.
|
cannam@125
|
5200
|
cannam@125
|
5201 2004-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5202
|
cannam@125
|
5203 * tests/write_read_test.tpl
|
cannam@125
|
5204 Fix compiler warning on Win32.
|
cannam@125
|
5205
|
cannam@125
|
5206 * src/file_io.c
|
cannam@125
|
5207 Fix use of an un-initialised variable in Win32 stuff.
|
cannam@125
|
5208
|
cannam@125
|
5209 * Win32/config.h examples/sndfile-play.c
|
cannam@125
|
5210 Win32 fixes.
|
cannam@125
|
5211
|
cannam@125
|
5212 2004-03-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5213
|
cannam@125
|
5214 * configure.ac
|
cannam@125
|
5215 Fix bug which occurres when configuring for MinGW.
|
cannam@125
|
5216 If compiler is gcc and cross compiling use -nostdinc.
|
cannam@125
|
5217
|
cannam@125
|
5218 2004-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5219
|
cannam@125
|
5220 * src/common.h src/aiff.c src/wav.c src/float32.c src/double64.c
|
cannam@125
|
5221 src/sndfile.c
|
cannam@125
|
5222 Fix a bug with PEAK chunk handling for files with more than 16 channels.
|
cannam@125
|
5223 Thanks to Remy Bruno for finding this.
|
cannam@125
|
5224
|
cannam@125
|
5225 2004-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5226
|
cannam@125
|
5227 * src/common.c
|
cannam@125
|
5228 Fix a bug which was preventing WAV files being openned correctly if the
|
cannam@125
|
5229 file had a very large header. Thanks to Eldad Zack for finding this.
|
cannam@125
|
5230
|
cannam@125
|
5231 2004-03-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5232
|
cannam@125
|
5233 * configure.ac src/file_io.c
|
cannam@125
|
5234 Fix cross-compiling from Linux to Win32 using the MinGW tools.
|
cannam@125
|
5235
|
cannam@125
|
5236 2004-03-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5237
|
cannam@125
|
5238 * src/create_symbols_file.sh
|
cannam@125
|
5239 Christian Weisgerber pointed out that the shell script did not run on a
|
cannam@125
|
5240 real Bourne shell although it did run under Bash in Bourne shell mode.
|
cannam@125
|
5241
|
cannam@125
|
5242 * src/create_symbols_file.py
|
cannam@125
|
5243 Rewrite of above in Python. Also add support for writing Win32 .def files.
|
cannam@125
|
5244 The Python script generates Symbols.linux, Symbols.darwin and
|
cannam@125
|
5245 libsndfile.def (Win32 version). These files get shipped with the tarball
|
cannam@125
|
5246 so there should not be necessary to run the Python script when building
|
cannam@125
|
5247 the code from the tarball.
|
cannam@125
|
5248
|
cannam@125
|
5249 * configure.ac src/Makefile.am Win32/Makefile.am
|
cannam@125
|
5250 Hook new Python script into the build system.
|
cannam@125
|
5251
|
cannam@125
|
5252 2004-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5253
|
cannam@125
|
5254 * src/configure.ac
|
cannam@125
|
5255 Add --enable-gcc-werror option and move GCC specific stuff down.
|
cannam@125
|
5256
|
cannam@125
|
5257 2004-02-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5258
|
cannam@125
|
5259 * acinclude.m4 configure.ac
|
cannam@125
|
5260 Fix clip mode detection (tested in one of HP's testdrive Itanium II boxes).
|
cannam@125
|
5261
|
cannam@125
|
5262 * src/file_io.c
|
cannam@125
|
5263 Added check for sizeof (off_t) != sizeof (sf_count_t) to prevent recurrence
|
cannam@125
|
5264 of missing large file support on Linux and Solaris.
|
cannam@125
|
5265
|
cannam@125
|
5266 2004-02-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5267
|
cannam@125
|
5268 * examples/sndfile-play.c
|
cannam@125
|
5269 Fix a MacOSX specific bug which was caused by a space being inserted in
|
cannam@125
|
5270 the middle of a file name.
|
cannam@125
|
5271
|
cannam@125
|
5272 * configure.ac src/Makefile.am examples/Makefile.am
|
cannam@125
|
5273 Fix a couple of MacOSX build issues.
|
cannam@125
|
5274
|
cannam@125
|
5275 2004-02-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5276
|
cannam@125
|
5277 * doc/command.html
|
cannam@125
|
5278 Document SFC_SET_CLIPPING and SFC_GET_CLIPPING.
|
cannam@125
|
5279
|
cannam@125
|
5280 2004-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5281
|
cannam@125
|
5282 * doc/*.html
|
cannam@125
|
5283 Applied patch from Frank Neumann (author of lakai) which fixes many minor
|
cannam@125
|
5284 typos in documentation. Thanks Frank.
|
cannam@125
|
5285
|
cannam@125
|
5286 2004-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5287
|
cannam@125
|
5288 * ChangeLog
|
cannam@125
|
5289 Changed my email address throughout source and docs.
|
cannam@125
|
5290
|
cannam@125
|
5291 2004-02-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5292
|
cannam@125
|
5293 * src/file_io.c
|
cannam@125
|
5294 Make sure config.h is included before stdio.h to make sure large file
|
cannam@125
|
5295 support is enabled on Linux (and Solaris).
|
cannam@125
|
5296
|
cannam@125
|
5297 * tests/misc_test.c
|
cannam@125
|
5298 Disable update_header test on Win32. This should work but doesn't and
|
cannam@125
|
5299 I'm not sure why.
|
cannam@125
|
5300
|
cannam@125
|
5301 * Make.bat Win32/Makefile.msvc
|
cannam@125
|
5302 Updates.
|
cannam@125
|
5303
|
cannam@125
|
5304 2004-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5305
|
cannam@125
|
5306 * src/common.h
|
cannam@125
|
5307 Changed logindex, headindex and headend files of SF_PRIVATE from unsigned
|
cannam@125
|
5308 int to int to prevent weird arithmetic bugs.
|
cannam@125
|
5309
|
cannam@125
|
5310 * src/common.c src/aiff.c src/wav.c src/w64.c
|
cannam@125
|
5311 Fixed compiler warnings resulting from above change.
|
cannam@125
|
5312
|
cannam@125
|
5313 2004-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5314
|
cannam@125
|
5315 * src/common.c
|
cannam@125
|
5316 Fixed a bug in header reader for some files with data after the sample data.
|
cannam@125
|
5317
|
cannam@125
|
5318 2003-12-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5319
|
cannam@125
|
5320 * tests/lossy_comp_test.c tests/Makefile.am
|
cannam@125
|
5321 Add tests for AIFF/IMA files.
|
cannam@125
|
5322
|
cannam@125
|
5323 2003-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5324
|
cannam@125
|
5325 * src/macbinary3.c src/macos.c
|
cannam@125
|
5326 Two new files required for handling SD2 files.
|
cannam@125
|
5327
|
cannam@125
|
5328 * src/common.h
|
cannam@125
|
5329 Add prototypes for functions in above two files.
|
cannam@125
|
5330
|
cannam@125
|
5331 * src/Makefile.am
|
cannam@125
|
5332 Hook new files into build system.
|
cannam@125
|
5333
|
cannam@125
|
5334 2003-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5335
|
cannam@125
|
5336 * configure.ac
|
cannam@125
|
5337 Add checks for mmap() and getpagesize() which might be used at some time
|
cannam@125
|
5338 for faster file reads.
|
cannam@125
|
5339 Add detection of MacOSX.
|
cannam@125
|
5340
|
cannam@125
|
5341 2003-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5342
|
cannam@125
|
5343 * doc/FAQ.html
|
cannam@125
|
5344 Minor mods to pkg-config section.
|
cannam@125
|
5345
|
cannam@125
|
5346 2003-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5347
|
cannam@125
|
5348 * src/create_symbols_file.sh
|
cannam@125
|
5349 Andre Pang (also known as Ozone) pointed out that on MacOSX, all non
|
cannam@125
|
5350 static symbols are exported causing troubles when trying to link
|
cannam@125
|
5351 libsndfile with another library which has any of the same symbols.
|
cannam@125
|
5352 He fixed this by supplying the MacOSX linker with a file containing
|
cannam@125
|
5353 all the public symbols so that only they would be exported and then
|
cannam@125
|
5354 supplied a patch for libsndfile.
|
cannam@125
|
5355 This wasn't quite ideal, because I would have to maintain two (3 if
|
cannam@125
|
5356 you include Win32) separate files containing the exported symbols.
|
cannam@125
|
5357 A better solution was to create this script which can generate a
|
cannam@125
|
5358 Symbols file for Linux, MacoSX and any other OS that supports
|
cannam@125
|
5359 minimising the number of exported symbols.
|
cannam@125
|
5360
|
cannam@125
|
5361 * configure.ac src/Makefile.am
|
cannam@125
|
5362 Hook the new script into the build process.
|
cannam@125
|
5363
|
cannam@125
|
5364 2003-12-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5365
|
cannam@125
|
5366 * doc/index.html
|
cannam@125
|
5367 Added comments about Steve Dekorte's SoundConverter scam.
|
cannam@125
|
5368
|
cannam@125
|
5369 2003-12-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5370
|
cannam@125
|
5371 * src/file_io.c
|
cannam@125
|
5372 Axel Röbel pointed out that on Mac OSX a pipe is not considered a fifo
|
cannam@125
|
5373 (S_ISFIFO (st.st_mode) is false) but a socket (S_ISSOCK (st.st_mode) is
|
cannam@125
|
5374 true). The test has therefore been changed to is S_ISREG and anything
|
cannam@125
|
5375 which which does not return true for S_ISREG is considered a pipe.
|
cannam@125
|
5376
|
cannam@125
|
5377 2003-11-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5378
|
cannam@125
|
5379 * tests/misc_test.c
|
cannam@125
|
5380 Fix update_header_test to pass SDS.
|
cannam@125
|
5381
|
cannam@125
|
5382 * src/sds.c
|
cannam@125
|
5383 More minor fixes.
|
cannam@125
|
5384
|
cannam@125
|
5385 * tests/floating_point_test.c
|
cannam@125
|
5386 Add test for SDS files.
|
cannam@125
|
5387
|
cannam@125
|
5388 * src/command.c
|
cannam@125
|
5389 Add SDS to major_formats array.
|
cannam@125
|
5390
|
cannam@125
|
5391 2003-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5392
|
cannam@125
|
5393 * tests/write_read_test.tpl tests/misc_test.c
|
cannam@125
|
5394 Add tests for SDS files.
|
cannam@125
|
5395
|
cannam@125
|
5396 * src/sds.c
|
cannam@125
|
5397 Fix a bug in header update code.
|
cannam@125
|
5398
|
cannam@125
|
5399 2003-11-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5400
|
cannam@125
|
5401 * src/sds.c
|
cannam@125
|
5402 Get file write working.
|
cannam@125
|
5403
|
cannam@125
|
5404 * src/paf.c
|
cannam@125
|
5405 Fix a potential bug in paf24_seek().
|
cannam@125
|
5406
|
cannam@125
|
5407 2003-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5408
|
cannam@125
|
5409 * doc/FAQ.html
|
cannam@125
|
5410 Add Q/A about u-law encoded WAV files.
|
cannam@125
|
5411
|
cannam@125
|
5412 * Win32/*.h
|
cannam@125
|
5413 Updated so it compiles on Win32.
|
cannam@125
|
5414
|
cannam@125
|
5415 2003-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5416
|
cannam@125
|
5417 * examples/sndfile-convert.c
|
cannam@125
|
5418 Add -alaw and -ulaw command line arguments.
|
cannam@125
|
5419
|
cannam@125
|
5420 * configure.ac
|
cannam@125
|
5421 Add library versioning comments.
|
cannam@125
|
5422 Add arguments to AC_INIT.
|
cannam@125
|
5423
|
cannam@125
|
5424 2003-10-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5425
|
cannam@125
|
5426 * src/file_io.c
|
cannam@125
|
5427 Ross Bencina has contributed code to replace all of the (mostly broken)
|
cannam@125
|
5428 Win32 POSIX emulation calls with calls the native Win32 file I/O API.
|
cannam@125
|
5429 This code still needs testing but is likely to be a huge improvemnt
|
cannam@125
|
5430 of support for Win32. Thanks Ross.
|
cannam@125
|
5431
|
cannam@125
|
5432 2003-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5433
|
cannam@125
|
5434 * src/dwvw.c
|
cannam@125
|
5435 Removed filedes field from the DWVW_PRIVATE struct.
|
cannam@125
|
5436
|
cannam@125
|
5437 * src/file_io.c
|
cannam@125
|
5438 Change psf_fopen() so it returns psf->error instead of the file descriptor.
|
cannam@125
|
5439 Add new functions psf_set_stdio() and psf_set_file().
|
cannam@125
|
5440
|
cannam@125
|
5441 * src/sndfile.c
|
cannam@125
|
5442 Change these to work with changed psf_fopen() return value.
|
cannam@125
|
5443 Remove all uses of psf->filedes from sndfile, making it easier to slot native
|
cannam@125
|
5444 Win32 API file handling functions.
|
cannam@125
|
5445
|
cannam@125
|
5446 * src/test_file_io.c
|
cannam@125
|
5447 Minor changes to make it compile with new file_io.c stuff.
|
cannam@125
|
5448
|
cannam@125
|
5449 2003-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5450
|
cannam@125
|
5451 * src/gsm610.h
|
cannam@125
|
5452 Rename a variable from true to true_flag. As Ross Bencina points out,
|
cannam@125
|
5453 true is defined in the C99 header <stdbool.h>.
|
cannam@125
|
5454
|
cannam@125
|
5455 * src/file_io.c
|
cannam@125
|
5456 If fstat() fails, return SF_TRUE instead of -1 (Ross Bencina).
|
cannam@125
|
5457
|
cannam@125
|
5458 2003-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5459
|
cannam@125
|
5460 * src/common.h
|
cannam@125
|
5461 Increase the size of SF_BUFFER_LEN and SF_HEADER_LEN.
|
cannam@125
|
5462
|
cannam@125
|
5463 * src/sndfile.c
|
cannam@125
|
5464 Fix sf_read/write_raw which were dividing by psf->bytwidth and
|
cannam@125
|
5465 psf->blockwidth which can both be zero.
|
cannam@125
|
5466
|
cannam@125
|
5467 * examples/sndfile-info.c
|
cannam@125
|
5468 Increase size of BUFFER_LEN.
|
cannam@125
|
5469
|
cannam@125
|
5470 2003-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5471
|
cannam@125
|
5472 * configure.ac
|
cannam@125
|
5473 Add checks for <sys/wait.h> and ssize_t.
|
cannam@125
|
5474 Other Win32/MinGW checks.
|
cannam@125
|
5475
|
cannam@125
|
5476 * src/aiff.c src/au_g72x.c src/file_io.c src/gsm610.c src/interleave.c
|
cannam@125
|
5477 src/paf.c src/sds.c src/svx.c src/voc.c src/w64.c src/wav.c src/xi.c
|
cannam@125
|
5478 Fix compiler warnings.
|
cannam@125
|
5479
|
cannam@125
|
5480 2003-09-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5481
|
cannam@125
|
5482 * tests/scale_clip_test.tpl
|
cannam@125
|
5483 Add definition of M_PI if needed.
|
cannam@125
|
5484
|
cannam@125
|
5485 2003-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5486
|
cannam@125
|
5487 * configure.ac
|
cannam@125
|
5488 Detect if S_IRGRP is declared in <unistd.h>.
|
cannam@125
|
5489
|
cannam@125
|
5490 * src/file_io.c tests/*.tpl tests/*.c
|
cannam@125
|
5491 More fixes for Win32/MSVC++ and MinGW. MinGW does have <unistd.h> but that
|
cannam@125
|
5492 file doesn't declare S_IRGRP.
|
cannam@125
|
5493
|
cannam@125
|
5494 2003-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5495
|
cannam@125
|
5496 * src/config.h.in
|
cannam@125
|
5497 Add comment stating that the sf_count_t typedef is determined when
|
cannam@125
|
5498 libsndfile is being compiled.
|
cannam@125
|
5499
|
cannam@125
|
5500 * tests/utils.tpl
|
cannam@125
|
5501 Modified so that utils.c gets one copy of the GPL and not two.
|
cannam@125
|
5502
|
cannam@125
|
5503
|
cannam@125
|
5504 2003-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5505
|
cannam@125
|
5506 * Win32/unistd.h src/sf_unistd.h
|
cannam@125
|
5507 Move first file to the second. This will help for Win32/MSVC++ and MinGW.
|
cannam@125
|
5508
|
cannam@125
|
5509 * Win32/Makefile.am src/Makefile.am
|
cannam@125
|
5510 Changed in line with above.
|
cannam@125
|
5511
|
cannam@125
|
5512 * Win32/Makefile.msvc
|
cannam@125
|
5513 Removed "/I Win32" which is no longer required.
|
cannam@125
|
5514
|
cannam@125
|
5515 * src/file_io.c src/test_file_io.c tests/*.tpl tests/*.c
|
cannam@125
|
5516 If HAVE_UNISTD_H include <unistd.h> else include <sf_unistd.h>. This should
|
cannam@125
|
5517 work for Win32, MinGW and other fakes Unix-like OSes.
|
cannam@125
|
5518
|
cannam@125
|
5519 * src/*.c
|
cannam@125
|
5520 Removed #include <unistd.h> from files which didn't need it.
|
cannam@125
|
5521
|
cannam@125
|
5522 2003-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5523
|
cannam@125
|
5524 * libsndfile.spec.in
|
cannam@125
|
5525 Apply fix from Andrew Schultz.
|
cannam@125
|
5526
|
cannam@125
|
5527 2003-09-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5528
|
cannam@125
|
5529 * src/vox_adpcm.c
|
cannam@125
|
5530 Only set psf->sf.samplerate if the existing value is invalid.
|
cannam@125
|
5531
|
cannam@125
|
5532 2003-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5533
|
cannam@125
|
5534 * examples/sndfile-play.c
|
cannam@125
|
5535 Started adding support for ALSA output.
|
cannam@125
|
5536
|
cannam@125
|
5537 2003-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5538
|
cannam@125
|
5539 * src/sndfile.h.in
|
cannam@125
|
5540 Removed <stdlib.h> from sndfile.h.
|
cannam@125
|
5541
|
cannam@125
|
5542 * src/*.c examples/*.c tests/*.c tests/*.tpl
|
cannam@125
|
5543 Added <stdlib.h> where needed.
|
cannam@125
|
5544
|
cannam@125
|
5545 2003-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5546
|
cannam@125
|
5547 * src/common.h
|
cannam@125
|
5548 Added ARRAY_LEN, SF_MAX and SF_MIN macros.
|
cannam@125
|
5549
|
cannam@125
|
5550 2003-08-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5551
|
cannam@125
|
5552 * doc/index.html
|
cannam@125
|
5553 Remove statements about alternative licensing arrangements.
|
cannam@125
|
5554
|
cannam@125
|
5555 2003-08-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5556
|
cannam@125
|
5557 * MacOS MacOS9 Makefile.am configure.ac
|
cannam@125
|
5558 Change directory name from MacOS to MacOS9
|
cannam@125
|
5559
|
cannam@125
|
5560 * MacOS9/MacOS9-readme.txt
|
cannam@125
|
5561 Change name to make it really obvious, add text to top of file to make it
|
cannam@125
|
5562 still more obvious again.
|
cannam@125
|
5563
|
cannam@125
|
5564 2003-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5565
|
cannam@125
|
5566 * src/test_log_printf.c
|
cannam@125
|
5567 Add tests for %u conversions.
|
cannam@125
|
5568
|
cannam@125
|
5569 * src/common.c
|
cannam@125
|
5570 Fix psf_log_printf() %u conversions.
|
cannam@125
|
5571
|
cannam@125
|
5572 2003-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5573
|
cannam@125
|
5574 * src/aiff.c
|
cannam@125
|
5575 Fixed a bug where opening a file with a non-trival header in SFM_RDWR mode
|
cannam@125
|
5576 would over-write part of the header. Thanks to Axel Röbel for pointing
|
cannam@125
|
5577 this out. Axel also provided a patch to fix this but I came up with a
|
cannam@125
|
5578 neater and more general solution.
|
cannam@125
|
5579 Return error when openning an AIFF file with data after the SSND chunk
|
cannam@125
|
5580 (Thanks Axel Röbel).
|
cannam@125
|
5581
|
cannam@125
|
5582 * tests/aiff_rw_test.c
|
cannam@125
|
5583 Improvements to test program which will later allow it to be generalised to
|
cannam@125
|
5584 test WAV, SVX and others as required.
|
cannam@125
|
5585
|
cannam@125
|
5586 2003-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5587
|
cannam@125
|
5588 * tests/pipe_test.c
|
cannam@125
|
5589 Add useek_pipe_rw_test() submitted by Russell Francis.
|
cannam@125
|
5590
|
cannam@125
|
5591 * src/sndfile.c
|
cannam@125
|
5592 In sf_open_fd(), check if input file descriptor is a pipe.
|
cannam@125
|
5593
|
cannam@125
|
5594 * src/sndfile.[ch]
|
cannam@125
|
5595 Fix typo in variable name do_not_close_descriptor.
|
cannam@125
|
5596
|
cannam@125
|
5597 2003-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5598
|
cannam@125
|
5599 * src/test_log_printf.c
|
cannam@125
|
5600 Improve the tests for %d and %s conversions.
|
cannam@125
|
5601
|
cannam@125
|
5602 * src/common.c
|
cannam@125
|
5603 Fixed a few problems in psf_log_printf() found using new tests.
|
cannam@125
|
5604
|
cannam@125
|
5605 2003-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5606
|
cannam@125
|
5607 * configure.ac
|
cannam@125
|
5608 Add -Wwrite-strings warning to CFLAGS if the compiler is GCC. Thanks to
|
cannam@125
|
5609 Peter Miller (Aegis author) for suggesting this and supplying a patch.
|
cannam@125
|
5610
|
cannam@125
|
5611 * src/*.c examples/*.c tests/*.c
|
cannam@125
|
5612 Fix all compiler warnings arising from the above.
|
cannam@125
|
5613
|
cannam@125
|
5614 2003-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5615
|
cannam@125
|
5616 * tests/aiff_rw_test.c tests/Makefile.am
|
cannam@125
|
5617 New test program to check for errors re-writing the headers of AIFC files
|
cannam@125
|
5618 opened in mode SFM_RDWR.
|
cannam@125
|
5619
|
cannam@125
|
5620 2003-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5621
|
cannam@125
|
5622 * examples/sndfile-play.c
|
cannam@125
|
5623 Applied a patch from Tero Pelander to allow this program to run on systems
|
cannam@125
|
5624 using devfs which used /dev/sound/dsp instead of /dev/dsp.
|
cannam@125
|
5625
|
cannam@125
|
5626 2003-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5627
|
cannam@125
|
5628 * doc/new_file_type.HOWTO
|
cannam@125
|
5629 Updated document. Still incomplete.
|
cannam@125
|
5630
|
cannam@125
|
5631 2003-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5632
|
cannam@125
|
5633 * src/sndfile.c
|
cannam@125
|
5634 Fix VALIDATE_SNDFILE_AND_ASSIGN_PSF which was returning an error rather
|
cannam@125
|
5635 than saving it and returning zero.
|
cannam@125
|
5636
|
cannam@125
|
5637 2003-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5638
|
cannam@125
|
5639 * src/file_io.c
|
cannam@125
|
5640 Two fixes for Mac OS9.
|
cannam@125
|
5641 Fix all casts from sf_count_t to ssize_t (not size_t).
|
cannam@125
|
5642
|
cannam@125
|
5643 2003-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5644
|
cannam@125
|
5645 * src/wav.c
|
cannam@125
|
5646 Fix for reading files with RIFF length of 8 and data length of 0.
|
cannam@125
|
5647
|
cannam@125
|
5648 2003-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5649
|
cannam@125
|
5650 * src/*.c tests/*.c tests/*.tpl
|
cannam@125
|
5651 Added comments to mark code for removal when make Lite version of
|
cannam@125
|
5652 libsndfile.
|
cannam@125
|
5653
|
cannam@125
|
5654 2003-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5655
|
cannam@125
|
5656 * examples/sndfile-convert.c
|
cannam@125
|
5657 Add extra error checking for unrecognised arguments.
|
cannam@125
|
5658
|
cannam@125
|
5659 2003-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5660
|
cannam@125
|
5661 * src/ima_adpcm.c
|
cannam@125
|
5662 Started adding code to write IMA ADPCM encoded AIFF files.
|
cannam@125
|
5663
|
cannam@125
|
5664 * src/test_log_printf.c src/Makefile.am
|
cannam@125
|
5665 New file to test psf_log_printf() function and add hooks into build system.
|
cannam@125
|
5666
|
cannam@125
|
5667 * src/common.c
|
cannam@125
|
5668 Move psf_log_printf() function to top of the file and only compile the rest
|
cannam@125
|
5669 of the file if if PSF_LOG_PRINTF_ONLY is not defined.
|
cannam@125
|
5670
|
cannam@125
|
5671 2003-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5672
|
cannam@125
|
5673 * Win32/config.h Win32/sndfile.h
|
cannam@125
|
5674 Updated with new config variables.
|
cannam@125
|
5675
|
cannam@125
|
5676 * Win32/unistd.h src/file_io.c
|
cannam@125
|
5677 Added implementation of S_ISFIFO macro which Win32 seems to lack and is
|
cannam@125
|
5678 used in src/file_io.c.
|
cannam@125
|
5679
|
cannam@125
|
5680 * tests/utils.tpl
|
cannam@125
|
5681 Added #include <unitstd.h> to pull in Win32/unistd.h so it compiles for
|
cannam@125
|
5682 Win32.
|
cannam@125
|
5683
|
cannam@125
|
5684 * src/Makefile.msvc
|
cannam@125
|
5685 Added src\test_file_io.exe build target and run this as the very first
|
cannam@125
|
5686 test.
|
cannam@125
|
5687
|
cannam@125
|
5688 * tests/win32_test.c
|
cannam@125
|
5689 Add support for testing Cygwin32.
|
cannam@125
|
5690
|
cannam@125
|
5691 * configure.ac
|
cannam@125
|
5692 Detect POSIX fsync() and fdatasync() functions.
|
cannam@125
|
5693
|
cannam@125
|
5694 * src/file_io.c
|
cannam@125
|
5695 If compiling for Cygwin, call fsync() before calling fstat() to retrieve
|
cannam@125
|
5696 file length.
|
cannam@125
|
5697
|
cannam@125
|
5698 * tests/pcm_test.tpl
|
cannam@125
|
5699 Add a test for lrintf() function. This was required to detect a really
|
cannam@125
|
5700 broken lrint() and lrintf() on Cygwin.
|
cannam@125
|
5701
|
cannam@125
|
5702 * tests/misc_test.c
|
cannam@125
|
5703 Don't run permission test when compiling under Cygwin.
|
cannam@125
|
5704
|
cannam@125
|
5705 * src/float_cast.h
|
cannam@125
|
5706 Fix fallback macro for lrint() and lrintf() to cast to long instead of int
|
cannam@125
|
5707 to match official function prototypes.
|
cannam@125
|
5708
|
cannam@125
|
5709 2003-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5710
|
cannam@125
|
5711 * examples/sndfile-convert.c
|
cannam@125
|
5712 Modifications to improve accuracy of conversions; use double data for
|
cannam@125
|
5713 floating point and int for everything else.
|
cannam@125
|
5714
|
cannam@125
|
5715 * src/ima_apdcm.c
|
cannam@125
|
5716 Completed work on decoding IMA ADPCM encoded AIFF files. Still need to
|
cannam@125
|
5717 get encoding working.
|
cannam@125
|
5718
|
cannam@125
|
5719 2003-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5720
|
cannam@125
|
5721 * src/aiff.c src/ima_adpcm.c
|
cannam@125
|
5722 Start working on getting IMA ADPCM encoded AIFF files working.
|
cannam@125
|
5723
|
cannam@125
|
5724 2003-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5725
|
cannam@125
|
5726 * configure.ac
|
cannam@125
|
5727 Fixed the touch command for when the autogen program is not found (Matt
|
cannam@125
|
5728 Flax).
|
cannam@125
|
5729
|
cannam@125
|
5730 * src/ulaw.c src/alaw.c
|
cannam@125
|
5731 Made these pipe-able.
|
cannam@125
|
5732
|
cannam@125
|
5733 2003-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5734
|
cannam@125
|
5735 * src/paf.c src/ircam.c
|
cannam@125
|
5736 Fixed writing to pipe.
|
cannam@125
|
5737
|
cannam@125
|
5738 * src/wav.c src/aiff.c src/nist.c src/mat*.c src/svx.c src/w64.c
|
cannam@125
|
5739 Return SFE_NO_PIPE_WRITE if an attempt is made to write to a pipe.
|
cannam@125
|
5740
|
cannam@125
|
5741 2003-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5742
|
cannam@125
|
5743 * examples/sndfile-info.c
|
cannam@125
|
5744 Modified to detect unknown file lengths.
|
cannam@125
|
5745
|
cannam@125
|
5746 * src/mat4.c
|
cannam@125
|
5747 Fix reading from a pipe.
|
cannam@125
|
5748
|
cannam@125
|
5749 2003-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5750
|
cannam@125
|
5751 * tests/pipe_test.c
|
cannam@125
|
5752 Add more file types to tests.
|
cannam@125
|
5753
|
cannam@125
|
5754 * src/mat4.c
|
cannam@125
|
5755 Removed explicit setting of psf->sf.seekable to SF_TRUE.
|
cannam@125
|
5756
|
cannam@125
|
5757 * tests/utils.tpl
|
cannam@125
|
5758 Add macro for generating and check data in the stdio and pipe tests.
|
cannam@125
|
5759
|
cannam@125
|
5760 * tests/stdout_test.c tests/stdin_test.c
|
cannam@125
|
5761 Use the above macro to generate known data on output and check data on
|
cannam@125
|
5762 input.
|
cannam@125
|
5763
|
cannam@125
|
5764 * src/voc.c src/htk.c common.h sndfile.c
|
cannam@125
|
5765 Disallow reading/writing VOC and HTK files from/to pipes be returning new
|
cannam@125
|
5766 error values.
|
cannam@125
|
5767
|
cannam@125
|
5768 * src/w64.c
|
cannam@125
|
5769 Fixes to allow reading from a pipe.
|
cannam@125
|
5770
|
cannam@125
|
5771 2003-05-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5772
|
cannam@125
|
5773 * configure.ac src/sndfile.h.in
|
cannam@125
|
5774 When the configure script determines the sizeof (sf_count_t), also set the
|
cannam@125
|
5775 value of SF_COUNT_MAX in sndfile.h.
|
cannam@125
|
5776
|
cannam@125
|
5777 * configure.ac
|
cannam@125
|
5778 Remove -pedantic flag from default GCC compiler flags.
|
cannam@125
|
5779
|
cannam@125
|
5780 * tests/pipe_test.c
|
cannam@125
|
5781 Add a pipe_read_test() before doing pipe_write_test().
|
cannam@125
|
5782
|
cannam@125
|
5783 * tests/scale_clip_test.c
|
cannam@125
|
5784 Add test to make sure non-normalized values also clip in the right way.
|
cannam@125
|
5785
|
cannam@125
|
5786 2003-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5787
|
cannam@125
|
5788 * configure.ac
|
cannam@125
|
5789 Add test to detect processor clipping capabilities.
|
cannam@125
|
5790
|
cannam@125
|
5791 * tests/stdin_test.c tests/stdout_test.c
|
cannam@125
|
5792 Fix a pair of compiler warnings.
|
cannam@125
|
5793
|
cannam@125
|
5794 * src/common.h
|
cannam@125
|
5795 Add new pipeoffset field to SF_PRIVATE. This will contain the current file
|
cannam@125
|
5796 offset when operating on a pipe.
|
cannam@125
|
5797
|
cannam@125
|
5798 * src/common.c
|
cannam@125
|
5799 Removed direct calls to psf_fread()/psf_fseek()/psf_fgets() etc from
|
cannam@125
|
5800 psf_binheader_readf and redirect them to new buffered versions
|
cannam@125
|
5801 header_read(), header_seek() and header_gets().
|
cannam@125
|
5802 Add "G" format specifier to emulate fgets() functionality with buffering.
|
cannam@125
|
5803 This will allow reading some file types from pipes.
|
cannam@125
|
5804
|
cannam@125
|
5805 * src/file_io.c
|
cannam@125
|
5806 When the file descriptor is a pipe, manintain psf->pipeoffset.
|
cannam@125
|
5807
|
cannam@125
|
5808 * src/pvf.c
|
cannam@125
|
5809 Change use of psf_fgets() to psf_binheader_readf() as required but changes to header re
|
cannam@125
|
5810
|
cannam@125
|
5811 * src/au.c
|
cannam@125
|
5812 Fix reading from a pipe.
|
cannam@125
|
5813
|
cannam@125
|
5814 2003-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5815
|
cannam@125
|
5816 * src/pcm.c
|
cannam@125
|
5817 Add clipping versions of the f2XXX_array() functions to allow option of
|
cannam@125
|
5818 clipping data that would otherwise overflow.
|
cannam@125
|
5819
|
cannam@125
|
5820 * tests/scale_clip_test.tpl tests/scale_clip_test.def
|
cannam@125
|
5821 New files test that clipping option does actually work.
|
cannam@125
|
5822
|
cannam@125
|
5823 2003-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5824
|
cannam@125
|
5825 * doc/index.html
|
cannam@125
|
5826 Fixed a typo ("OS(" instead of "OS9").
|
cannam@125
|
5827
|
cannam@125
|
5828 2003-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5829
|
cannam@125
|
5830 * tests/open_fail_test.c
|
cannam@125
|
5831 Include <string.h> to prevent warning message of missing declaration of
|
cannam@125
|
5832 memset().
|
cannam@125
|
5833
|
cannam@125
|
5834 2003-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5835
|
cannam@125
|
5836 * src/common.h
|
cannam@125
|
5837 Add new "add_clipping" field to SF_PRIVATE.
|
cannam@125
|
5838
|
cannam@125
|
5839 * src/sndfile.h.in src/sndfile.c
|
cannam@125
|
5840 Add command SFC_SET_CLIPPING which sets/resets add_clipping field.
|
cannam@125
|
5841
|
cannam@125
|
5842 2003-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5843
|
cannam@125
|
5844 * doc/api.html
|
cannam@125
|
5845 Add docs for sf_set_string() and sf_get_string().
|
cannam@125
|
5846
|
cannam@125
|
5847 * src/common.h src/sndfile.c
|
cannam@125
|
5848 Add new SFE_STR_BAD_STRING error.
|
cannam@125
|
5849
|
cannam@125
|
5850 * tests/stdin_test.c tests/stdout_test.c
|
cannam@125
|
5851 Removed all non-error print statements.
|
cannam@125
|
5852
|
cannam@125
|
5853 * tests/stdio_test.c tests/pipe_test.c tests/Makefile.am
|
cannam@125
|
5854 Add print statements removed from two files above.
|
cannam@125
|
5855
|
cannam@125
|
5856 2003-05-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5857
|
cannam@125
|
5858 * libsndfile.spec.in
|
cannam@125
|
5859 Fixed a coulpe of minor errors discovered by someone calling themselves
|
cannam@125
|
5860 Agent Smith.
|
cannam@125
|
5861
|
cannam@125
|
5862 * src/common.c src/common.h src/file_io.h
|
cannam@125
|
5863 Added is_pipe field to SF_PRIVATE and declaration of psf_is_pipe()
|
cannam@125
|
5864 function. (Axel Röbel)
|
cannam@125
|
5865
|
cannam@125
|
5866 * src/sndfile.c
|
cannam@125
|
5867 Fixed determination of whether the file is a pipe. (Axel Röbel)
|
cannam@125
|
5868
|
cannam@125
|
5869 * src/paf.c
|
cannam@125
|
5870 Force paf24 to start with undefined mode. (Axel Röbel)
|
cannam@125
|
5871
|
cannam@125
|
5872 * tests/pipe_test.c
|
cannam@125
|
5873 Mods to make this test work and actually do the test on RAW files. (Axel
|
cannam@125
|
5874 Röbel).
|
cannam@125
|
5875
|
cannam@125
|
5876 2003-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5877
|
cannam@125
|
5878 * src/sndfile.c
|
cannam@125
|
5879 Fixed a potential bug where psf->sf.seekable was being set to FALSE when
|
cannam@125
|
5880 operating on stdin or stdout but then the default initialiser was reseting
|
cannam@125
|
5881 it to TRUE. Thanks to Axel Röbel.
|
cannam@125
|
5882
|
cannam@125
|
5883 * src/aiff.c
|
cannam@125
|
5884 Fixed a bug in the header parser where it was not handling an odd length
|
cannam@125
|
5885 COMM chunk correctly. Thanks to Axel Röbel.
|
cannam@125
|
5886
|
cannam@125
|
5887 * src/test_file_io.c
|
cannam@125
|
5888 Add more tests.
|
cannam@125
|
5889
|
cannam@125
|
5890 * tests/win32_test.c
|
cannam@125
|
5891 New file for showing the bugs in the Win32 implementation of the POSIX API.
|
cannam@125
|
5892 It also runs on Linux for sanity checking.
|
cannam@125
|
5893
|
cannam@125
|
5894 * tests/Makefile.am Win32/Makefile.msvc
|
cannam@125
|
5895 Hook the new test program into the build system.
|
cannam@125
|
5896
|
cannam@125
|
5897 2003-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5898
|
cannam@125
|
5899 * src/test_file_io.c
|
cannam@125
|
5900 New test program to test operation of functions defined in file_io.c. This
|
cannam@125
|
5901 should make supporting win32 significantly easier.
|
cannam@125
|
5902
|
cannam@125
|
5903 * src/Makefile.am
|
cannam@125
|
5904 Hook new test program into the build system.
|
cannam@125
|
5905
|
cannam@125
|
5906 * src/file_io.c
|
cannam@125
|
5907 Add compile/run time check that sizeof statbuf.st_size and sf_count_t are
|
cannam@125
|
5908 the same.
|
cannam@125
|
5909
|
cannam@125
|
5910 * src/common.h src/sndfile.c
|
cannam@125
|
5911 Added new error code and error message for new check.
|
cannam@125
|
5912
|
cannam@125
|
5913 * tests/benchmark.tpl
|
cannam@125
|
5914 Fix to use frames instead of samples in SF_INFO.
|
cannam@125
|
5915
|
cannam@125
|
5916 2003-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5917
|
cannam@125
|
5918 * src/file_io.c
|
cannam@125
|
5919 More stuffing about working around PLAIN OLD-FASHIONED **BUGS** in Win32.
|
cannam@125
|
5920
|
cannam@125
|
5921 * examples/sndfile-info.c
|
cannam@125
|
5922 Applied patch from Conrad Parker to add "--help" and "-h" options as
|
cannam@125
|
5923 well as an improved usage message.
|
cannam@125
|
5924
|
cannam@125
|
5925 2003-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5926
|
cannam@125
|
5927 * src/au.c
|
cannam@125
|
5928 Added embedded file support.
|
cannam@125
|
5929
|
cannam@125
|
5930 * tests/multi_file_test.c
|
cannam@125
|
5931 Added tests for embedded AU files.
|
cannam@125
|
5932 Added verbose testing mode.
|
cannam@125
|
5933
|
cannam@125
|
5934 * src/common.h src/sndfile.c
|
cannam@125
|
5935 Added an embedded AU specific error code and message.
|
cannam@125
|
5936
|
cannam@125
|
5937 * src/wav.c
|
cannam@125
|
5938 Added patch from Conrad Parker which filled in a little more information
|
cannam@125
|
5939 about ACIDized WAV files.
|
cannam@125
|
5940
|
cannam@125
|
5941 2003-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5942
|
cannam@125
|
5943 * src/file_io.c
|
cannam@125
|
5944 Fixed Win32 version of psf_fseek() which was calling psf_get_filelen()
|
cannam@125
|
5945 which was in turn calling psf_fseek() which in the end blew the stack.
|
cannam@125
|
5946 Now of course this would have been easy to find on Linux, but this blow
|
cannam@125
|
5947 up was happening in kernel32.dll and the fscking MSVC++ debugger couldn't
|
cannam@125
|
5948 figure out what call caused this (it couldn't even tell me the stack had
|
cannam@125
|
5949 overflowed) and was absolutley useless for this debugging exercise.
|
cannam@125
|
5950 On top of that, the reason I got into this mess was that windoze doesn't
|
cannam@125
|
5951 have a working fstat() function which can return file lengths > 2 Gig. It
|
cannam@125
|
5952 HAS a fscking _fstati64() but the file length value is only updated AFTER
|
cannam@125
|
5953 the bloody file is closed. That makes it completely useless.
|
cannam@125
|
5954 How the hell do people stand working on this crap excuse of an OS?
|
cannam@125
|
5955
|
cannam@125
|
5956 2003-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5957
|
cannam@125
|
5958 * Win32/unistd.h src/file_io.c
|
cannam@125
|
5959 Moved definitions of S_IGRP etc from file_io.c to unistd.h so that these
|
cannam@125
|
5960 can be used in the test programs.
|
cannam@125
|
5961
|
cannam@125
|
5962 * Win32/libsndfile.def
|
cannam@125
|
5963 Added sf_open_fd.
|
cannam@125
|
5964
|
cannam@125
|
5965 * Win32/sndfile.h
|
cannam@125
|
5966 Updated to match src/sndfile.h.in.
|
cannam@125
|
5967
|
cannam@125
|
5968 * Win32/Makefile.msvc
|
cannam@125
|
5969 Added dither.c and htk.c to libsndfile.dll target.
|
cannam@125
|
5970
|
cannam@125
|
5971 2003-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5972
|
cannam@125
|
5973 * src/file_io.c
|
cannam@125
|
5974 First attempt at getting the Win32 versions of the these functions working.
|
cannam@125
|
5975 They still need to be tested.
|
cannam@125
|
5976
|
cannam@125
|
5977 2003-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5978
|
cannam@125
|
5979 * src/strings.c
|
cannam@125
|
5980 Found and fixed a bug which was causing psf_store_string() to fail on
|
cannam@125
|
5981 Motorola 68k processors. Many thanks to Joshua Haberman (Debian maintainer
|
cannam@125
|
5982 of libsndfile) for compiling and running debug code to help me debug the
|
cannam@125
|
5983 problem.
|
cannam@125
|
5984
|
cannam@125
|
5985 2003-04-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5986
|
cannam@125
|
5987 * src/sndfile.c src/file_io.c src/wav.c src/aiff.c
|
cannam@125
|
5988 Much hacking to get reading and writing of embedded files working (ie sound
|
cannam@125
|
5989 files at a non-zero files offset).
|
cannam@125
|
5990
|
cannam@125
|
5991 * doc/embedded_files.html
|
cannam@125
|
5992 First pass atempt at documenting reading/writing embedded files.
|
cannam@125
|
5993
|
cannam@125
|
5994 2003-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
5995
|
cannam@125
|
5996 * doc/FAQ.html
|
cannam@125
|
5997 Updated answer to "Why doesn't libsndfile do interleaving/de-interleaving?"
|
cannam@125
|
5998
|
cannam@125
|
5999 2003-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6000
|
cannam@125
|
6001 * src/wav.c src/aiff.c
|
cannam@125
|
6002 Fix retrieving and storing of string data from files. Need to be careful
|
cannam@125
|
6003 about using psf->buffer for strings.
|
cannam@125
|
6004
|
cannam@125
|
6005 2003-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6006
|
cannam@125
|
6007 * src/file_io.c
|
cannam@125
|
6008 Fix psf_fseek() for seeks withing embedded files.
|
cannam@125
|
6009
|
cannam@125
|
6010 2003-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6011
|
cannam@125
|
6012 * src/sndfile.h.in
|
cannam@125
|
6013 Changed the definition of SNDFILE slightly to produce warnings when it isn't
|
cannam@125
|
6014 used correctly. This should have zero affect in code which uses the SNDFILE
|
cannam@125
|
6015 type correctly.
|
cannam@125
|
6016
|
cannam@125
|
6017 * src/sndfile.c
|
cannam@125
|
6018 Fixed a few compiler warnings cause by the changes to the SNDFILE type.
|
cannam@125
|
6019
|
cannam@125
|
6020 2003-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6021
|
cannam@125
|
6022 * doc/FAQ.html
|
cannam@125
|
6023 Added question and answer to the question "How about adding the ability
|
cannam@125
|
6024 to write/read sound files to/from memory buffers?".
|
cannam@125
|
6025
|
cannam@125
|
6026 2003-04-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6027
|
cannam@125
|
6028 * tests/write_read_test.tpl
|
cannam@125
|
6029 Removed un-needed enums declaring TRUE and FALSE and replaced usage of
|
cannam@125
|
6030 these with SF_TRUE and SF_FALSE.
|
cannam@125
|
6031
|
cannam@125
|
6032 * tests/multi_file_test.c
|
cannam@125
|
6033 New test program to test sf_open_fd() on files containing data other than
|
cannam@125
|
6034 a single sound file.
|
cannam@125
|
6035
|
cannam@125
|
6036 2003-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6037
|
cannam@125
|
6038 * src/file_io.c
|
cannam@125
|
6039 When creating files, set the readable by others flag. This still allows
|
cannam@125
|
6040 further restrictions to be enforced by use of the user's umask. Fix
|
cannam@125
|
6041 suggested by Eric Lyon.
|
cannam@125
|
6042
|
cannam@125
|
6043 2003-04-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6044
|
cannam@125
|
6045 * src/sndfile.h.in src/sndfile.c
|
cannam@125
|
6046 Changed sf_open_fd(). Dropped offset parameter and added a close_desc
|
cannam@125
|
6047 parameter. If close desc is TRUE, the file descritpor passed into the
|
cannam@125
|
6048 library will be closed when sf_close() is called.
|
cannam@125
|
6049
|
cannam@125
|
6050 * tests/utils.tpl
|
cannam@125
|
6051 Modified call to sf_open_fd() to set close_desc parameter to SF_TRUE.
|
cannam@125
|
6052
|
cannam@125
|
6053 2003-04-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6054
|
cannam@125
|
6055 * tests/write_read_test.tpl
|
cannam@125
|
6056 Add a string (using sf_set_string() function) before and after data section
|
cannam@125
|
6057 of all files. This will make sure that if string data can be added, it
|
cannam@125
|
6058 doesn't overwrite real audio data.
|
cannam@125
|
6059
|
cannam@125
|
6060 2003-04-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6061
|
cannam@125
|
6062 * src/sndfile.c
|
cannam@125
|
6063 Started work on supporting a non-zero offset parameter for sf_open_fd ().
|
cannam@125
|
6064
|
cannam@125
|
6065 * src/<file header parsers>.c
|
cannam@125
|
6066 Removed many uses of psf_fseek (SEEK_END) which to allow for future use of
|
cannam@125
|
6067 sf_open_fd() with non-zero offset.
|
cannam@125
|
6068 Associated refactoring.
|
cannam@125
|
6069
|
cannam@125
|
6070 * src/aiff.c
|
cannam@125
|
6071 Implemented functionality required to get sf_get_string() and
|
cannam@125
|
6072 sf_set_string() working for AIFF files.
|
cannam@125
|
6073
|
cannam@125
|
6074 2003-04-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6075
|
cannam@125
|
6076 * tests/utils.tpl
|
cannam@125
|
6077 Modified test_open_file_or_die() to alternately use sf_open() and
|
cannam@125
|
6078 sf_open_fd().
|
cannam@125
|
6079
|
cannam@125
|
6080 * src/svx.c
|
cannam@125
|
6081 Fixed a bug which occurred when openning an existing file for read/write
|
cannam@125
|
6082 using sf_open_fd(). In this case, the existing NAME chunk needs to be
|
cannam@125
|
6083 read into psf->filename.
|
cannam@125
|
6084 Fixed printing of sf_count_t types to logbuffer.
|
cannam@125
|
6085
|
cannam@125
|
6086 2003-03-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6087
|
cannam@125
|
6088 * src/sndfile.h.in
|
cannam@125
|
6089 Added prototype for new function sf_open_fd().
|
cannam@125
|
6090
|
cannam@125
|
6091 * src/sndfile.c
|
cannam@125
|
6092 Moved most of the code in sf_open() to a new function psf_open_file().
|
cannam@125
|
6093 Created new function sf_open_fd() which also uses psf_open_file() but
|
cannam@125
|
6094 does not currently support the offset parameter.
|
cannam@125
|
6095
|
cannam@125
|
6096 * doc/api.html
|
cannam@125
|
6097 Document sf_open_fd().
|
cannam@125
|
6098
|
cannam@125
|
6099 2003-03-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6100
|
cannam@125
|
6101 * src/sndfile.c
|
cannam@125
|
6102 Fixed a memory leak reported by Evgeny Karpov. Memory leak only occurred
|
cannam@125
|
6103 when an attempt was made to read and the open() call fails.
|
cannam@125
|
6104
|
cannam@125
|
6105 2003-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6106
|
cannam@125
|
6107 * tests/open_fail_test.c
|
cannam@125
|
6108 New test program to check for memory leaks when sf_open fails on a valid
|
cannam@125
|
6109 file. Currently this must be run manually under valgrid.
|
cannam@125
|
6110
|
cannam@125
|
6111 * tests/Makefile.am
|
cannam@125
|
6112 Hook new test program into build.
|
cannam@125
|
6113
|
cannam@125
|
6114 2003-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6115
|
cannam@125
|
6116 * Octave/sndfile_save.m Octave/sndfile_play.m
|
cannam@125
|
6117 Added a -mat-binary option to the octave save command to force the output
|
cannam@125
|
6118 to binary mode even if the user has set ascii data as the default. Found
|
cannam@125
|
6119 by Christopher Moore.
|
cannam@125
|
6120
|
cannam@125
|
6121 2003-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6122
|
cannam@125
|
6123 * doc/dither.html
|
cannam@125
|
6124 New file which will document the interface which allows the addition of
|
cannam@125
|
6125 audio dither when sample word sizes are being reduced.
|
cannam@125
|
6126
|
cannam@125
|
6127 * src/dither.c
|
cannam@125
|
6128 More work.
|
cannam@125
|
6129
|
cannam@125
|
6130 2003-02-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6131
|
cannam@125
|
6132 * tests/misc_test.c
|
cannam@125
|
6133 In update_header_test(), make HTK files a special case.
|
cannam@125
|
6134
|
cannam@125
|
6135 * doc/index.html
|
cannam@125
|
6136 Added HTK to the feature matrix.
|
cannam@125
|
6137
|
cannam@125
|
6138 2003-02-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6139
|
cannam@125
|
6140 * src/htk.c
|
cannam@125
|
6141 New file for reading/writing HMM Tool Kit files.
|
cannam@125
|
6142
|
cannam@125
|
6143 * src/sndfile.h.in src/sndfile.c src/command.c src/Makefile.am
|
cannam@125
|
6144 Hook in htk.c
|
cannam@125
|
6145
|
cannam@125
|
6146 * tests/write_read_test.tpl tests/misc_test.c tests/Makefile.am
|
cannam@125
|
6147 Add tests for HTK files.
|
cannam@125
|
6148
|
cannam@125
|
6149 2003-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6150
|
cannam@125
|
6151 * src/wav.c
|
cannam@125
|
6152 Fixed a bug where the LIST chunk length was being written incorrectly.
|
cannam@125
|
6153
|
cannam@125
|
6154 * tests/string_test.c
|
cannam@125
|
6155 Added call to check_log_buffer().
|
cannam@125
|
6156 Minor cleanups.
|
cannam@125
|
6157
|
cannam@125
|
6158 2003-02-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6159
|
cannam@125
|
6160 * src/wav_w64.h
|
cannam@125
|
6161 Applied patch from Antoine Mathys to add extra WAV format definitions and
|
cannam@125
|
6162 a G72x_ADPCM_WAV_FMT struct definition.
|
cannam@125
|
6163
|
cannam@125
|
6164 * src/wav_w64.c
|
cannam@125
|
6165 Applied patch from Antoine Mathys which converts wav_w64_format_str() from
|
cannam@125
|
6166 one huge inefficient switch statement to a binary search.
|
cannam@125
|
6167
|
cannam@125
|
6168 * tests/string_test.c
|
cannam@125
|
6169 Dump log buffer if tests fail.
|
cannam@125
|
6170
|
cannam@125
|
6171 2003-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6172
|
cannam@125
|
6173 * tests/string_test.c
|
cannam@125
|
6174 David Viens supplied some modifications to this file which showed up a bug
|
cannam@125
|
6175 when using sf_set_string() and the sf_writef_float() functions.
|
cannam@125
|
6176
|
cannam@125
|
6177 * src/sndfile.c
|
cannam@125
|
6178 Fixed the above bug.
|
cannam@125
|
6179
|
cannam@125
|
6180 2003-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6181
|
cannam@125
|
6182 * doc/FAQ.html
|
cannam@125
|
6183 Added Q and A on how to detect libsndfile in configure.in (at the suggestion
|
cannam@125
|
6184 of Davy Durham).
|
cannam@125
|
6185
|
cannam@125
|
6186 2003-02-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6187
|
cannam@125
|
6188 * src/sndfile.h.in
|
cannam@125
|
6189 Add enums and typedefs for dither.
|
cannam@125
|
6190 Deprecate SFC_SET_ADD_DITHER_ON_WRITE and SFC_SET_ADD_DITHER_ON_READ, to be
|
cannam@125
|
6191 replaced with SFC_SET_DITHER_ON_WRITE and SFC_SET_DITHER_ON_READ which will
|
cannam@125
|
6192 allow different dither algorithms to be enabled.
|
cannam@125
|
6193 Added SFC_GET_DITHER_INFO_COUNT and SFC_GET_DITHER_INFO.
|
cannam@125
|
6194
|
cannam@125
|
6195 * src/sndfile.h.in src/Version_script.in Win32/libsndfile.def.
|
cannam@125
|
6196 Added public sf_dither_*() functions.
|
cannam@125
|
6197
|
cannam@125
|
6198 * src/sndfile.c
|
cannam@125
|
6199 Implement commands above.
|
cannam@125
|
6200
|
cannam@125
|
6201 * src/dither.c
|
cannam@125
|
6202 More work. Framework and external hooks into dither algorithms complete.
|
cannam@125
|
6203
|
cannam@125
|
6204 2003-02-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6205
|
cannam@125
|
6206 * doc/version-1.html libsndfile_version_convert.py
|
cannam@125
|
6207 Remove redundant files.
|
cannam@125
|
6208
|
cannam@125
|
6209 * doc/index.html doc/api.html
|
cannam@125
|
6210 Remove links to version-1.html.
|
cannam@125
|
6211
|
cannam@125
|
6212 * src/dither.c
|
cannam@125
|
6213 New file to allow the addition of audio dither on input and output.
|
cannam@125
|
6214
|
cannam@125
|
6215 * src/common.h
|
cannam@125
|
6216 Add prototype for dither_init() function.
|
cannam@125
|
6217
|
cannam@125
|
6218 * Makefile.am doc/Makefile.am
|
cannam@125
|
6219 Changes for added and removed files.
|
cannam@125
|
6220
|
cannam@125
|
6221 2003-02-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6222
|
cannam@125
|
6223 * Win32/Makefile.msvc
|
cannam@125
|
6224 Changes to force example binaries to be placed in the top level directory
|
cannam@125
|
6225 instead of the examples/ directory.
|
cannam@125
|
6226 Add src/strings.c and src/xi.c to the build.
|
cannam@125
|
6227 Add string_test to build and to tests on WAV files.
|
cannam@125
|
6228
|
cannam@125
|
6229 * doc/index.html
|
cannam@125
|
6230 Added XI to support matrix.
|
cannam@125
|
6231
|
cannam@125
|
6232 2003-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6233
|
cannam@125
|
6234 * src/sndfile.h.in
|
cannam@125
|
6235 Added prototypes for sf_get_string() and sf_set_string() and SF_STR_*
|
cannam@125
|
6236 enum values.
|
cannam@125
|
6237
|
cannam@125
|
6238 * src/sndfile.c
|
cannam@125
|
6239 Added public interface to sf_get_string() and sf_set_string().
|
cannam@125
|
6240
|
cannam@125
|
6241 * src/wav.c
|
cannam@125
|
6242 Added code for setting and getting strings in WAV files.
|
cannam@125
|
6243
|
cannam@125
|
6244 * tests/string_test.c
|
cannam@125
|
6245 New test program for sf_get_string() and sf_set_string() functionality.
|
cannam@125
|
6246
|
cannam@125
|
6247 * tests/Makefile.am
|
cannam@125
|
6248 Hook new test program into build and test framework.
|
cannam@125
|
6249
|
cannam@125
|
6250 2003-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6251
|
cannam@125
|
6252 * src/common.h
|
cannam@125
|
6253 Added fields to SF_PRIVATE for string data needed to implement
|
cannam@125
|
6254 sf_get_string() and sf_set_string().
|
cannam@125
|
6255
|
cannam@125
|
6256 * src/strings.c
|
cannam@125
|
6257 New file for storing and retrieving strings to/from files.
|
cannam@125
|
6258
|
cannam@125
|
6259 * src/Makefile.am
|
cannam@125
|
6260 Added strings.c to build.
|
cannam@125
|
6261
|
cannam@125
|
6262 2003-01-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6263
|
cannam@125
|
6264 * src/xi.c
|
cannam@125
|
6265 Read seems to be working so looking at write.
|
cannam@125
|
6266
|
cannam@125
|
6267 * src/sndfile.h.in
|
cannam@125
|
6268 Added SF_FORMAT_XI, SF_FORMAT_DPCM_8 and SF_FORMAT_DPCM_16 enum values.
|
cannam@125
|
6269
|
cannam@125
|
6270 * tests/floating_point_test.c tests/lossy_comp_test.c tests/Makefile.am
|
cannam@125
|
6271 Added test for 8 and 16 bit XI format files.
|
cannam@125
|
6272
|
cannam@125
|
6273 2003-01-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6274
|
cannam@125
|
6275 * doc/index.html
|
cannam@125
|
6276 Added a non-lawyer readable summary of the licensing provisions as
|
cannam@125
|
6277 suggested by Steve Dekorte.
|
cannam@125
|
6278
|
cannam@125
|
6279 2003-01-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6280
|
cannam@125
|
6281 * src/wav.c
|
cannam@125
|
6282 Fixed a compiler warning found by Alexander Lerch.
|
cannam@125
|
6283
|
cannam@125
|
6284 2003-01-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6285
|
cannam@125
|
6286 * configure.ac
|
cannam@125
|
6287 Fixed the multiple linking of libm.
|
cannam@125
|
6288
|
cannam@125
|
6289 2003-01-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6290
|
cannam@125
|
6291 * Win32/Makefile.mcvs
|
cannam@125
|
6292 Added comments on the correct way to set up the MSVCDir environment
|
cannam@125
|
6293 variable.
|
cannam@125
|
6294
|
cannam@125
|
6295 * doc/win32.html
|
cannam@125
|
6296 Add on how to set up the MSVCDir environment variable.
|
cannam@125
|
6297
|
cannam@125
|
6298 2003-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6299
|
cannam@125
|
6300 * examples/sndfile-play.c examples/sndfile-info.c
|
cannam@125
|
6301 When run on Win32 without any command line parameters print a message and
|
cannam@125
|
6302 then sleep for 5 seconds. This means the when somebody double clicks on
|
cannam@125
|
6303 these programs in explorer the user will actually see the message.
|
cannam@125
|
6304
|
cannam@125
|
6305 2003-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6306
|
cannam@125
|
6307 * tests/misc_test.c
|
cannam@125
|
6308 Bypass permission test if running as root because root is allowed to open
|
cannam@125
|
6309 a readonly file for write.
|
cannam@125
|
6310
|
cannam@125
|
6311 2003-01-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6312
|
cannam@125
|
6313 * Win32/Makefile.msvc
|
cannam@125
|
6314 Added pvf.c and xi.c source files to project.
|
cannam@125
|
6315
|
cannam@125
|
6316 * src/sndfile.h
|
cannam@125
|
6317 Updated for PVF files.
|
cannam@125
|
6318
|
cannam@125
|
6319 2003-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6320
|
cannam@125
|
6321 * src/sndfile.c
|
cannam@125
|
6322 Modified validate_sfinfo() to force samplerate, channels and sections
|
cannam@125
|
6323 to be >= 1.
|
cannam@125
|
6324 In format_from_extension() replaced calls to does_extension_match()
|
cannam@125
|
6325 with strcmp().
|
cannam@125
|
6326
|
cannam@125
|
6327 * src/xi.c
|
cannam@125
|
6328 More work.
|
cannam@125
|
6329
|
cannam@125
|
6330 2003-01-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6331
|
cannam@125
|
6332 * doc/Makefile.am
|
cannam@125
|
6333 Added octave.html which had been left out. Found by Jan Weil.
|
cannam@125
|
6334
|
cannam@125
|
6335 2003-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6336
|
cannam@125
|
6337 * src/pvf.c src/common.h src/sndfile.c
|
cannam@125
|
6338 Fixed error handling for PVF files.
|
cannam@125
|
6339
|
cannam@125
|
6340 * src/xi.c
|
cannam@125
|
6341 New file for handling Fasttracker 2 Extended Instrument files. Not working
|
cannam@125
|
6342 yet and included when configured with --enable-experimental.
|
cannam@125
|
6343
|
cannam@125
|
6344 * src/sndfile.c src/common.h
|
cannam@125
|
6345 Hooked in new file xi.c.
|
cannam@125
|
6346
|
cannam@125
|
6347 2002-12-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6348
|
cannam@125
|
6349 * src/rx2.c
|
cannam@125
|
6350 Added a patch from Marek Peteraj which sheds a little more light on the
|
cannam@125
|
6351 slices within an RX2 file. Still need to find out data encoding.
|
cannam@125
|
6352
|
cannam@125
|
6353 2002-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6354
|
cannam@125
|
6355 * src/wav.c
|
cannam@125
|
6356 Started work on decoding 'acid' and 'strc' chunks.
|
cannam@125
|
6357
|
cannam@125
|
6358 2002-12-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6359
|
cannam@125
|
6360 * tests/peak_check_test.c
|
cannam@125
|
6361 Minor cleanup.
|
cannam@125
|
6362
|
cannam@125
|
6363 2002-12-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6364
|
cannam@125
|
6365 * tests/write_read_test.tpl
|
cannam@125
|
6366 Added check to make sure no error was generated when an attempt was made to
|
cannam@125
|
6367 read past the end of the file.
|
cannam@125
|
6368
|
cannam@125
|
6369 2002-12-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6370
|
cannam@125
|
6371 * doc/lists.html
|
cannam@125
|
6372 Added "mailto" links for all three lists.
|
cannam@125
|
6373
|
cannam@125
|
6374 * src/pvf.c
|
cannam@125
|
6375 New file for Portable Voice Format files.
|
cannam@125
|
6376
|
cannam@125
|
6377 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
|
cannam@125
|
6378 Added hooks for SF_FORMAT_PVF format files.
|
cannam@125
|
6379
|
cannam@125
|
6380 * tests/write_read_test.tpl tests/std*.c
|
cannam@125
|
6381 Add tests for SF_FORMAT_PVF.
|
cannam@125
|
6382
|
cannam@125
|
6383 * doc/index.html
|
cannam@125
|
6384 Add PVF to the compatibility matrix.
|
cannam@125
|
6385
|
cannam@125
|
6386 * src/pcm.c src/alaw.c src/ulaw.c src/float32.c src/double64.c
|
cannam@125
|
6387 Previously, attempts to read beyond the end of a file would set psf->error
|
cannam@125
|
6388 to SFE_SHORT_ERROR. This behaviour diverged from the behaviour of the POSIX
|
cannam@125
|
6389 read() call but has now been fixed.
|
cannam@125
|
6390 Attempts to read beyond the end of the file will return a short read count
|
cannam@125
|
6391 but will not longer set any error.
|
cannam@125
|
6392
|
cannam@125
|
6393 2002-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6394
|
cannam@125
|
6395 * src/sndfile.c
|
cannam@125
|
6396 Add more sanity checking when opening a RAW file for read. When format is
|
cannam@125
|
6397 not RAW, zero out all members of the SF_INFO struct.
|
cannam@125
|
6398
|
cannam@125
|
6399 * tests/raw_test.c
|
cannam@125
|
6400 Add bad_raw_test() to check for above problem.
|
cannam@125
|
6401
|
cannam@125
|
6402 * tests/stdin_test.c examples/sndfile-info.c
|
cannam@125
|
6403 Set the format field of the SF_INFO struct to zero before calling
|
cannam@125
|
6404 sf_open().
|
cannam@125
|
6405
|
cannam@125
|
6406 * doc/api.html
|
cannam@125
|
6407 Add information about the need to set the format field of the SF_INFO struct
|
cannam@125
|
6408 to zero when opening non-RAW files for read.
|
cannam@125
|
6409
|
cannam@125
|
6410 * configure.ac
|
cannam@125
|
6411 Removed use of conversion script on Solaris. Not all Solaris versions
|
cannam@125
|
6412 support it.
|
cannam@125
|
6413
|
cannam@125
|
6414 * doc/lists.html
|
cannam@125
|
6415 New file containg details of the mailing lists.
|
cannam@125
|
6416
|
cannam@125
|
6417 * doc/index.html
|
cannam@125
|
6418 Add a link to the above new file.
|
cannam@125
|
6419
|
cannam@125
|
6420 2002-12-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6421
|
cannam@125
|
6422 * tests/dft_cmp.c
|
cannam@125
|
6423 Fixed a SIGFPE on Alpha caused by a log10 (0.0). Thanks to Joshua Haberman
|
cannam@125
|
6424 for providing the gdb traceback.
|
cannam@125
|
6425
|
cannam@125
|
6426 2002-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6427
|
cannam@125
|
6428 * src/wav.c
|
cannam@125
|
6429 Added more capabilities to 'smpl' chunk parser.
|
cannam@125
|
6430
|
cannam@125
|
6431 * src/sndfile.c
|
cannam@125
|
6432 Fixed some (not all) possible problems found with Flawfinder.
|
cannam@125
|
6433
|
cannam@125
|
6434 2002-11-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6435
|
cannam@125
|
6436 * src/sndfile.c
|
cannam@125
|
6437 Fixed a bug in sf_seek(). This bug could only occur when an attempt was
|
cannam@125
|
6438 made to read beyond the end and then sf_seek() was called with a whence
|
cannam@125
|
6439 parameter of SEEK_CUR.
|
cannam@125
|
6440
|
cannam@125
|
6441 * src/file_io.c
|
cannam@125
|
6442 Win32's _fstati64() does not work, it returns BS. Re-implemented
|
cannam@125
|
6443 psf_get_filelen() in terms of psf_fseek().
|
cannam@125
|
6444
|
cannam@125
|
6445 * tests/write_read_test.tpl
|
cannam@125
|
6446 Add a test to detect above bug.
|
cannam@125
|
6447
|
cannam@125
|
6448 * src/float_cast.h
|
cannam@125
|
6449 Modification to prevent compiler warnings on Mac OS X.
|
cannam@125
|
6450
|
cannam@125
|
6451 * src/file_io.c
|
cannam@125
|
6452 Fixes for windows (what a f**ked OS).
|
cannam@125
|
6453
|
cannam@125
|
6454 2002-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6455
|
cannam@125
|
6456 * configure.ac
|
cannam@125
|
6457 Disable use of native lrint()/lrintf() on Mac OSX. These functions exist on
|
cannam@125
|
6458 Mac OSX 10.2 but not on 10.1. Forcing the use of the versions in
|
cannam@125
|
6459 src/float_cast.h means that a library compiled on 10.2 will still work on
|
cannam@125
|
6460 10.1.
|
cannam@125
|
6461
|
cannam@125
|
6462 2002-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6463
|
cannam@125
|
6464 * configure.in configure.ac
|
cannam@125
|
6465 Renamed configure.in to configure.ac as expected by later versions of
|
cannam@125
|
6466 autoconf.
|
cannam@125
|
6467 Slight hacking of configure.ac to work with version 2.54 of autoconf.
|
cannam@125
|
6468 Changed to using -dumpversion instead of --version for determining GCC
|
cannam@125
|
6469 version numer as suggested by Anand Kumria.
|
cannam@125
|
6470
|
cannam@125
|
6471 * src/G72x/Makefile.am
|
cannam@125
|
6472 Slight hacking required for operation with automake 1.6.3.
|
cannam@125
|
6473
|
cannam@125
|
6474 2002-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6475
|
cannam@125
|
6476 * src/common.c
|
cannam@125
|
6477 In psf_binheader_readf() changed type parameter type "b" type from size_t
|
cannam@125
|
6478 to int to prevent errors on IA64 CPU where sizeof (size_t) != sizeof (int).
|
cannam@125
|
6479 Thanks to Enrique Robledo Arnuncio for debugging this.
|
cannam@125
|
6480
|
cannam@125
|
6481 2002-11-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6482
|
cannam@125
|
6483 * test/command_test.tpl
|
cannam@125
|
6484 Changed test value so test would pass on Solaris.
|
cannam@125
|
6485
|
cannam@125
|
6486 * src/Version_script.in
|
cannam@125
|
6487 Modified version numbering so that later versions of 1.0.X can replace
|
cannam@125
|
6488 earlier versions without recompilation.
|
cannam@125
|
6489
|
cannam@125
|
6490 * src/vox_adpcm.c
|
cannam@125
|
6491 Fixed bug causing short reads.
|
cannam@125
|
6492
|
cannam@125
|
6493 2002-11-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6494
|
cannam@125
|
6495 * test/floating_point_test.c
|
cannam@125
|
6496 Code cleanup using functions from util.c.
|
cannam@125
|
6497 Add test for IEEE replacement floats and doubles.
|
cannam@125
|
6498
|
cannam@125
|
6499 2002-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6500
|
cannam@125
|
6501 * src/wav.c
|
cannam@125
|
6502 Fixed a possible divide by zero error when read the 'smpl' chunk. Thanks to
|
cannam@125
|
6503 Serg Repalov for the example file.
|
cannam@125
|
6504
|
cannam@125
|
6505 * tests/pcm_test.tpl
|
cannam@125
|
6506 Used sf_command (SFC_TEST_IEEE_FLOAT_REPLACE) to test IEEE replacement code.
|
cannam@125
|
6507 Clean up pcm_double_test().
|
cannam@125
|
6508
|
cannam@125
|
6509 * src/float32.c src/double64.c
|
cannam@125
|
6510 Force use of IEEE replacement code using psf->ieee_replace is TRUE,
|
cannam@125
|
6511 Print message to log_buffer as well.
|
cannam@125
|
6512 Rename all broken_read_* and broken_write* functions to replace_read_* and
|
cannam@125
|
6513 replace_write_*.
|
cannam@125
|
6514
|
cannam@125
|
6515 * tests/util.tpl
|
cannam@125
|
6516 Added string_in_log_buffer().
|
cannam@125
|
6517
|
cannam@125
|
6518 * tests/pcm_test.tpl
|
cannam@125
|
6519 Use string_in_log_buffer() to ensure that IEEE replacement code has been
|
cannam@125
|
6520 used.
|
cannam@125
|
6521
|
cannam@125
|
6522 * configure.in
|
cannam@125
|
6523 Removed --enable-force-broken-float option. IEEE replacement code is now
|
cannam@125
|
6524 always tested.
|
cannam@125
|
6525
|
cannam@125
|
6526 2002-10-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6527
|
cannam@125
|
6528 * src/double64.c
|
cannam@125
|
6529 Implement code for read/writing IEEE doubles on platforms where the native
|
cannam@125
|
6530 double format is not IEEE.
|
cannam@125
|
6531
|
cannam@125
|
6532 * src/float32.c src/common.h
|
cannam@125
|
6533 Remove float32_read() and float32_write(). Replace with float32_le_read(),
|
cannam@125
|
6534 float32_be_read(), float32_le_write() and float32_be_write() to match stuff
|
cannam@125
|
6535 in src/double64.c.
|
cannam@125
|
6536
|
cannam@125
|
6537 * src/common.c
|
cannam@125
|
6538 Fix all usage of float32_write().
|
cannam@125
|
6539
|
cannam@125
|
6540 * src/sndfile.h.in
|
cannam@125
|
6541 Added SFC_TEST_IEEE_FLOAT_REPLACE command (testing only).
|
cannam@125
|
6542
|
cannam@125
|
6543 * src/common.h
|
cannam@125
|
6544 Added SF_PRIVATE field ieee_replace.
|
cannam@125
|
6545
|
cannam@125
|
6546 * src/sndfile.c
|
cannam@125
|
6547 In sf_command() set/reset psf->ieee_replace.
|
cannam@125
|
6548
|
cannam@125
|
6549 2002-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6550
|
cannam@125
|
6551 * tests/pcm_test.tpl
|
cannam@125
|
6552 Fixed a problem when testing with --enable-force-broken-float. The test was
|
cannam@125
|
6553 generating a value of negative zero and the broken float code is not able
|
cannam@125
|
6554 to write negative zero. Removing the negative zero fixed the test.
|
cannam@125
|
6555
|
cannam@125
|
6556 2002-10-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6557
|
cannam@125
|
6558 * src/file_io.c
|
cannam@125
|
6559 Added fix for Cygwin (suggested by Maros Michalik).
|
cannam@125
|
6560
|
cannam@125
|
6561 2002-10-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6562
|
cannam@125
|
6563 * src/file_io.c
|
cannam@125
|
6564 Improved error detection and handling.
|
cannam@125
|
6565
|
cannam@125
|
6566 * src/file_io.c src/common.h
|
cannam@125
|
6567 Removed functions psf_ferror() and psf_clearerr() which were redundant
|
cannam@125
|
6568 after above improvements.
|
cannam@125
|
6569
|
cannam@125
|
6570 * src/aiff.c src/svx.c src/w64.c src/wav.c
|
cannam@125
|
6571 Removed all use of psf_ferror() and psf_clearerr().
|
cannam@125
|
6572
|
cannam@125
|
6573 * src/sndfile.c
|
cannam@125
|
6574 Removed #include of <stdio.h>, <unistd.h>, <fcntl.h> and <math.h> which
|
cannam@125
|
6575 are no longer needed.
|
cannam@125
|
6576
|
cannam@125
|
6577 * tests/misc_test.c
|
cannam@125
|
6578 Added test to make sure the correct error message is returned with an
|
cannam@125
|
6579 existing read-only file is openned for write.
|
cannam@125
|
6580
|
cannam@125
|
6581 2002-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6582
|
cannam@125
|
6583 * doc/index.html doc/api.html
|
cannam@125
|
6584 Updated for OKI Dialogic ADPCM files.
|
cannam@125
|
6585
|
cannam@125
|
6586 * src/command.c
|
cannam@125
|
6587 Added VOX ADPCM to sub_fomats.
|
cannam@125
|
6588
|
cannam@125
|
6589 2002-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6590
|
cannam@125
|
6591 * src/vox_adpcm.c src/Makefile.am
|
cannam@125
|
6592 New file for handling OKI Dialogic ADPCM files.
|
cannam@125
|
6593
|
cannam@125
|
6594 * src/sndfile.h
|
cannam@125
|
6595 Add new subtype SF_FORMAT_VOX_ADPCM.
|
cannam@125
|
6596
|
cannam@125
|
6597 * src/sndfile.c
|
cannam@125
|
6598 Renamed function is_au_snd_file () to format_from_extenstion () and expanded
|
cannam@125
|
6599 its functionality to detect headerless VOX files.
|
cannam@125
|
6600
|
cannam@125
|
6601 * src/raw.c
|
cannam@125
|
6602 Added hooks for SF_FORMAT_VOX_ADPCM.
|
cannam@125
|
6603
|
cannam@125
|
6604 * examples/sndfile-info.c
|
cannam@125
|
6605 Print out file duration (suggested by Conrad Parker).
|
cannam@125
|
6606
|
cannam@125
|
6607 * libsndfile.spec.in
|
cannam@125
|
6608 Force installation of sndfile.pc file (found by John Thompson).
|
cannam@125
|
6609
|
cannam@125
|
6610 * tests/Makefile.am tests/lossy_comp_test.c tests/floating_point_test.c
|
cannam@125
|
6611 Add tests for SF_FORMAT_VOX_ADPCM.
|
cannam@125
|
6612
|
cannam@125
|
6613 2002-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6614
|
cannam@125
|
6615 * tests/misc_test.c
|
cannam@125
|
6616 Add test which attempts to write to /dev/full (on Linux anyway) to check
|
cannam@125
|
6617 for correct handling of writing to a full filesystem.
|
cannam@125
|
6618
|
cannam@125
|
6619 * src/sndfile.c
|
cannam@125
|
6620 Return correct error message if the header cannot be written because the
|
cannam@125
|
6621 filesystem is full.
|
cannam@125
|
6622
|
cannam@125
|
6623 * tests/util.tpl
|
cannam@125
|
6624 Corrected printing of file mode in error reporting.
|
cannam@125
|
6625
|
cannam@125
|
6626 * src/mat5.c
|
cannam@125
|
6627 Fixed a bug where a MAT5 file written by libsndfile could not be opened by
|
cannam@125
|
6628 Octave 2.1.36.
|
cannam@125
|
6629
|
cannam@125
|
6630 2002-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6631
|
cannam@125
|
6632 * src/common.h src/file_io.c
|
cannam@125
|
6633 All low level file I/O have been modified to be better able to report
|
cannam@125
|
6634 system errors resulting from calling system level open/read/write etc.
|
cannam@125
|
6635
|
cannam@125
|
6636 * src/*.c
|
cannam@125
|
6637 Updated for compatibility with above changes.
|
cannam@125
|
6638
|
cannam@125
|
6639 * examples/cooledit-fixer.c
|
cannam@125
|
6640 New example program which fixes badly broken file created by Syntrillium's
|
cannam@125
|
6641 Cooledit which are marked as containing PCM samples but actually contain
|
cannam@125
|
6642 floating point data.
|
cannam@125
|
6643
|
cannam@125
|
6644 * examples/Makefile.am
|
cannam@125
|
6645 Hooked cooledit-fixer into the build system.
|
cannam@125
|
6646
|
cannam@125
|
6647 2002-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6648
|
cannam@125
|
6649 * doc/command.html
|
cannam@125
|
6650 Document SFC_GET_FORMAT_INFO.
|
cannam@125
|
6651
|
cannam@125
|
6652 2002-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6653
|
cannam@125
|
6654 * examples/wav32_aiff24.c examples/sndfile2oct.c examples/sfhexdump.c
|
cannam@125
|
6655 examples/sfdump.c
|
cannam@125
|
6656 Removed these files because they weren't interesting.
|
cannam@125
|
6657
|
cannam@125
|
6658 * examples/sfconvert.c examples/sndfile-convert.c
|
cannam@125
|
6659 Renamed the first to the latter.
|
cannam@125
|
6660
|
cannam@125
|
6661 * examples/Makefile.am
|
cannam@125
|
6662 Added sndfile-convert to the bin_PROGRAMS, so it is installed when the lib
|
cannam@125
|
6663 is installed.
|
cannam@125
|
6664 Removed old programs wav32_aiff24 and sndfile2oct.
|
cannam@125
|
6665
|
cannam@125
|
6666 * man/sndfile-convert.1
|
cannam@125
|
6667 New man page.
|
cannam@125
|
6668
|
cannam@125
|
6669 * examples/sndfile-convert.c
|
cannam@125
|
6670 Added some gloss now that sndfile-convert.c is an installed program.
|
cannam@125
|
6671
|
cannam@125
|
6672 * src/sndfile.h.in src/sndfile.c src/common.h src/command.h
|
cannam@125
|
6673 Added command SFC_GET_FORMAT_INFO.
|
cannam@125
|
6674
|
cannam@125
|
6675 * tests/command_test.c
|
cannam@125
|
6676 Added tests form SFC_GET_FORMAT_INFO.
|
cannam@125
|
6677
|
cannam@125
|
6678 2002-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6679
|
cannam@125
|
6680 * src/sndfile.c
|
cannam@125
|
6681 In sf_format_check() return error if samplerate < 0.
|
cannam@125
|
6682
|
cannam@125
|
6683 2002-10-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6684
|
cannam@125
|
6685 * src/aiff.c
|
cannam@125
|
6686 Fixed bug in handling of COMM chunks with a 4 byte encoding byte but no
|
cannam@125
|
6687 encoding string.
|
cannam@125
|
6688
|
cannam@125
|
6689 2002-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6690
|
cannam@125
|
6691 * src/sndfile.c
|
cannam@125
|
6692 Fixed repeated word in an error message.
|
cannam@125
|
6693
|
cannam@125
|
6694 2002-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6695
|
cannam@125
|
6696 * doc/index.html
|
cannam@125
|
6697 Improved advertising in Features section.
|
cannam@125
|
6698
|
cannam@125
|
6699 2002-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6700
|
cannam@125
|
6701 * src/wav.c
|
cannam@125
|
6702 Added decoding of 'labl' chunks within 'LIST' chunks.
|
cannam@125
|
6703
|
cannam@125
|
6704 * src/common.h
|
cannam@125
|
6705 Added (experimental only) SF_FORMAT_OGG and SF_FORMAT_VORBIS and definition
|
cannam@125
|
6706 of ogg_open(). This is nowhere near working yet.
|
cannam@125
|
6707
|
cannam@125
|
6708 * src/sndfile.c
|
cannam@125
|
6709 Added detection of 'OggS' file marker and added call to ogg_open() to
|
cannam@125
|
6710 switch statement.
|
cannam@125
|
6711
|
cannam@125
|
6712 * src/ogg.c
|
cannam@125
|
6713 New file. Very early start of Ogg Vorbis support.
|
cannam@125
|
6714
|
cannam@125
|
6715 * src/wav.c
|
cannam@125
|
6716 Added handling of brain-damaged and broken Cooledit "32 bit 24.0 float
|
cannam@125
|
6717 type 1" files. These files are marked as being 24 bit WAVE_FORMAT_PCM with
|
cannam@125
|
6718 a block alignment of 4 times the numbers of channels but are in fact 32 bit
|
cannam@125
|
6719 floating point.
|
cannam@125
|
6720
|
cannam@125
|
6721 2002-10-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6722
|
cannam@125
|
6723 * configure.in
|
cannam@125
|
6724 Modified option --enable-experimental to set ENABLE_EXPERIMENTAL_CODE in
|
cannam@125
|
6725 config.h to either 0 or 1.
|
cannam@125
|
6726
|
cannam@125
|
6727 * src/sndfile.c
|
cannam@125
|
6728 Modify sf_command (SFC_GET_LIB_VERSION) to append "-exp" to the version
|
cannam@125
|
6729 string if experimental code has been enabled.
|
cannam@125
|
6730
|
cannam@125
|
6731 2002-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6732
|
cannam@125
|
6733 * src/Makefile.am
|
cannam@125
|
6734 Added -lm to libsndfile_la_LIBADD. This means that -lm is not longer needed
|
cannam@125
|
6735 in the link line when linking something to libsndfile.
|
cannam@125
|
6736
|
cannam@125
|
6737 * tests/Makefile.am examples/Makefile.am
|
cannam@125
|
6738 Removed -lm from all link lines.
|
cannam@125
|
6739
|
cannam@125
|
6740 * sndfile.pc.in
|
cannam@125
|
6741 Removed -lm from Libs line.
|
cannam@125
|
6742
|
cannam@125
|
6743 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6744
|
cannam@125
|
6745 * src/file_io.c
|
cannam@125
|
6746 Removed all perror() calls.
|
cannam@125
|
6747
|
cannam@125
|
6748 * src/nist.c
|
cannam@125
|
6749 Removed calls to exit() function.
|
cannam@125
|
6750 Added check to detect NIST files dammaged from Unix CR -> Win32 CRLF
|
cannam@125
|
6751 conversion process.
|
cannam@125
|
6752
|
cannam@125
|
6753 2002-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6754
|
cannam@125
|
6755 * src/sndfile.h.in src/sndfile.c
|
cannam@125
|
6756 New function sf_strerror() which will eventually replace functions
|
cannam@125
|
6757 sf_perror() and sf_error_str().
|
cannam@125
|
6758 Function sf_error_number() has also been changed, but this was documented
|
cannam@125
|
6759 as being for testing only.
|
cannam@125
|
6760
|
cannam@125
|
6761 * doc/api.html
|
cannam@125
|
6762 Documented above changes.
|
cannam@125
|
6763
|
cannam@125
|
6764 * tests/*.c examples/*.c
|
cannam@125
|
6765 Changed to new error functions.
|
cannam@125
|
6766
|
cannam@125
|
6767 2002-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6768
|
cannam@125
|
6769 * configure.in
|
cannam@125
|
6770 Detect GCC version, and print a warning message about writeable strings
|
cannam@125
|
6771 it GCC major version number is less than 3.
|
cannam@125
|
6772
|
cannam@125
|
6773 2002-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6774
|
cannam@125
|
6775 * src/sndfile.h.in doc/api.html
|
cannam@125
|
6776 Documentation fixes.
|
cannam@125
|
6777
|
cannam@125
|
6778 2002-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6779
|
cannam@125
|
6780 * src/Version_script.in src/Makefile.am configure.in
|
cannam@125
|
6781 Use the version script to prevent the exporting of all non public symbols.
|
cannam@125
|
6782 This currently only works with Linux. Will test on Solaris as well.
|
cannam@125
|
6783
|
cannam@125
|
6784 * src/float_cast.h
|
cannam@125
|
6785 Added #ifndef to prevent the #warning directives killing the SGI MIPSpro
|
cannam@125
|
6786 compiler.
|
cannam@125
|
6787
|
cannam@125
|
6788 * src/au_g72x.c src/double64.c src/float32.c src/gsm610.c src/ima_adpcm.c
|
cannam@125
|
6789 src/ms_adpcm.c
|
cannam@125
|
6790 Fix benign compiler warnings arising from previously added compiler
|
cannam@125
|
6791 flags.
|
cannam@125
|
6792
|
cannam@125
|
6793 2002-09-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6794
|
cannam@125
|
6795 * src/sndfile.c
|
cannam@125
|
6796 Fixed a bug in sf_error_str() where errnum was used as the index instead
|
cannam@125
|
6797 of k. Found by Tim Hockin.
|
cannam@125
|
6798
|
cannam@125
|
6799 * examples/sndfile-play.c
|
cannam@125
|
6800 Fixed a compiler warning resulting from a variable shadowing a previously
|
cannam@125
|
6801 defined local.
|
cannam@125
|
6802
|
cannam@125
|
6803 2002-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6804
|
cannam@125
|
6805 * src/sndfile.h.in src/sndfile.c
|
cannam@125
|
6806 Added command SFC_SET_RAW_START_OFFSET.
|
cannam@125
|
6807
|
cannam@125
|
6808 * doc/command.html
|
cannam@125
|
6809 Document SFC_SET_RAW_START_OFFSET.
|
cannam@125
|
6810
|
cannam@125
|
6811 * tests/raw_test.c tests/Makefile.am
|
cannam@125
|
6812 Add new file for testing SF_FORMAT_RAW specific functionality.
|
cannam@125
|
6813
|
cannam@125
|
6814 * tests/dwvw_test.c
|
cannam@125
|
6815 Updates.
|
cannam@125
|
6816
|
cannam@125
|
6817 2002-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6818
|
cannam@125
|
6819 * src/wav.c
|
cannam@125
|
6820 Modified reading of 'smpl' chunk to take account of the sampler data field.
|
cannam@125
|
6821
|
cannam@125
|
6822 * tests/utils.tpl tests/utils.h
|
cannam@125
|
6823 Added function print_test_name().
|
cannam@125
|
6824
|
cannam@125
|
6825 * tests/misc_test.c tests/write_read_test.tpl tests/lossy_comp_test.c
|
cannam@125
|
6826 tests/pcm_test.tpl tests/command_test.tpl tests/floating_point_test.c
|
cannam@125
|
6827 Convert to use function print_test_name().
|
cannam@125
|
6828
|
cannam@125
|
6829 2002-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6830
|
cannam@125
|
6831 * doc/octave.html
|
cannam@125
|
6832 Added a link to some other Octave scripts for reading and writing sound
|
cannam@125
|
6833 files.
|
cannam@125
|
6834
|
cannam@125
|
6835 * src/paf.c
|
cannam@125
|
6836 Change type of dummy data field to int. This should fix a benign compiler
|
cannam@125
|
6837 warning on some CPUs.
|
cannam@125
|
6838 Removed superfluous casts resulting from the above change.
|
cannam@125
|
6839
|
cannam@125
|
6840 * src/rx2.c
|
cannam@125
|
6841 More hacking.
|
cannam@125
|
6842
|
cannam@125
|
6843 2002-09-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6844
|
cannam@125
|
6845 * src/mat5.c src/common.c
|
cannam@125
|
6846 Changed usage of snprintf() to LSF_SNPRINTF().
|
cannam@125
|
6847
|
cannam@125
|
6848 * Win32/Makefile.msvc
|
cannam@125
|
6849 Updated to include new files and add new tests.
|
cannam@125
|
6850
|
cannam@125
|
6851 * Win32/config.h Win32/sndfile.h
|
cannam@125
|
6852 Updated.
|
cannam@125
|
6853
|
cannam@125
|
6854 * doc/api.html
|
cannam@125
|
6855 Added note about the possibility of "missing" features actually being
|
cannam@125
|
6856 implemented as an sf_command().
|
cannam@125
|
6857
|
cannam@125
|
6858 2002-09-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6859
|
cannam@125
|
6860 * tests/misc_test.c
|
cannam@125
|
6861 Added previously missing update_header_test and zero_data_tests for PAF,
|
cannam@125
|
6862 MAT4 and MAT5 formats.
|
cannam@125
|
6863
|
cannam@125
|
6864 * src/paf.c src/mat4.c src/mat5.c
|
cannam@125
|
6865 Fixed bugs uncovered by new tests above.
|
cannam@125
|
6866
|
cannam@125
|
6867 * src/mat5.c
|
cannam@125
|
6868 Generalised parsing of name fields of MAT5 files.
|
cannam@125
|
6869
|
cannam@125
|
6870 * src/mat5.c src/sndfile.c
|
cannam@125
|
6871 Added support for unsigned 8 bit PCM MAT5 files.
|
cannam@125
|
6872
|
cannam@125
|
6873 * tests/write_read_test.tpl
|
cannam@125
|
6874 Added test for unsigned 8 bit PCM MAT5 files.
|
cannam@125
|
6875
|
cannam@125
|
6876 * doc/index.html
|
cannam@125
|
6877 Added unsigned 8 bit PCM MAT5 to capabilities matrix.
|
cannam@125
|
6878
|
cannam@125
|
6879 2002-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6880
|
cannam@125
|
6881 * test/update_header_test.c tests/misc_test.c
|
cannam@125
|
6882 Renamed update_header_test.c to misc_test.c.
|
cannam@125
|
6883 Added zero_data_test() to check for case where file is opened for write and
|
cannam@125
|
6884 closed immediately. The resulting file can be left in a state where
|
cannam@125
|
6885 libsndfile cannot open it. Problem reported by Werner Schweer, the author
|
cannam@125
|
6886 of Muse.
|
cannam@125
|
6887
|
cannam@125
|
6888 * src/aiff.c
|
cannam@125
|
6889 Removed superfluous cast.
|
cannam@125
|
6890
|
cannam@125
|
6891 * src/wav.c src/svx.c
|
cannam@125
|
6892 Fixed case of file generated with no data.
|
cannam@125
|
6893 Removed superfluous cast.
|
cannam@125
|
6894
|
cannam@125
|
6895 * src/sndfile.c
|
cannam@125
|
6896 Fixed error on IA64 platform caused by incorrect termination of
|
cannam@125
|
6897 SndfileErrors struct array. This problem was found in the Debian buildd
|
cannam@125
|
6898 logs (http://buildd.debian.org/).
|
cannam@125
|
6899
|
cannam@125
|
6900 * configure.in
|
cannam@125
|
6901 Added Octave directory.
|
cannam@125
|
6902
|
cannam@125
|
6903 * Octave/Makefile.ma
|
cannam@125
|
6904 New Makfile.am for Octave directory.
|
cannam@125
|
6905
|
cannam@125
|
6906 * Octave/sndfile_load.m Octave/sndfile_save.m Octave/sndfile_play.m
|
cannam@125
|
6907 New files for working with Octave.
|
cannam@125
|
6908
|
cannam@125
|
6909 * doc/octave.html
|
cannam@125
|
6910 Document explaining the use of the above three Octave scripts.
|
cannam@125
|
6911
|
cannam@125
|
6912 2002-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6913
|
cannam@125
|
6914 * src/sndfile.c
|
cannam@125
|
6915 Fixed bug in RDWR mode.
|
cannam@125
|
6916
|
cannam@125
|
6917 2002-09-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6918
|
cannam@125
|
6919 * src/common.c
|
cannam@125
|
6920 Fixed psf_get_date_str() for systems which don't have gmtime_r() or
|
cannam@125
|
6921 gmtime().
|
cannam@125
|
6922
|
cannam@125
|
6923 * src/file_io.c
|
cannam@125
|
6924 Added #include <io.h> for Win32. Reported by Koen Tanghe.
|
cannam@125
|
6925
|
cannam@125
|
6926 2002-09-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6927
|
cannam@125
|
6928 * src/common.c
|
cannam@125
|
6929 Added 'S' format specifier for psf_binheader_writef() which writes a C
|
cannam@125
|
6930 string, including single null terminator to the header.
|
cannam@125
|
6931 Added 'j' format specifier to allow jumping forwards or backwards in the
|
cannam@125
|
6932 header.
|
cannam@125
|
6933 Added function psf_get_date_str().
|
cannam@125
|
6934
|
cannam@125
|
6935 * src/mat5.c
|
cannam@125
|
6936 Complete read and write support.
|
cannam@125
|
6937
|
cannam@125
|
6938 * doc/index.html
|
cannam@125
|
6939 Added entries for MAT4 and MAT5 in capabilities matrix.
|
cannam@125
|
6940
|
cannam@125
|
6941 2002-09-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6942
|
cannam@125
|
6943 * src/mat4.c
|
cannam@125
|
6944 Completed read and write support.
|
cannam@125
|
6945
|
cannam@125
|
6946 * src/common.h src/sndfile.c
|
cannam@125
|
6947 Added MAT4 and MAT5 specific error messages.
|
cannam@125
|
6948
|
cannam@125
|
6949 * tests/write_read_test.tpl tests/Makefile.am
|
cannam@125
|
6950 Added tests for MAT4 and MAT5 files.
|
cannam@125
|
6951
|
cannam@125
|
6952 * tests/stdio_test.c tests/stdout_test.c tests/stdin_test.c
|
cannam@125
|
6953 Added tests for MAT4 and MAT5 files.
|
cannam@125
|
6954
|
cannam@125
|
6955 2002-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6956
|
cannam@125
|
6957 * src/command.c
|
cannam@125
|
6958 Added elements for SF_FORMAT_MAT4 and SF_FORMAT_MAT5 to major_formats
|
cannam@125
|
6959 array.
|
cannam@125
|
6960
|
cannam@125
|
6961 * examples/sfconvert.c
|
cannam@125
|
6962 Added mat4 and mat5 output targets.
|
cannam@125
|
6963
|
cannam@125
|
6964 2002-09-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6965
|
cannam@125
|
6966 * src/sndfile.c
|
cannam@125
|
6967 Added check to prevent errors openning read only formats for read/write.
|
cannam@125
|
6968
|
cannam@125
|
6969 * src/interleave.c
|
cannam@125
|
6970 New file for interleaving non-interleaved data. Non-interleaved data is
|
cannam@125
|
6971 only supported on read.
|
cannam@125
|
6972
|
cannam@125
|
6973 * src/Makefile.am
|
cannam@125
|
6974 Added src/interleave.c to build.
|
cannam@125
|
6975
|
cannam@125
|
6976 2002-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6977
|
cannam@125
|
6978 * src/double64.c src/common.h
|
cannam@125
|
6979 Added double64_be_read(), double64_le_read(), double64_be_write() and
|
cannam@125
|
6980 double64_le_write() which replace double64_read() and double64_write().
|
cannam@125
|
6981
|
cannam@125
|
6982 * src/common.c
|
cannam@125
|
6983 Cleanup of psf_binheader_readf() and add ability to read big and little
|
cannam@125
|
6984 endian doubles (required by mat4.c and mat5.c).
|
cannam@125
|
6985 Add ability for psf_binheader_writef() to write doubles to sound file
|
cannam@125
|
6986 headers.
|
cannam@125
|
6987
|
cannam@125
|
6988 2002-09-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
6989
|
cannam@125
|
6990 * src/mat5.c
|
cannam@125
|
6991 New file for reading Matlab (tm) version 5 data files. This is also the
|
cannam@125
|
6992 native binary file format for version 2.1.X of GNU Octave which will be
|
cannam@125
|
6993 used for testing.
|
cannam@125
|
6994 Not complete yet.
|
cannam@125
|
6995
|
cannam@125
|
6996 * src/mat4.c
|
cannam@125
|
6997 New file for reading Matlab (tm) version 4.2 data files. This is also the
|
cannam@125
|
6998 native binary file format for version 2.0.X of GNU Octave which will be
|
cannam@125
|
6999 used for testing.
|
cannam@125
|
7000 Not complete yet.
|
cannam@125
|
7001
|
cannam@125
|
7002 * src/sndfile.h.in src/sndfile.c src/common.h src/command.c src/Makefile.am
|
cannam@125
|
7003 Mods to add Matlab files.
|
cannam@125
|
7004
|
cannam@125
|
7005 * src/common.[ch]
|
cannam@125
|
7006 Added readf_endian field to SF_PRIVATE struct allowing endianness to
|
cannam@125
|
7007 remembered across calls to sf_binheader_readf().
|
cannam@125
|
7008 Fixed bug in width_specifier behaviour for printing hex values.
|
cannam@125
|
7009
|
cannam@125
|
7010 2002-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7011
|
cannam@125
|
7012 * src/file_io.c
|
cannam@125
|
7013 Check return value of close() call in psf_fclose().
|
cannam@125
|
7014
|
cannam@125
|
7015 2002-08-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7016
|
cannam@125
|
7017 * src/ms_adpcm.c
|
cannam@125
|
7018 Commented out some code where 0x10000 was being subtracted from a short
|
cannam@125
|
7019 and the result assigned to a short again. Andrew Zaja found this.
|
cannam@125
|
7020
|
cannam@125
|
7021 2002-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7022
|
cannam@125
|
7023 * doc/command.html
|
cannam@125
|
7024 Fixed typo found by Tommi Ilmonen.
|
cannam@125
|
7025
|
cannam@125
|
7026 * src/ima_adpcm.c
|
cannam@125
|
7027 Changed type of diff from short to int to prevent errors which can occur
|
cannam@125
|
7028 during very rare circumstances. Thanks to FUWAFUWA.
|
cannam@125
|
7029
|
cannam@125
|
7030 2002-08-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7031
|
cannam@125
|
7032 * tests/floating_point_test.c
|
cannam@125
|
7033 Disable testing on machines without lrintf().
|
cannam@125
|
7034
|
cannam@125
|
7035 * Win32/Makefile.msvc
|
cannam@125
|
7036 Added dwd.c and wve.c to build.
|
cannam@125
|
7037
|
cannam@125
|
7038 * configure.in
|
cannam@125
|
7039 Bumped version to 1.0.0.
|
cannam@125
|
7040
|
cannam@125
|
7041 2002-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7042
|
cannam@125
|
7043 * src/file_io.c
|
cannam@125
|
7044 Add a #include for Mac OS 9. Thanks to Stephane Letz.
|
cannam@125
|
7045
|
cannam@125
|
7046 * src/wav.c
|
cannam@125
|
7047 Changed an snprintf to LSF_SNPRINTF.
|
cannam@125
|
7048
|
cannam@125
|
7049 * doc/Makefile.am
|
cannam@125
|
7050 Added version-1.html.
|
cannam@125
|
7051
|
cannam@125
|
7052 2002-08-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7053
|
cannam@125
|
7054 * configure.in
|
cannam@125
|
7055 Bumped version to 1.0.rc6.
|
cannam@125
|
7056
|
cannam@125
|
7057 * src/*.c
|
cannam@125
|
7058 Modified scaling of normalised floats and doubles to integers. Until now
|
cannam@125
|
7059 this has been done by multiplying by 0x8000 for short output, 0x80000000
|
cannam@125
|
7060 for 32 bit ints and so on. Unfortunately this can cause an overflow and
|
cannam@125
|
7061 wrap around in the target value. All thes values have therefore been
|
cannam@125
|
7062 reduced to 0x7FFF, 0x7FFFFFFF and so on. The conversion from ints to
|
cannam@125
|
7063 normalised floats and doubles remains unchanged. This does mean that for
|
cannam@125
|
7064 repeated conversions normalised float -> pcm16 -> normalised float would
|
cannam@125
|
7065 result in a decrease in amplitude of 0x7FFF/0x8000 on every round trip.
|
cannam@125
|
7066 This is undesirable but less undesireable than the wrap around I am trying
|
cannam@125
|
7067 to avoid.
|
cannam@125
|
7068
|
cannam@125
|
7069 * tests/floating_point_test.c
|
cannam@125
|
7070 Removed file hash checking because new float scaling procedure introduced
|
cannam@125
|
7071 above prevented the ability to crate a has on both x86 and PowerPC systems.
|
cannam@125
|
7072
|
cannam@125
|
7073 2002-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7074
|
cannam@125
|
7075 * src/txw.c
|
cannam@125
|
7076 Completed reading of TXW files. Seek doesn't work yet.
|
cannam@125
|
7077
|
cannam@125
|
7078 * src/file_io.c
|
cannam@125
|
7079 Added a MacOS 9 replacement for ftruncate().
|
cannam@125
|
7080
|
cannam@125
|
7081 * MacOS/sndfile.h
|
cannam@125
|
7082 Added MacOS 9 header file. This should be copied into src/ to compile
|
cannam@125
|
7083 libsndfile for MacOS9.
|
cannam@125
|
7084
|
cannam@125
|
7085 2002-08-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7086
|
cannam@125
|
7087 * src/sndfile.c
|
cannam@125
|
7088 Fixed commands SF_SET_NORM_DOUBLE and SFC_SET_NORM_FLOAT to return their
|
cannam@125
|
7089 values after being set. Reported by Jussi Laako.
|
cannam@125
|
7090
|
cannam@125
|
7091 * configure.in
|
cannam@125
|
7092 If autogen is not found, touch all .c and .h files in tests/.
|
cannam@125
|
7093
|
cannam@125
|
7094 * src/common.c
|
cannam@125
|
7095 Added format width specifier to psf_log_printf() for %u, %d, %D and %X.
|
cannam@125
|
7096
|
cannam@125
|
7097 * src/dwd.c
|
cannam@125
|
7098 Completed implementation of read only access to these files.
|
cannam@125
|
7099
|
cannam@125
|
7100 * src/common.h src/*.c src/pcm.c
|
cannam@125
|
7101 Removed redundant field chars from SF_PRIVATE struct and modified
|
cannam@125
|
7102 pcm_init() to do without it.
|
cannam@125
|
7103
|
cannam@125
|
7104 2002-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7105
|
cannam@125
|
7106 * src/wve.c
|
cannam@125
|
7107 New file implementing read of Psion Alaw files. This will be a read only
|
cannam@125
|
7108 format. Implementation complete.
|
cannam@125
|
7109
|
cannam@125
|
7110 * src/dwd/c
|
cannam@125
|
7111 Started implementation of DiamondWare Digitized files. Also read only, not
|
cannam@125
|
7112 complete.
|
cannam@125
|
7113
|
cannam@125
|
7114 * src/wav.c
|
cannam@125
|
7115 Add parsing of 'smpl' chunk.
|
cannam@125
|
7116
|
cannam@125
|
7117 * src/paf.c
|
cannam@125
|
7118 Fixed reading on un-normalized doubles and floats from 24 bit PAF files.
|
cannam@125
|
7119 This brings it into line with the reading of 8 bit files into
|
cannam@125
|
7120 un-normalized doubles which returns values in the range [-128, 127].
|
cannam@125
|
7121
|
cannam@125
|
7122 * src/common.c
|
cannam@125
|
7123 Modified psf_log_printf() to accept the %% conversion specifier to allow
|
cannam@125
|
7124 printing of a single '%'.
|
cannam@125
|
7125
|
cannam@125
|
7126 * src/sds.c
|
cannam@125
|
7127 Read only of 16 bit samples is working. Need to build a test harness for
|
cannam@125
|
7128 this and other read only formats.
|
cannam@125
|
7129
|
cannam@125
|
7130 2002-08-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7131
|
cannam@125
|
7132 * configure.in
|
cannam@125
|
7133 Added --enable-experimental configure option.
|
cannam@125
|
7134 Removed pkg-config message at the end of the configure process.
|
cannam@125
|
7135
|
cannam@125
|
7136 * src/sds.c src/txw.c src/rx2.c src/sd2.c
|
cannam@125
|
7137 Moved all the code in these files inside #if ENABLE_EXPERIMENTAL_CODE
|
cannam@125
|
7138 blocks and added new *_open() function for the case where experimental is
|
cannam@125
|
7139 not enabled. These new functions just return SFE_UNIMPLMENTED.
|
cannam@125
|
7140
|
cannam@125
|
7141 * Win32/sndfile.h src/sndfile.h.in src/common.h
|
cannam@125
|
7142 Removed un-necessary #pragma pack commands.
|
cannam@125
|
7143
|
cannam@125
|
7144 * src/file_io.c
|
cannam@125
|
7145 Implemented psf_ftruncate() and much other hacking for Win32.
|
cannam@125
|
7146
|
cannam@125
|
7147 * Win32/Makefile.msvc
|
cannam@125
|
7148 Updated.
|
cannam@125
|
7149
|
cannam@125
|
7150 * doc/win32.html
|
cannam@125
|
7151 Updated to include the copying of the sndfile.h file from the Win32/
|
cannam@125
|
7152 directory to the src/ directory.
|
cannam@125
|
7153
|
cannam@125
|
7154 * Make.bat
|
cannam@125
|
7155 Batch file to make compiling on Wi32 a little easier. Implements "make" and
|
cannam@125
|
7156 "make check".
|
cannam@125
|
7157
|
cannam@125
|
7158 2002-08-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7159
|
cannam@125
|
7160 * src/file_io.c
|
cannam@125
|
7161 Add place holder for ftruncate() on Win32 which doesn't have ftruncate().
|
cannam@125
|
7162 This will need to be fixed later.
|
cannam@125
|
7163
|
cannam@125
|
7164 * src/sndfile.h.in
|
cannam@125
|
7165 New file (copy of sndfile.h) with sets up @TYPEOF_SF_COUNT_T@ which will be
|
cannam@125
|
7166 replaced by the correct type during configure.
|
cannam@125
|
7167
|
cannam@125
|
7168 * configure.in
|
cannam@125
|
7169 Modified to find a good type for TYPEOF_SF_COUNT_T.
|
cannam@125
|
7170
|
cannam@125
|
7171 * src/aiff.c
|
cannam@125
|
7172 Fixed a bug when reading malformed headers.
|
cannam@125
|
7173
|
cannam@125
|
7174 * src/common.c
|
cannam@125
|
7175 Set read values to zero before performing read.
|
cannam@125
|
7176
|
cannam@125
|
7177 2002-08-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7178
|
cannam@125
|
7179 * doc/command.html
|
cannam@125
|
7180 Fixed some HTML tags which were not allowing jumps to links within the
|
cannam@125
|
7181 page.
|
cannam@125
|
7182
|
cannam@125
|
7183 * src/sds.c
|
cannam@125
|
7184 Massive hacking on this.
|
cannam@125
|
7185
|
cannam@125
|
7186 * src/wav.c
|
cannam@125
|
7187 Added recognition of 'clm ' tag.
|
cannam@125
|
7188
|
cannam@125
|
7189 2002-08-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7190
|
cannam@125
|
7191 * doc/index.html
|
cannam@125
|
7192 Added beginning of a capabilities list beyond simple file formats which
|
cannam@125
|
7193 can be read/written.
|
cannam@125
|
7194
|
cannam@125
|
7195 * src/aiff.c
|
cannam@125
|
7196 Added parsing of INST and MARK chunks of AIFF files. At the moment this
|
cannam@125
|
7197 data is simply recorded in the log buffer. Later it will be possible to
|
cannam@125
|
7198 read this data from an application using sf_command().
|
cannam@125
|
7199
|
cannam@125
|
7200 * src/wav.c
|
cannam@125
|
7201 Added parsing of 'cue ' chunk which contains loop information in WAV files.
|
cannam@125
|
7202
|
cannam@125
|
7203 * exampes/sndfile-info.c
|
cannam@125
|
7204 Changed reporting of Samples to Frames.
|
cannam@125
|
7205
|
cannam@125
|
7206 * src/wav.c src/w64.c src/aiff.c src/wav_w64.h
|
cannam@125
|
7207 Moved from a samples to a frames nomenclature to avoid confusion.
|
cannam@125
|
7208
|
cannam@125
|
7209 * doc/FAQ.html
|
cannam@125
|
7210 What's the best format for storing temporary files?
|
cannam@125
|
7211
|
cannam@125
|
7212 * src/sds.c
|
cannam@125
|
7213 New file for reading/writing Midi Sample Dump Standard files.
|
cannam@125
|
7214
|
cannam@125
|
7215 * src/Makefile.am src/sndfile.c src/common.[ch]
|
cannam@125
|
7216 Added hooks for sds.c.
|
cannam@125
|
7217
|
cannam@125
|
7218 * examples/sndfile-info.c
|
cannam@125
|
7219 Changed from using sf_perror() to using sf_error_str().
|
cannam@125
|
7220
|
cannam@125
|
7221 2002-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7222
|
cannam@125
|
7223 * doc/api.html
|
cannam@125
|
7224 Added explanation of mode parameter for sf_open().
|
cannam@125
|
7225 Added explanation of usage of SFM_* values in sf_seek().
|
cannam@125
|
7226
|
cannam@125
|
7227 * src/sndfile.[ch] src/command.c src/file_io.c src/common.h
|
cannam@125
|
7228 Implemented SFC_FILE_TRUNCATE to allow a file to be truncated. File
|
cannam@125
|
7229 truncation was suggested by James McCartney.
|
cannam@125
|
7230
|
cannam@125
|
7231 * src/command.html
|
cannam@125
|
7232 Documented SFC_FILE_TRUNCATE.
|
cannam@125
|
7233
|
cannam@125
|
7234 * tests/command_test.c
|
cannam@125
|
7235 Add tests for SFC_FILE_TRUNCATE.
|
cannam@125
|
7236
|
cannam@125
|
7237 * src/sndfile.c
|
cannam@125
|
7238 Added a thrid parameter to the VALIDATE_SNDFILE_AND_ASSIGN_PSF macro to
|
cannam@125
|
7239 make resetting the error number optional. All uses of the macro other than
|
cannam@125
|
7240 in error reporting functions were changed to reset the error number.
|
cannam@125
|
7241
|
cannam@125
|
7242 * src/pcm.c
|
cannam@125
|
7243 Fixed a bug were sf_read_* was logging an SFE_SHORT_READ even when no error
|
cannam@125
|
7244 occurred.
|
cannam@125
|
7245
|
cannam@125
|
7246 * tests/write_read_test.tpl
|
cannam@125
|
7247 Added tests of internal error state.
|
cannam@125
|
7248
|
cannam@125
|
7249 2002-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7250
|
cannam@125
|
7251 * src/GSM610/private.h src/GSM610/*.c src/GSM610/Makefile.am
|
cannam@125
|
7252 Renamed private.h to gsm610_priv.h to prevent clash with other headers
|
cannam@125
|
7253 named private.h in other directories. (Probably only a problem on MacOS 9).
|
cannam@125
|
7254
|
cannam@125
|
7255 * src/G72x/private.h src/G72x/*.c src/G72x/Makefile.am
|
cannam@125
|
7256 Renamed private.h to g72x_priv.h to prevent clash with other headers
|
cannam@125
|
7257 named private.h in other directories. (Probably only a problem on MacOS 9).
|
cannam@125
|
7258
|
cannam@125
|
7259 * MacOS/config.h
|
cannam@125
|
7260 Changed values of HAVE_LRINT and HAVE_LRINTF to force use of code in
|
cannam@125
|
7261 float_cash.h.
|
cannam@125
|
7262
|
cannam@125
|
7263 * src/sndfile.h
|
cannam@125
|
7264 Changes the name of samples field of the SF_INFO to frames. The old name
|
cannam@125
|
7265 had caused too much confusion and it simply had to be changed. There will
|
cannam@125
|
7266 be at least one more pre-release.
|
cannam@125
|
7267
|
cannam@125
|
7268 2002-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7269
|
cannam@125
|
7270 * doc/index.html
|
cannam@125
|
7271 Updated formats matrix to include RAW (header-less) GSM 6.10.
|
cannam@125
|
7272 Fix specificaltion of table and spelling mistakes.
|
cannam@125
|
7273
|
cannam@125
|
7274 * src/sndfile.c src/command.c
|
cannam@125
|
7275 Fixed bug in SFC_CALC_MAX_SIGNAL family and psf_calc_signal_max ().
|
cannam@125
|
7276
|
cannam@125
|
7277 * tests/command.c
|
cannam@125
|
7278 Removed cruft.
|
cannam@125
|
7279 Added test for SFC_CALC_MAX_SIGNAL and SFC_CALC_NORM_MAX_SIGNAL.
|
cannam@125
|
7280
|
cannam@125
|
7281 * configure.in
|
cannam@125
|
7282 Update version to 1.0.0rc5.
|
cannam@125
|
7283
|
cannam@125
|
7284 * sfendian.h
|
cannam@125
|
7285 Removed inclusion of un-necessary header.
|
cannam@125
|
7286
|
cannam@125
|
7287 2002-08-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7288
|
cannam@125
|
7289 * src/aiff.c
|
cannam@125
|
7290 Minor fixes of info written to log buffer.
|
cannam@125
|
7291
|
cannam@125
|
7292 * src/float_cast.h
|
cannam@125
|
7293 Add definition of HAVE_LRINT_REPLACEMENT.
|
cannam@125
|
7294
|
cannam@125
|
7295 * tests/floating_point_test.c
|
cannam@125
|
7296 Fix file hash check on systems without lrint/lrintf.
|
cannam@125
|
7297
|
cannam@125
|
7298 * tests/dft_cmp.c
|
cannam@125
|
7299 Limit SNR to less than -500.0dB.
|
cannam@125
|
7300
|
cannam@125
|
7301 * examples/sndfile2oct.c
|
cannam@125
|
7302 Fixed compiler warnings.
|
cannam@125
|
7303
|
cannam@125
|
7304 * doc/api.html
|
cannam@125
|
7305 Fixed error where last parameter of sf_error_str() was sf_count_t instead
|
cannam@125
|
7306 of size_t.
|
cannam@125
|
7307
|
cannam@125
|
7308 2002-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7309
|
cannam@125
|
7310 * doc/FAQ.html
|
cannam@125
|
7311 Why doesn't libsndfile do interleaving/de-interleaving.
|
cannam@125
|
7312
|
cannam@125
|
7313 * tests/pcm_test.tpl
|
cannam@125
|
7314 On Win32 do not perform hash check on files containing doubles.
|
cannam@125
|
7315
|
cannam@125
|
7316 2002-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7317
|
cannam@125
|
7318 * src/common.h
|
cannam@125
|
7319 Defined SF_COUNT_MAX_POSITIVE() macro, a portable way of setting variables
|
cannam@125
|
7320 of type sf_count_t to their maximum positive value.
|
cannam@125
|
7321
|
cannam@125
|
7322 * src/dwvw.c src/w64.c
|
cannam@125
|
7323 Used SF_COUNT_MAX_POSITIVE().
|
cannam@125
|
7324
|
cannam@125
|
7325 2002-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7326
|
cannam@125
|
7327 * src/paf.c
|
cannam@125
|
7328 Fixed bug in reading/writing of 24 bit PCM PAF files on big endian systems.
|
cannam@125
|
7329
|
cannam@125
|
7330 * tests/floating_point_tests.c
|
cannam@125
|
7331 Fixed hash values for 24 bit PCM PAF files.
|
cannam@125
|
7332 Disabled file has check if lrintf() function is not available and added
|
cannam@125
|
7333 warning.
|
cannam@125
|
7334 Decreased level of signal from a peak of 1.0 to a value of 0.95 to prevent
|
cannam@125
|
7335 problems on platforms without lrintf() ie Solaris.
|
cannam@125
|
7336
|
cannam@125
|
7337 2002-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7338
|
cannam@125
|
7339 * src/wav.c
|
cannam@125
|
7340 Fixed a problem with two different kinds of mal-formed WAV file header. The
|
cannam@125
|
7341 first had the 'fact' chunk before the 'fmt ' chunk, the other had an
|
cannam@125
|
7342 incomplete 'INFO' chunk at the end of the file.
|
cannam@125
|
7343
|
cannam@125
|
7344 * src/w64.c
|
cannam@125
|
7345 Added fix to allow differentiation between W64 files and ACID files.
|
cannam@125
|
7346
|
cannam@125
|
7347 * src/au_g72x.c src/common.h src/sndfile.c
|
cannam@125
|
7348 Added error for G72x encoded files with more than one channel.
|
cannam@125
|
7349
|
cannam@125
|
7350 * tests/pcm_test.tpl tests/utils.tpl
|
cannam@125
|
7351 Moved function check_file_hash_or_die() to utils.tpl. Function was then
|
cannam@125
|
7352 modified to calculate the has of the whole file.
|
cannam@125
|
7353
|
cannam@125
|
7354 * src/wav.c
|
cannam@125
|
7355 Fixed problem writing the 'fact' chunk on big endian systems.
|
cannam@125
|
7356
|
cannam@125
|
7357 * tests/sfconvert.c
|
cannam@125
|
7358 Fixed bug where .paf files were being written as Sphere NIST.
|
cannam@125
|
7359
|
cannam@125
|
7360 2002-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7361
|
cannam@125
|
7362 * src/voc.c
|
cannam@125
|
7363 Fix for reading headers generated using SFC_UPDATE_HEADER_NOW.
|
cannam@125
|
7364
|
cannam@125
|
7365 * doc/command.html
|
cannam@125
|
7366 Add docs for SFC_UPDATE_HEADER_NOW and SFC_SET_UPDATE_HEADER_AUTO.
|
cannam@125
|
7367
|
cannam@125
|
7368 2002-07-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7369
|
cannam@125
|
7370 * man/sndfile-info.1 man/sndfile-play.1
|
cannam@125
|
7371 Added manpages supplied by Joshua Haberman the Debian maintainer for
|
cannam@125
|
7372 libsndfile. Additional tweaks by me.
|
cannam@125
|
7373
|
cannam@125
|
7374 * configure.in man/Makefile.am
|
cannam@125
|
7375 Hooked manpages into autoconf/automake system.
|
cannam@125
|
7376
|
cannam@125
|
7377 * src/sndfile.c
|
cannam@125
|
7378 Added hooks for SFC_SET_UPDATE_HEADER_AUTO.
|
cannam@125
|
7379
|
cannam@125
|
7380 * tests/update_header_test.c
|
cannam@125
|
7381 Improved rigor of testing.
|
cannam@125
|
7382
|
cannam@125
|
7383 * src/*.c
|
cannam@125
|
7384 Fixed problem with *_write_header() functions.
|
cannam@125
|
7385
|
cannam@125
|
7386 2002-07-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7387
|
cannam@125
|
7388 * doc/*.html
|
cannam@125
|
7389 Updates to documentation to fix problems found by wdg-html-validator.
|
cannam@125
|
7390
|
cannam@125
|
7391 * src/common.h src/command.c
|
cannam@125
|
7392 Added normalize parameter to calls to psf_calc_signal_max() and
|
cannam@125
|
7393 psf_calc_max_all_channels().
|
cannam@125
|
7394
|
cannam@125
|
7395 * src/sndfile.c
|
cannam@125
|
7396 Added handling for commands SFC_CALC_NORM_SIGNAL_MAX and
|
cannam@125
|
7397 SFC_CALC_NORM_MAX_ALL_CHANNELS.
|
cannam@125
|
7398
|
cannam@125
|
7399 * doc/command.html
|
cannam@125
|
7400 Added entry for SFC_CALC_NORM_SIGNAL_MAX and SFC_CALC_NORM_MAX_ALL_CHANNELS.
|
cannam@125
|
7401
|
cannam@125
|
7402 2002-07-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7403
|
cannam@125
|
7404 * examples/sndfile-play.c Win32/Makefile.msvc
|
cannam@125
|
7405 Get sndfile-play program working on Win32. The Win32 PCM sample I/O API
|
cannam@125
|
7406 sucks. The sndfile-play program now works on Linux, MacOSX, Solaris and
|
cannam@125
|
7407 Win32.
|
cannam@125
|
7408
|
cannam@125
|
7409 2002-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7410
|
cannam@125
|
7411 * doc/FAQ.html
|
cannam@125
|
7412 New file for frequently asked questsions.
|
cannam@125
|
7413
|
cannam@125
|
7414 2002-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7415
|
cannam@125
|
7416 * doc/api.html
|
cannam@125
|
7417 Documentation fixes.
|
cannam@125
|
7418
|
cannam@125
|
7419 * src/au.[ch] src/au_g72x.c src/G72x/g72x.h
|
cannam@125
|
7420 Add support of 40kbps G723 ADPCM encoding.
|
cannam@125
|
7421
|
cannam@125
|
7422 * tests/lossy_comp_test.c tests/floating_point_test.c
|
cannam@125
|
7423 Add tests for 40kbps G723 ADPCM encoding.
|
cannam@125
|
7424
|
cannam@125
|
7425 * doc/index.html
|
cannam@125
|
7426 Update support matrix.
|
cannam@125
|
7427
|
cannam@125
|
7428 2002-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7429
|
cannam@125
|
7430 * doc/command.html
|
cannam@125
|
7431 Documented SFC_GET_SIMPLE_FORMAT_COUNT, SFC_GET_SIMPLE_FORMAT,
|
cannam@125
|
7432 SFC_GET_FORMAT_* and SFC_SET_ADD_PEAK_CHUNK.
|
cannam@125
|
7433
|
cannam@125
|
7434 * src/sndfile.c src/pcm.c
|
cannam@125
|
7435 Add ability to turn on and off the addition of a PEAK chunk for floating
|
cannam@125
|
7436 point WAV and AIFF files.
|
cannam@125
|
7437
|
cannam@125
|
7438 * src/sndfile.[ch] src/common.h src/command.c
|
cannam@125
|
7439 Added sf_command SFC_CALC_MAX_ALL_CHANNELS. Implemented by Maurizio Umberto
|
cannam@125
|
7440 Puxeddu.
|
cannam@125
|
7441
|
cannam@125
|
7442 * doc/command.html
|
cannam@125
|
7443 Docs for SFC_CALC_MAX_ALL_CHANNELS (assisted by Maurizio Umberto Puxeddu).
|
cannam@125
|
7444
|
cannam@125
|
7445 2002-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7446
|
cannam@125
|
7447 * src/sndfile.c src/gsm610.c
|
cannam@125
|
7448 Finalised support for GSM 6.10 AIFF files and added support for GSM 6.10
|
cannam@125
|
7449 encoded RAW (header-less) files.
|
cannam@125
|
7450
|
cannam@125
|
7451 * src/wav.c
|
cannam@125
|
7452 Add support for IBM_FORMAT_MULAW and IBM_FORMAT_ALAW encodings.
|
cannam@125
|
7453
|
cannam@125
|
7454 * src/api.html
|
cannam@125
|
7455 Fixed more documentation bugs.
|
cannam@125
|
7456
|
cannam@125
|
7457 2002-07-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7458
|
cannam@125
|
7459 * src/sndfile.h src/common.h
|
cannam@125
|
7460 Moved some yet-to-be-implelmented values for SF_FORMAT_* from the public
|
cannam@125
|
7461 header file sndfile.h to the private header file common.h to avoid
|
cannam@125
|
7462 confusion about the actual capabilities of libsndfile.
|
cannam@125
|
7463
|
cannam@125
|
7464 2002-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7465
|
cannam@125
|
7466 * src/aiff.c src/wav.c
|
cannam@125
|
7467 Fixed file parsing for WAV and AIFF files containing non-audio data after
|
cannam@125
|
7468 the data chunk.
|
cannam@125
|
7469
|
cannam@125
|
7470 * src/aiff.c src/sndfile.c
|
cannam@125
|
7471 Add support for GSM 6.10 encoded AIFF files.
|
cannam@125
|
7472
|
cannam@125
|
7473 * tests/lossy_comp_test.c tests/Makefile.am
|
cannam@125
|
7474 Add tests for GSM 6.10 encoded AIFF files.
|
cannam@125
|
7475
|
cannam@125
|
7476 * src/*.c
|
cannam@125
|
7477 Fix compiler warnings.
|
cannam@125
|
7478
|
cannam@125
|
7479 2002-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7480
|
cannam@125
|
7481 * tests/command_test.c
|
cannam@125
|
7482 For SFC_SET_NORM_* tests, change the file format from SF_FORMAT_WAV to
|
cannam@125
|
7483 SF_FORMAT_RAW.
|
cannam@125
|
7484
|
cannam@125
|
7485 * src/sndfile.c
|
cannam@125
|
7486 Added sf_command(SFC_TEST_ADD_TRAILING_DATA) to allow testing of reading
|
cannam@125
|
7487 from AIFF and WAV files with non-audio data after the audio chunk.
|
cannam@125
|
7488
|
cannam@125
|
7489 * src/common.h
|
cannam@125
|
7490 Add test commands SFC_TEST_WAV_ADD_INFO_CHUNK and
|
cannam@125
|
7491 SFC_TEST_AIFF_ADD_INST_CHUNK. When these commands are working, they will be
|
cannam@125
|
7492 moved to src/sndfile.h
|
cannam@125
|
7493
|
cannam@125
|
7494 * src/aiff.c src/wav.c
|
cannam@125
|
7495 Begin implementation of XXXX_command() hook for sf_command().
|
cannam@125
|
7496
|
cannam@125
|
7497 * tests/write_read_test.tpl
|
cannam@125
|
7498 Added sf_command (SFC_TEST_ADD_TRAILING_DATA) to ensure above new code was
|
cannam@125
|
7499 working.
|
cannam@125
|
7500
|
cannam@125
|
7501 2002-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7502
|
cannam@125
|
7503 * tests/update_header_test.c
|
cannam@125
|
7504 Allow read sample count == write sample count - 1 to fix problems with VOC
|
cannam@125
|
7505 files.
|
cannam@125
|
7506
|
cannam@125
|
7507 * tests/write_read_test.tpl tests/pcm_test.tpl
|
cannam@125
|
7508 Fixed some problems in the test suite discovered by using Valgrind.
|
cannam@125
|
7509
|
cannam@125
|
7510 2002-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7511
|
cannam@125
|
7512 * tests/utils.[ch] tests/*.c
|
cannam@125
|
7513 Renamed check_log_buffer() to check_log_buffer_or_die().
|
cannam@125
|
7514
|
cannam@125
|
7515 * src/sndfile.c
|
cannam@125
|
7516 SFC_UPDATE_HEADER_NOW and SFC_SETUPDATE_HEADER_AUTO almost finished. Works
|
cannam@125
|
7517 for all file formats other than VOC.
|
cannam@125
|
7518
|
cannam@125
|
7519 2002-07-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7520
|
cannam@125
|
7521 * src/sndfile.[ch] src/common.h
|
cannam@125
|
7522 Started adding functionality to allow the file header to be updated before
|
cannam@125
|
7523 the file is closed on files open for SFM_WRITE. This was requested by
|
cannam@125
|
7524 Maurizio Umberto Puxeddu who is using libsndfile for file I/O in iCSound.
|
cannam@125
|
7525
|
cannam@125
|
7526 * tests/update_header_test.c
|
cannam@125
|
7527 New test program to test that the above functionality is working correctly.
|
cannam@125
|
7528
|
cannam@125
|
7529 * tests/peak_chunk_test.c tests/floating_point_test.c
|
cannam@125
|
7530 Cleanups.
|
cannam@125
|
7531
|
cannam@125
|
7532 2002-07-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7533
|
cannam@125
|
7534 * src/sfendian.[ch]
|
cannam@125
|
7535 Changed length count parameters for all endswap_XXX() functions from
|
cannam@125
|
7536 sf_count_t (which can be 64 bit even on 32 bit architectures) to int. These
|
cannam@125
|
7537 functions are only called frin inside the library, are always called with
|
cannam@125
|
7538 integer parameters and doing the actual calculation on 64 bit values is
|
cannam@125
|
7539 slow in comparision to doing it on ints.
|
cannam@125
|
7540
|
cannam@125
|
7541 * examples/sndfile-play.c
|
cannam@125
|
7542 More playback hacking for Win32.
|
cannam@125
|
7543
|
cannam@125
|
7544 2002-07-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7545
|
cannam@125
|
7546 * src/common.c
|
cannam@125
|
7547 In psf_log_printf(), changed %D format conversion specifier to %M (marker) and
|
cannam@125
|
7548 added %D specifier for printing the sf_count_t type.
|
cannam@125
|
7549
|
cannam@125
|
7550 * src/*.c
|
cannam@125
|
7551 Changed all usage of psf_log_printf() with %D format conversion specifiers
|
cannam@125
|
7552 to use %M conversion instead.
|
cannam@125
|
7553
|
cannam@125
|
7554 * tests/pcm_test.tpl tests/pcm_test.def
|
cannam@125
|
7555 New files to autogen pcm_test.c.
|
cannam@125
|
7556
|
cannam@125
|
7557 * src/pcm.c
|
cannam@125
|
7558 Fixed bug in scaling floats and doubles to 24 bit PCM and vice versa.
|
cannam@125
|
7559
|
cannam@125
|
7560 2002-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7561
|
cannam@125
|
7562 * configure.in
|
cannam@125
|
7563 Fix setup of $ac_cv_sys_largefile_CFLAGS so that sndfile.pc gets valid
|
cannam@125
|
7564 values for CFLAGS.
|
cannam@125
|
7565
|
cannam@125
|
7566 * examples/sndfile-play.c
|
cannam@125
|
7567 Start adding playback support for Win32.
|
cannam@125
|
7568
|
cannam@125
|
7569 2002-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7570
|
cannam@125
|
7571 * src/*.c
|
cannam@125
|
7572 Worked to removed compiler warnings.
|
cannam@125
|
7573 Extensive refactoring.
|
cannam@125
|
7574
|
cannam@125
|
7575 * src/common.[ch]
|
cannam@125
|
7576 Added function psf_memset() which works like the standard C function memset
|
cannam@125
|
7577 but takes and sf_count_t as the length parameter.
|
cannam@125
|
7578
|
cannam@125
|
7579 * src/sndfile.c
|
cannam@125
|
7580 Replaced calls to memset(0 with calls to psf_memset() as required.
|
cannam@125
|
7581
|
cannam@125
|
7582 2002-07-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7583
|
cannam@125
|
7584 * src/sndfile.c
|
cannam@125
|
7585 Added "libsndfile : " to the start of all error messages. This was suggested
|
cannam@125
|
7586 by Conrad Parker author of Sweep ( http://sweep.sourceforge.net/ ).
|
cannam@125
|
7587
|
cannam@125
|
7588 * src/sfendian.[ch]
|
cannam@125
|
7589 Added endswap_XXXX_copy() functions.
|
cannam@125
|
7590
|
cannam@125
|
7591 * src/pcm.c src/float32.c src/double64.c
|
cannam@125
|
7592 Use endswap_XXXX_copy() functions and removed dead code.
|
cannam@125
|
7593 Cleanups and optimisations.
|
cannam@125
|
7594
|
cannam@125
|
7595 2002-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7596
|
cannam@125
|
7597 * src/sndfile.c src/sndfile.h
|
cannam@125
|
7598 Gave values to all the SFC_* enum values to allow better control of the
|
cannam@125
|
7599 interface as commands are added and removed.
|
cannam@125
|
7600 Added new command SFC_SET_ADD_PEAK_CHUNK.
|
cannam@125
|
7601
|
cannam@125
|
7602 * src/wav.c src/aiff.c
|
cannam@125
|
7603 Modified wav_write_header and aiff_write_header to make addition of a PEAK
|
cannam@125
|
7604 chunk optional, even on floating point files.
|
cannam@125
|
7605
|
cannam@125
|
7606 * tests/benchmark.tpl
|
cannam@125
|
7607 Added call to sf_command(SFC_SET_ADD_PEAK_CHUNK) to turn off addition of a
|
cannam@125
|
7608 PEAK chunk for the benchmark where we are trying to miximize speed.
|
cannam@125
|
7609
|
cannam@125
|
7610 * src.pcm.c
|
cannam@125
|
7611 Changed tribyte typedef to something more sensible.
|
cannam@125
|
7612 Further conversion speed ups.
|
cannam@125
|
7613
|
cannam@125
|
7614 2002-07-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7615
|
cannam@125
|
7616 * src/command.c
|
cannam@125
|
7617 In major_formats rename "Sphere NIST" to "NIST Sphere".
|
cannam@125
|
7618
|
cannam@125
|
7619 * src/common.c src/sfendian.c
|
cannam@125
|
7620 Moved all endswap_XXX_array() functions to sfendian.c. These functions will
|
cannam@125
|
7621 be tweaked to provide maximum performance. Since maximum performance on one
|
cannam@125
|
7622 platform does not guarantee maximum performance on another, a small set of
|
cannam@125
|
7623 functions will be written and the optimal one chosen at compile time.
|
cannam@125
|
7624
|
cannam@125
|
7625 * src/common.h src/sfendian.h
|
cannam@125
|
7626 Declarations of all endswap_XXX_array() functions moved to sfendian.h.
|
cannam@125
|
7627
|
cannam@125
|
7628 * src/Makefile.am
|
cannam@125
|
7629 Add sfendian.c to build targets.
|
cannam@125
|
7630
|
cannam@125
|
7631 2002-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7632
|
cannam@125
|
7633 * src/pcm.c src/sfendian.h
|
cannam@125
|
7634 Re-coded PCM encoders and decoders to match or better the speed of
|
cannam@125
|
7635 libsndfile version 0.0.28.
|
cannam@125
|
7636
|
cannam@125
|
7637 2002-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7638
|
cannam@125
|
7639 * src/wav.c
|
cannam@125
|
7640 Add checking for WAVPACK data in standard PCM WAV file. Return error if
|
cannam@125
|
7641 found. This WAVPACK is *WAY* broken. It uses the same PCM WAV file header
|
cannam@125
|
7642 and then stores non-PCM data.
|
cannam@125
|
7643
|
cannam@125
|
7644 * tests/benchmark.tpl
|
cannam@125
|
7645 Added more tests.
|
cannam@125
|
7646
|
cannam@125
|
7647 2002-06-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7648
|
cannam@125
|
7649 * tests/benchmark.tpl
|
cannam@125
|
7650 Added conditional definition of M_PI.
|
cannam@125
|
7651 For Win32, set WRITE_PERMS to 0777.
|
cannam@125
|
7652
|
cannam@125
|
7653 * Win32/Makefile.msvc
|
cannam@125
|
7654 Added target to make generate program on Win32.
|
cannam@125
|
7655
|
cannam@125
|
7656 * src/samplitude.c
|
cannam@125
|
7657 Removed handler for Samplitude RAP file format. This file type seems rarer
|
cannam@125
|
7658 than hens teeth and is completely undocumented.
|
cannam@125
|
7659
|
cannam@125
|
7660 * src/common.h src/sndfile.c src/Makefile.am Win32/Makefile.msvc
|
cannam@125
|
7661 Removed references to sampltiude RAP format.
|
cannam@125
|
7662
|
cannam@125
|
7663 * tests/benchmark.tpl
|
cannam@125
|
7664 Benchmark program now prints the libsndfile version number when run. This
|
cannam@125
|
7665 program was also backported to version 0 to compare results. Version
|
cannam@125
|
7666 1.0.0rc2 is faster than version 0.0.28 on most conversions but slower on
|
cannam@125
|
7667 some. The slow ones need to be fixed before final release.
|
cannam@125
|
7668
|
cannam@125
|
7669 2002-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7670
|
cannam@125
|
7671 * tests/benchmark.def tests/benchmark.tpl
|
cannam@125
|
7672 New files which generate tests/benchmark.c using Autogen. Added int ->
|
cannam@125
|
7673 SF_FORMAT_PCM_24 test.
|
cannam@125
|
7674
|
cannam@125
|
7675 * tests/benchmark.c
|
cannam@125
|
7676 Now and Autogen output file.
|
cannam@125
|
7677
|
cannam@125
|
7678 * tests/Makefile.am
|
cannam@125
|
7679 Updated for above changes.
|
cannam@125
|
7680
|
cannam@125
|
7681 2002-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7682
|
cannam@125
|
7683 * tests/benchmark.c
|
cannam@125
|
7684 Basic benchmark program complete. Need to convert it to Autogen.
|
cannam@125
|
7685
|
cannam@125
|
7686 * Win32/Makefile.msvc
|
cannam@125
|
7687 Added benchmark.exe target.
|
cannam@125
|
7688
|
cannam@125
|
7689 2002-06-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7690
|
cannam@125
|
7691 * examples/generate.c
|
cannam@125
|
7692 New program to generate a number of different output file formats from a
|
cannam@125
|
7693 single input file. This allows testing of the created files.
|
cannam@125
|
7694
|
cannam@125
|
7695 * tests/benchmark.c
|
cannam@125
|
7696 New test program to benchmark libsndfile. Nowhere near complete yet.
|
cannam@125
|
7697
|
cannam@125
|
7698 * examples/Makefile.am tests/Makefile.am
|
cannam@125
|
7699 New make rules for the two new programs.
|
cannam@125
|
7700
|
cannam@125
|
7701 2002-06-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7702
|
cannam@125
|
7703 * Win32/libsndfile.def
|
cannam@125
|
7704 Removed definition for sf_signal_max().
|
cannam@125
|
7705
|
cannam@125
|
7706 * src/sndfile.c
|
cannam@125
|
7707 Removed cruft.
|
cannam@125
|
7708
|
cannam@125
|
7709 * doc/index.html
|
cannam@125
|
7710 A number of documentation bugs were fixed. Thanks to Anand Kumria.
|
cannam@125
|
7711
|
cannam@125
|
7712 * doc/version-1.html
|
cannam@125
|
7713 Minor doc updates.
|
cannam@125
|
7714
|
cannam@125
|
7715 * configure.in
|
cannam@125
|
7716 Bumped version to 1.0.0rc2.
|
cannam@125
|
7717
|
cannam@125
|
7718 * src/sf_command.h src/Makefile.am
|
cannam@125
|
7719 Removed the header file as it was no longer being used. Thanks to Anand
|
cannam@125
|
7720 Kunria for spotting this.
|
cannam@125
|
7721
|
cannam@125
|
7722 * doc/index.html
|
cannam@125
|
7723 A number of documentation bugs were fixed. Thanks to Anand Kumria.
|
cannam@125
|
7724
|
cannam@125
|
7725 2002-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7726
|
cannam@125
|
7727 * src/common.h
|
cannam@125
|
7728 Test for Win32 before testing SIZEOF_OFF_T so that it works correctly
|
cannam@125
|
7729 on Win32..
|
cannam@125
|
7730
|
cannam@125
|
7731 * src/file_io.c
|
cannam@125
|
7732 Win32 fixes to ensure O_BINARY is used for file open.
|
cannam@125
|
7733
|
cannam@125
|
7734 * doc/win32.html
|
cannam@125
|
7735 New file documenting the building libsndfile on Win32.
|
cannam@125
|
7736
|
cannam@125
|
7737 * doc/*.html
|
cannam@125
|
7738 Updating of documentation.
|
cannam@125
|
7739
|
cannam@125
|
7740 2002-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7741
|
cannam@125
|
7742 * tests/pcm_test.c
|
cannam@125
|
7743 Minor changes to allow easier determination of test file name.
|
cannam@125
|
7744
|
cannam@125
|
7745 * src/sndfile.[ch]
|
cannam@125
|
7746 Removed function sf_signal_max().
|
cannam@125
|
7747
|
cannam@125
|
7748 * examples/sndfile-play.c
|
cannam@125
|
7749 Changed call to sf_signal_max() to a call to sf_command().
|
cannam@125
|
7750
|
cannam@125
|
7751 2002-06-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7752
|
cannam@125
|
7753 * src/format.c src/command.c
|
cannam@125
|
7754 Renamed format.c to command.c which will now include code for sf_command()
|
cannam@125
|
7755 calls to perform operations other than format commands.
|
cannam@125
|
7756
|
cannam@125
|
7757 * src/sndfile.c src/sndfile.h
|
cannam@125
|
7758 Removed function sf_get_signal_max() which is replaced by commands passed
|
cannam@125
|
7759 to sf_command().
|
cannam@125
|
7760
|
cannam@125
|
7761 * src/command.c
|
cannam@125
|
7762 Implement commands SFC_CALC_SIGNAL_MAX.
|
cannam@125
|
7763
|
cannam@125
|
7764 * doc/command.html
|
cannam@125
|
7765 Documented SFC_CALC_SIGNAL_MAX.
|
cannam@125
|
7766
|
cannam@125
|
7767 2002-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7768
|
cannam@125
|
7769 * examples/sndfile-play.c
|
cannam@125
|
7770 Mods to make sndfile-play work on Solaris. The program sndfile-play now
|
cannam@125
|
7771 runs on Linux, MaxOSX and Solaris. Win32 to come.
|
cannam@125
|
7772
|
cannam@125
|
7773 * src/format.c
|
cannam@125
|
7774 Added SF_FORMAT_DWVW_* to subtype_formats array.
|
cannam@125
|
7775
|
cannam@125
|
7776 * src/nist.c
|
cannam@125
|
7777 Added support for 8 bit NIST Sphere files. Example file supplied by Anand
|
cannam@125
|
7778 Kumria.
|
cannam@125
|
7779
|
cannam@125
|
7780 2002-06-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7781
|
cannam@125
|
7782 * examples/sndfile-info.c
|
cannam@125
|
7783 Tidy up of output format.
|
cannam@125
|
7784
|
cannam@125
|
7785 * examnples/sndfile-play.c
|
cannam@125
|
7786 Mods to make sndfile-play work on MacOSX using Apple's CoreAudio API.
|
cannam@125
|
7787
|
cannam@125
|
7788 * configure.in
|
cannam@125
|
7789 Add new variables OS_SPECIFIC_INCLUDES and OS_SPECIFIC_LINKS which were
|
cannam@125
|
7790 required to supply extra include paths and link parameters to get
|
cannam@125
|
7791 sndfile-play working on MacOSX.
|
cannam@125
|
7792
|
cannam@125
|
7793 * examples/Makefile.am
|
cannam@125
|
7794 Use OS_SPOECIFIC_INCLUDES and OS_SPECIFIC_LINKS to build commands for
|
cannam@125
|
7795 sndfile-play.
|
cannam@125
|
7796
|
cannam@125
|
7797 2002-06-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7798
|
cannam@125
|
7799 * src/nist.c
|
cannam@125
|
7800 Added ability to read/write new NIST Sphere file types (A-law, u-law).
|
cannam@125
|
7801 Header parser was re-written from scratch. Example files supplied by Anand
|
cannam@125
|
7802 Kumria.
|
cannam@125
|
7803
|
cannam@125
|
7804 * src/sndfile.c
|
cannam@125
|
7805 Support for A-law and u-law NIST files.
|
cannam@125
|
7806
|
cannam@125
|
7807 * tests/Makefile.am tests/lossy_comp_test.c
|
cannam@125
|
7808 Tests for A-law and u-law NIST files.
|
cannam@125
|
7809
|
cannam@125
|
7810 2002-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7811
|
cannam@125
|
7812 * tests/utils.c
|
cannam@125
|
7813 Fixed an error in error string.
|
cannam@125
|
7814
|
cannam@125
|
7815 2002-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7816
|
cannam@125
|
7817 * acinclude.m4
|
cannam@125
|
7818 Removed exit command to allow cross-compiling.
|
cannam@125
|
7819
|
cannam@125
|
7820 * Win32/unistd.h src/file_io.c
|
cannam@125
|
7821 Moved contents of first file into the second file (enclosed in #ifdef).
|
cannam@125
|
7822 Win32/unistd.h is now an empty file but still must be there for libsndfile
|
cannam@125
|
7823 to compile on Win32.
|
cannam@125
|
7824
|
cannam@125
|
7825 * src/sd2.c, src/sndfile.c:
|
cannam@125
|
7826 Fixes for Sound Designer II files on big endian systems.
|
cannam@125
|
7827
|
cannam@125
|
7828 2002-06-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7829
|
cannam@125
|
7830 * configure.in
|
cannam@125
|
7831 Modified to work around problems with crappy MacOSX version of sed.
|
cannam@125
|
7832 Added sanity check for proper values for CFLAGS.
|
cannam@125
|
7833
|
cannam@125
|
7834 2002-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7835
|
cannam@125
|
7836 * src/sndfile.c
|
cannam@125
|
7837 Code clean up in sf_open ().
|
cannam@125
|
7838
|
cannam@125
|
7839 * Win32/Makefile.msvc
|
cannam@125
|
7840 Michael Fink's contributed MSVC++ makefile was hacked to bits and put back
|
cannam@125
|
7841 together in a new improved form.
|
cannam@125
|
7842
|
cannam@125
|
7843 * src/file_io.c
|
cannam@125
|
7844 Fixes for Win32; _lseeki64() returns an invalid argument for calls like
|
cannam@125
|
7845 _lseeki64(fd, 0, SEEK_CUR) so need to use _telli64 (fd) instead.
|
cannam@125
|
7846
|
cannam@125
|
7847 * src/common.h src/sndfile.c src/wav.c src/aiff.c
|
cannam@125
|
7848 Added SFE_LOG_OVERRUN error.
|
cannam@125
|
7849 Added termination for potential infinite loop when parsing file headers.
|
cannam@125
|
7850
|
cannam@125
|
7851 * src/wav.c src/w64.c
|
cannam@125
|
7852 Fixed bug casuing incorrect header generation when opening file read/write.
|
cannam@125
|
7853
|
cannam@125
|
7854 2002-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7855
|
cannam@125
|
7856 * doc/api.html
|
cannam@125
|
7857 Improved the documentation to make it clearer that the file read method
|
cannam@125
|
7858 and the underlying file format are completely disconnected. Suggested
|
cannam@125
|
7859 by Josh Green.
|
cannam@125
|
7860
|
cannam@125
|
7861 * doc/command.html
|
cannam@125
|
7862 Started correcting docs to take into account changes made to the
|
cannam@125
|
7863 operations of the sf_command () function. Not complete yet.
|
cannam@125
|
7864
|
cannam@125
|
7865 * src/sndfile.c
|
cannam@125
|
7866 Reverted some changes which had broken the partially working SDII header
|
cannam@125
|
7867 parsing. Now have access to an iBook with OS X so reading and writing SDII
|
cannam@125
|
7868 files on all platforms should be a reality in the near future. On Mac this
|
cannam@125
|
7869 will involve reading the resource fork via the standard MacOS API. To move
|
cannam@125
|
7870 a file from Mac to another OS, the resource and data forks will need to be
|
cannam@125
|
7871 combined before transfer. The combined file will be read on both Mac and
|
cannam@125
|
7872 other OSes like any other file.
|
cannam@125
|
7873
|
cannam@125
|
7874 2002-06-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7875
|
cannam@125
|
7876 * ltmain.sh
|
cannam@125
|
7877 Applied a patch from http://fink.sourceforge.net/doc/porting/libtool.php
|
cannam@125
|
7878 which allows libsndfile to compile on MacOSX 10.1. This patch should not
|
cannam@125
|
7879 interfere with compiling on other OSes.
|
cannam@125
|
7880
|
cannam@125
|
7881 * src/GSM610/private.h
|
cannam@125
|
7882 Changes to fix compile problems on MacOSX (see src/GSM610/ChangeLog).
|
cannam@125
|
7883
|
cannam@125
|
7884 * src/float_cast.h
|
cannam@125
|
7885 Added MacOSX replacements for lrint() and lrintf().
|
cannam@125
|
7886
|
cannam@125
|
7887 2002-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7888
|
cannam@125
|
7889 * src/sndfile.c
|
cannam@125
|
7890 Replaced the code to print the filename to the log buffer when a file is
|
cannam@125
|
7891 opened. This code seems to have been left out during the merge of
|
cannam@125
|
7892 sf_open_read() and sf_open_write() to make a single functions sf_open().
|
cannam@125
|
7893
|
cannam@125
|
7894 2002-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7895
|
cannam@125
|
7896 * src/wav.c
|
cannam@125
|
7897 Fixed a bug where the WAV header parser was going into an infinite loop
|
cannam@125
|
7898 on a badly formed LIST chunk. File supplied by David Viens.
|
cannam@125
|
7899
|
cannam@125
|
7900 2002-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7901
|
cannam@125
|
7902 * configure.in
|
cannam@125
|
7903 Added a message at the end of the configuration process to warn about the
|
cannam@125
|
7904 need for the use of pkg-config when linking programs against version 1 of
|
cannam@125
|
7905 libsndfile.
|
cannam@125
|
7906
|
cannam@125
|
7907 * doc/pkg-config.html
|
cannam@125
|
7908 New documentation file containing details of how to use pkg-config to
|
cannam@125
|
7909 retrieve settings for CFLAGS and library locations for linking files
|
cannam@125
|
7910 against version 1 of libsndfile.
|
cannam@125
|
7911
|
cannam@125
|
7912 2002-05-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7913
|
cannam@125
|
7914 * src/wav.c
|
cannam@125
|
7915 Fixed minor bug in handling of so-called ACIDized WAV files.
|
cannam@125
|
7916
|
cannam@125
|
7917 2002-05-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7918
|
cannam@125
|
7919 * Win32/libsndfile.def Win32/Makefile.msvc
|
cannam@125
|
7920 Two new files contributed by Michael Fink (from the winLAME project)
|
cannam@125
|
7921 which allows libsndfile to be built on windows in a MSDOS box by doing
|
cannam@125
|
7922 "nmake -f Makefile.msvc". Way cool!
|
cannam@125
|
7923
|
cannam@125
|
7924 2002-05-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7925
|
cannam@125
|
7926 * configure.in
|
cannam@125
|
7927 MacOSX is SSSOOOOOOO screwed up!!! I can't believe how hard it is to
|
cannam@125
|
7928 generate a tarball which will configure and compile on that platform.
|
cannam@125
|
7929 Joined the libtool mailing list to try and get some answers.
|
cannam@125
|
7930
|
cannam@125
|
7931 2002-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7932
|
cannam@125
|
7933 * configure.in
|
cannam@125
|
7934 Changed to autoconf version 2.50. MacOSX uses autoconf version 2.53 which
|
cannam@125
|
7935 is incompatible with with version 2.13 which had been using until now.
|
cannam@125
|
7936 The AC_SYS_LARGE_FILE macro distributed withe autoconf 2.50 is missing a
|
cannam@125
|
7937 few features so AC_SYS_EXTRA_LARGE file was defined to replace it.
|
cannam@125
|
7938
|
cannam@125
|
7939 * configure.in
|
cannam@125
|
7940 Changed to automake version 1.5 to try and make a tarball which will
|
cannam@125
|
7941 work on MacOSX.
|
cannam@125
|
7942
|
cannam@125
|
7943 2002-05-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7944
|
cannam@125
|
7945 * src/wav_gsm610.c
|
cannam@125
|
7946 Changed name to gsm610.c. Added reading/writing of headerless files.
|
cannam@125
|
7947
|
cannam@125
|
7948 * src/sndfile.c src/raw.c
|
cannam@125
|
7949 Added ability to read/write headerless (SF_FORMAT_RAW) GSM 6.10 files.
|
cannam@125
|
7950
|
cannam@125
|
7951 2002-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7952
|
cannam@125
|
7953 * tests/lossy_comp_test.c
|
cannam@125
|
7954 Clean up in preparation for Autogen-ing this file.
|
cannam@125
|
7955
|
cannam@125
|
7956 * src/GSM610/*.[ch]
|
cannam@125
|
7957 Code cleanup and prepartion forgetting file seek working. Details in
|
cannam@125
|
7958 src/GSM610/ChangeLog.
|
cannam@125
|
7959
|
cannam@125
|
7960 * sndfile.pc.in
|
cannam@125
|
7961 Testing complete. Is sndfile.m4 still needed?
|
cannam@125
|
7962
|
cannam@125
|
7963 2002-05-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7964
|
cannam@125
|
7965 * tests/write_read_test.tpl tests/rdwr_test.tpl
|
cannam@125
|
7966 Merged tests from these two programs into write_read_test.tpl and deleted
|
cannam@125
|
7967 rdwr_test.tpl.
|
cannam@125
|
7968
|
cannam@125
|
7969 2002-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7970
|
cannam@125
|
7971 * src/w64.c src/svx.c src/paf.c
|
cannam@125
|
7972 Fixed bugs in read/write mode.
|
cannam@125
|
7973
|
cannam@125
|
7974 2002-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7975
|
cannam@125
|
7976 * examples/Makefile.am
|
cannam@125
|
7977 Renamed sfplay.c to sndfile-play.c and sndfile_info.c to sndfile-info.c for
|
cannam@125
|
7978 consistency when these programs become part of the Debian package
|
cannam@125
|
7979 sndfile-programs.
|
cannam@125
|
7980
|
cannam@125
|
7981 * sndfile.pc.in
|
cannam@125
|
7982 New file to replace sndfile-config.in. Libsndfile now uses the pkg-config
|
cannam@125
|
7983 model for providing installation parameters to dependant programs.
|
cannam@125
|
7984
|
cannam@125
|
7985 * src/sndfile.c
|
cannam@125
|
7986 Cleanup of code in sf_open().
|
cannam@125
|
7987
|
cannam@125
|
7988 2002-05-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
7989
|
cannam@125
|
7990 * tests/utils.tpl tests/write_read_test.tpl
|
cannam@125
|
7991 More conversion to Autogen fixes and enchancements.
|
cannam@125
|
7992
|
cannam@125
|
7993 * src/*.c
|
cannam@125
|
7994 Read/write mode is now working for 16, 24 and 32 bit PCM as well as 32
|
cannam@125
|
7995 bit float and 64 bit double data. More tests still required.
|
cannam@125
|
7996
|
cannam@125
|
7997 * src/Makefile.am
|
cannam@125
|
7998 Added DISTCLEANFILES target to remove config.status and config.last.
|
cannam@125
|
7999
|
cannam@125
|
8000 * Win32/Makefile.am MacOS/Makefile.am
|
cannam@125
|
8001 Added DISTCLEANFILES target to remove Makefile.
|
cannam@125
|
8002
|
cannam@125
|
8003 2002-05-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8004
|
cannam@125
|
8005 * src/*.[ch] tests/rdwr_test.c
|
cannam@125
|
8006 More verifying workings of read/write mode. Fixing bugs found.
|
cannam@125
|
8007
|
cannam@125
|
8008 * tests/utils.[ch]
|
cannam@125
|
8009 Made these files Autogen generated files.
|
cannam@125
|
8010
|
cannam@125
|
8011 * tests/util.tpl tests/util.def
|
cannam@125
|
8012 New Autogen files to generate utils.[ch]. Moved some generic test functions
|
cannam@125
|
8013 into this file. Autogen is such a great tool!
|
cannam@125
|
8014
|
cannam@125
|
8015 2002-05-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8016
|
cannam@125
|
8017 * src/pcm.c src/float_cast.h Win32/config.h
|
cannam@125
|
8018 Fixed a couple of Win32 specific bugs pointed out by Michael Fink
|
cannam@125
|
8019 (maintainer of WinLAME) and David Viens.
|
cannam@125
|
8020
|
cannam@125
|
8021 * tests/check_log_buffer.[ch] tests/utils.[ch]
|
cannam@125
|
8022 Moved check_log_buffer() to utils.[ch] and deleted old file.
|
cannam@125
|
8023
|
cannam@125
|
8024 2002-05-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8025
|
cannam@125
|
8026 * src/common.[ch] src/sndfile.c
|
cannam@125
|
8027 New function psf_default_seek() which will be the default seek function
|
cannam@125
|
8028 for things like PCM and floating point data. This default is set for
|
cannam@125
|
8029 both read and write in sf_open() but can be over-ridden by any codec
|
cannam@125
|
8030 during it's initialisation.
|
cannam@125
|
8031
|
cannam@125
|
8032 2002-05-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8033
|
cannam@125
|
8034 * src/au.c
|
cannam@125
|
8035 AU files use a data size value of -1 to mean unknown. Fixed au_open_read()
|
cannam@125
|
8036 to allow opening files like this.
|
cannam@125
|
8037
|
cannam@125
|
8038 * tests/rdwr_test .c
|
cannam@125
|
8039 Added more tests.
|
cannam@125
|
8040
|
cannam@125
|
8041 * src/sndfile.c
|
cannam@125
|
8042 Fixed bugs in read/write mode found due to improvements in the test
|
cannam@125
|
8043 program.
|
cannam@125
|
8044
|
cannam@125
|
8045 2002-04-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8046
|
cannam@125
|
8047 * tests/rdwr_test .c
|
cannam@125
|
8048 New file for testing read/write mode.
|
cannam@125
|
8049
|
cannam@125
|
8050 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8051
|
cannam@125
|
8052 * m4/*
|
cannam@125
|
8053 Removed all m4 macros from this directory as they get concatenated to form
|
cannam@125
|
8054 the file aclocal.m4 anyway.
|
cannam@125
|
8055
|
cannam@125
|
8056 * sndfile.m4
|
cannam@125
|
8057 Moved this from the m4 directory to the root directory asn this is part of
|
cannam@125
|
8058 the distribution and is installed during "make install".
|
cannam@125
|
8059
|
cannam@125
|
8060 2002-04-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8061
|
cannam@125
|
8062 * src/float32.c
|
cannam@125
|
8063 Removed logging of peaks for all file formats other than AIFF and WAV.
|
cannam@125
|
8064
|
cannam@125
|
8065 * tests/write_read_test.tpl tests/write_read_test.def
|
cannam@125
|
8066 New files which autogen uses to generate write_read_test.c. Doing it this
|
cannam@125
|
8067 way makes write_read_test.c far easier to maintain. Other test programs
|
cannam@125
|
8068 will be converted to autogen in the near future.
|
cannam@125
|
8069
|
cannam@125
|
8070 * src/*.c
|
cannam@125
|
8071 Fixed a few bugs found when testing on Sparc (bug endian) Solaris.
|
cannam@125
|
8072
|
cannam@125
|
8073 2002-04-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8074
|
cannam@125
|
8075 * doc/*.html
|
cannam@125
|
8076 Fixed documention versioning.
|
cannam@125
|
8077
|
cannam@125
|
8078 * configure.in
|
cannam@125
|
8079 Fixed a bug in the routines which search for Large File Support on systems
|
cannam@125
|
8080 which have large file support by defualt.
|
cannam@125
|
8081
|
cannam@125
|
8082 2002-04-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8083
|
cannam@125
|
8084 * src/*.[ch]
|
cannam@125
|
8085 Found and fixed an issue which can cause a bug in other software (I was
|
cannam@125
|
8086 porting Conrad Parker's Sweep program from version 0 of the library to
|
cannam@125
|
8087 version 1). When opening a file for write, the libsndfile code would
|
cannam@125
|
8088 set the sfinfo.samples field to a maximum value.
|
cannam@125
|
8089
|
cannam@125
|
8090 * tests/write_read_test.c
|
cannam@125
|
8091 Added tests to detect the above problem.
|
cannam@125
|
8092
|
cannam@125
|
8093 2002-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8094
|
cannam@125
|
8095 * src/*.[ch]
|
cannam@125
|
8096 Finished base implementation of read/write mode. Much more testing still
|
cannam@125
|
8097 needed.
|
cannam@125
|
8098
|
cannam@125
|
8099 * m4/largefile.m4
|
cannam@125
|
8100 Macro for detecting Large File Standard capabilities. This macro was ripped
|
cannam@125
|
8101 out of the aclocal.m4 file of GNU tar-1.13.
|
cannam@125
|
8102
|
cannam@125
|
8103 * configure.in
|
cannam@125
|
8104 Added detection of large file support. Files larger than 2 Gigabytes should
|
cannam@125
|
8105 now be supported on 64 bit platforms and many 32 bit platforms including
|
cannam@125
|
8106 Linux (2.4 kernel, glibc-2.2), *BSD, MacOS, Win32.
|
cannam@125
|
8107
|
cannam@125
|
8108 * libsndfile_convert_version.py
|
cannam@125
|
8109 A Python script which attempts to autoconvert code written to use version 0
|
cannam@125
|
8110 to version 1.
|
cannam@125
|
8111
|
cannam@125
|
8112 2002-04-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8113
|
cannam@125
|
8114 * src/*.[ch]
|
cannam@125
|
8115 Finished base implementation of read/write mode. Much more testing still
|
cannam@125
|
8116 needed.
|
cannam@125
|
8117
|
cannam@125
|
8118 * tests/write_read_test.c
|
cannam@125
|
8119 Preliminary tests for read/write mode added. More needed.
|
cannam@125
|
8120
|
cannam@125
|
8121 2002-04-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8122
|
cannam@125
|
8123 * src/sndfile.[ch]
|
cannam@125
|
8124 Removed sf_open_read() and sf_open_write() functions,replacting them with
|
cannam@125
|
8125 sf_open() which takes an extra mode parameter (SF_OPEN_READ, SF_OPEN_WRITE,
|
cannam@125
|
8126 or SF_OPEN_RDWR). This new function sf_open can now be modified to allow
|
cannam@125
|
8127 opening a file formodification (RDWR).
|
cannam@125
|
8128
|
cannam@125
|
8129 2002-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8130
|
cannam@125
|
8131 * src/*.c
|
cannam@125
|
8132 Completed merging of separate xxx_open_read() and xxx_open_write()
|
cannam@125
|
8133 functions. All tests pass.
|
cannam@125
|
8134
|
cannam@125
|
8135 2002-04-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8136
|
cannam@125
|
8137 * src/au.c
|
cannam@125
|
8138 Massive refactoring required to merge au_open_read() with au_open_write()
|
cannam@125
|
8139 to create au_open().
|
cannam@125
|
8140
|
cannam@125
|
8141 2002-04-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8142
|
cannam@125
|
8143 * src/*.c
|
cannam@125
|
8144 Started changes required to allow a sound file to be opened in read/write
|
cannam@125
|
8145 mode, with separate file pointers for read and write. This involves merging
|
cannam@125
|
8146 of encoder/decoder functions like pcm_read_init() and pcm_write_init()
|
cannam@125
|
8147 int a new function pcm_init() as well as doing something similar for all
|
cannam@125
|
8148 the file type specific functions ie aiff_open_read() and aiff_open_write()
|
cannam@125
|
8149 were merged to make the function aiff_open().
|
cannam@125
|
8150
|
cannam@125
|
8151 2002-04-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8152
|
cannam@125
|
8153 * src/file_io.c
|
cannam@125
|
8154 New file containing psf_fopen(), psf_fread(), psf_fwrite(), psf_fseek() and
|
cannam@125
|
8155 psf_ftell() functions. These function will replace use of fopen/fread/fwrite
|
cannam@125
|
8156 etc and allow access to files larger than 2 gigabytes on a number of 32 bit
|
cannam@125
|
8157 OSes (Linux on x86, 32 bit Solaris user space apps, Win32 and MacOS).
|
cannam@125
|
8158
|
cannam@125
|
8159 * src/*.c
|
cannam@125
|
8160 Replaced all instances of fopen with psf_open, fread with psd_read, fwrite
|
cannam@125
|
8161 with psf_write and so on.
|
cannam@125
|
8162
|
cannam@125
|
8163 2002-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8164
|
cannam@125
|
8165 * src/dwvw.c
|
cannam@125
|
8166 Finally fixed all known problems with 12, 16 and 24 bit DWVW encoding.
|
cannam@125
|
8167
|
cannam@125
|
8168 * tests/floating_point_test.c
|
cannam@125
|
8169 Added tests for 12, 16 and 24 bit DWVW encoding.
|
cannam@125
|
8170
|
cannam@125
|
8171 2002-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8172
|
cannam@125
|
8173 * m4/endian.m4
|
cannam@125
|
8174 Defines a new m4 macro AC_C_FIND_ENDIAN, for determining the endian-ness of
|
cannam@125
|
8175 the target CPU. It first checks for the definition of BYTE_ORDER in
|
cannam@125
|
8176 <endian.h>, then in <sys/types.h> and <sys/param.h>. If none of these work
|
cannam@125
|
8177 and the C compiler is not a cross compiler it compiles and runs a program
|
cannam@125
|
8178 to test for endian-ness. If the compiler is a cross compiler it makes a
|
cannam@125
|
8179 guess based on $target_cpu.
|
cannam@125
|
8180
|
cannam@125
|
8181 * configure.in
|
cannam@125
|
8182 Modified to use AC_C_FIND_ENDIAN.
|
cannam@125
|
8183
|
cannam@125
|
8184 * src/sfendian.h
|
cannam@125
|
8185 Simplified.
|
cannam@125
|
8186
|
cannam@125
|
8187 2002-02-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8188
|
cannam@125
|
8189 * tests/floating_point_test.c
|
cannam@125
|
8190 Tests completely rewritten using the dft_cmp function. Now able to
|
cannam@125
|
8191 calculate a quick guesstimate of the Signal to Noise Ratio of the encoder.
|
cannam@125
|
8192
|
cannam@125
|
8193 2002-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8194
|
cannam@125
|
8195 * tests/dft_cmp.[ch]
|
cannam@125
|
8196 New files containing functions for comparing pre and post lossily
|
cannam@125
|
8197 compressed data using a quickly hacked DFT.
|
cannam@125
|
8198
|
cannam@125
|
8199 * tests/utils.[ch]
|
cannam@125
|
8200 New files containing functions for saving pre and post encoded data in a
|
cannam@125
|
8201 file readable by the GNU Octave package.
|
cannam@125
|
8202
|
cannam@125
|
8203 2002-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8204
|
cannam@125
|
8205 * m4/lrint.m4 m4/lrintf.m4
|
cannam@125
|
8206 Fixed m4 macros to define HAVE_LRINT and HAVE_LRINTF even when the test
|
cannam@125
|
8207 is cached.
|
cannam@125
|
8208
|
cannam@125
|
8209 2002-02-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8210
|
cannam@125
|
8211 * tests/floating_point_test.c
|
cannam@125
|
8212 Fixed improper use of strncat ().
|
cannam@125
|
8213
|
cannam@125
|
8214 2002-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8215
|
cannam@125
|
8216 * tests/headerless_test.c
|
cannam@125
|
8217 New test program to test the ability to open and read a known file type as a
|
cannam@125
|
8218 RAW header-less file.
|
cannam@125
|
8219
|
cannam@125
|
8220 2002-02-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8221
|
cannam@125
|
8222 * tests/losy_comp_test.c
|
cannam@125
|
8223 Added a test to ensure that the data read from a file is not all zeros.
|
cannam@125
|
8224
|
cannam@125
|
8225 * examples/sfconvert.c
|
cannam@125
|
8226 Added "-gsm610" encoding types.
|
cannam@125
|
8227
|
cannam@125
|
8228 2002-01-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8229
|
cannam@125
|
8230 * examples/sfconvert.c
|
cannam@125
|
8231 Added "-dwvw12", "-dwvw16" and "-dwvw24" encoding types.
|
cannam@125
|
8232
|
cannam@125
|
8233 * tests/dwvw_test.c
|
cannam@125
|
8234 New file for testing DWVW encoder/decoder.
|
cannam@125
|
8235
|
cannam@125
|
8236 2002-01-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8237
|
cannam@125
|
8238 * src/dwvw.c
|
cannam@125
|
8239 Implemented writing of DWVW. 12 bit seems to work, 16 and 24 bit still broken.
|
cannam@125
|
8240
|
cannam@125
|
8241 * src/aiff.c
|
cannam@125
|
8242 Improved reporting of encoding types.
|
cannam@125
|
8243
|
cannam@125
|
8244 * src/voc.c
|
cannam@125
|
8245 Clean up.
|
cannam@125
|
8246
|
cannam@125
|
8247 2002-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8248
|
cannam@125
|
8249 * src/dwvw.c
|
cannam@125
|
8250 New file implementing lossless Delta Word Variable Width (DWVW) encoding.
|
cannam@125
|
8251 Reading 12 bit DWVW is now working.
|
cannam@125
|
8252
|
cannam@125
|
8253 * src/aiff.c common.h sndfile.c
|
cannam@125
|
8254 Added hooks for DWVW encoded AIFF and RAW files.
|
cannam@125
|
8255
|
cannam@125
|
8256 2002-01-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8257
|
cannam@125
|
8258 * src/w64.c
|
cannam@125
|
8259 Robustify header parsing.
|
cannam@125
|
8260
|
cannam@125
|
8261 * src/wav_w64.h
|
cannam@125
|
8262 Header file wav.h was renamed to wav_w64.h to signify sharing of
|
cannam@125
|
8263 definitions across the two file types.
|
cannam@125
|
8264
|
cannam@125
|
8265 * src/wav.c src/w64.c src/wav_w64.c
|
cannam@125
|
8266 Refactoring.
|
cannam@125
|
8267 Modified and moved functions with a high degree of similarity between
|
cannam@125
|
8268 wav.c and w64.c to wav_w64.c.
|
cannam@125
|
8269
|
cannam@125
|
8270 2002-01-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8271
|
cannam@125
|
8272 * src/w64.c
|
cannam@125
|
8273 Completed work on getting read and write working.
|
cannam@125
|
8274
|
cannam@125
|
8275 * examples/sfplay.c
|
cannam@125
|
8276 Added code to scale floating point data so it plays at a reasonable volume.
|
cannam@125
|
8277
|
cannam@125
|
8278 * tests/Makefile.am tests/write_read_test.c
|
cannam@125
|
8279 Added tests for W64 files.
|
cannam@125
|
8280
|
cannam@125
|
8281 2002-01-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8282
|
cannam@125
|
8283 * src/*.c
|
cannam@125
|
8284 Modded all code in file header writing routines to use
|
cannam@125
|
8285 psf_new_binheader_writef().
|
cannam@125
|
8286 Removed psf_binheader_writef() from src/common.c.
|
cannam@125
|
8287 Globally replaced psf_new_binheader_writef with psf_binheader_writef.
|
cannam@125
|
8288
|
cannam@125
|
8289 2002-01-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8290
|
cannam@125
|
8291 * src/*.c
|
cannam@125
|
8292 Modded all code in file parsing routines to use psf_new_binheader_readf().
|
cannam@125
|
8293 Removed psf_binheader_readf() from src/common.c.
|
cannam@125
|
8294 Globally replaced psf_new_binheader_readf with psf_binheader_readf.
|
cannam@125
|
8295
|
cannam@125
|
8296 * src/common.[ch]
|
cannam@125
|
8297 Added new function psf_new_binheader_writef () which will soon replace
|
cannam@125
|
8298 psf_binheader_writef (). The new function has basically the same function
|
cannam@125
|
8299 as the original but has a more flexible and capable interface. It also
|
cannam@125
|
8300 allows the writing of 64 bit integer values for files contains 64 bit file
|
cannam@125
|
8301 offsets.
|
cannam@125
|
8302
|
cannam@125
|
8303 2002-01-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8304
|
cannam@125
|
8305 * src/formats.c src/sndfile.c src/sndfile.h
|
cannam@125
|
8306 Added code allowing full enumeration of supported file formats via the
|
cannam@125
|
8307 sf_command () interface.
|
cannam@125
|
8308 This feature will allow applications to avoid needing recompilation when
|
cannam@125
|
8309 support for new file formats are added to libsndfile.
|
cannam@125
|
8310
|
cannam@125
|
8311 * tests/command_test.c
|
cannam@125
|
8312 Added test code for the above feature.
|
cannam@125
|
8313
|
cannam@125
|
8314 * examples/list_formats.c
|
cannam@125
|
8315 New file. An example of the use of the supported file enumeration
|
cannam@125
|
8316 interface. This program lists all the major formats and for each major
|
cannam@125
|
8317 format the supported subformats.
|
cannam@125
|
8318
|
cannam@125
|
8319 2002-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8320
|
cannam@125
|
8321 * src/*.[ch] tests/*.c
|
cannam@125
|
8322 Changed command parameter of sf_command () function from a test string to
|
cannam@125
|
8323 an int. The valid values for the command parameter begin with SFC_ and are
|
cannam@125
|
8324 listed in src/sndfile.h.
|
cannam@125
|
8325
|
cannam@125
|
8326 2001-12-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8327
|
cannam@125
|
8328 * src/formats.c src/sndfile.c
|
cannam@125
|
8329 Added an way of enumerating a set of common file formats using the
|
cannam@125
|
8330 sf_command () interface. This interface was suggested by Dominic Mazzoni,
|
cannam@125
|
8331 one of the main authors of Audacity (http://audacity.sourceforge.net/).
|
cannam@125
|
8332
|
cannam@125
|
8333 2001-12-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8334
|
cannam@125
|
8335 * src/sndfile.c
|
cannam@125
|
8336 Added checking of filename parameter in sf_open_read (). Previousy, if a
|
cannam@125
|
8337 NULL pointer was passed the library would segfault.
|
cannam@125
|
8338
|
cannam@125
|
8339 2001-12-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8340
|
cannam@125
|
8341 * src/common.c src/common.h
|
cannam@125
|
8342 Changed the len parameter of the endswap_*_array () functions from type
|
cannam@125
|
8343 int to type long.
|
cannam@125
|
8344
|
cannam@125
|
8345 * src/pcm.c
|
cannam@125
|
8346 Fixed a problem which
|
cannam@125
|
8347
|
cannam@125
|
8348 2001-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8349
|
cannam@125
|
8350 * src/sndfile.c
|
cannam@125
|
8351 Added conditional #include <sys/types.h> for EMX/gcc on OS/2. Thanks to
|
cannam@125
|
8352 Paul Hartman for pointing this out.
|
cannam@125
|
8353
|
cannam@125
|
8354 * tests/lossy_comp_test.c tests/floating_point_test.c
|
cannam@125
|
8355 Added definitions for M_PI for when it isn't defined in <math.h>.
|
cannam@125
|
8356
|
cannam@125
|
8357 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8358
|
cannam@125
|
8359 * src/ircam.c
|
cannam@125
|
8360 Re-implemented the header reader. Old version was making incorrect
|
cannam@125
|
8361 assumptions about the endian-ness of the file from the magic number at the
|
cannam@125
|
8362 start of the file. The new code looks at the integer which holds the
|
cannam@125
|
8363 number of channels and determines the endian-ness from that.
|
cannam@125
|
8364
|
cannam@125
|
8365 2001-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8366
|
cannam@125
|
8367 * src/aiff.c
|
cannam@125
|
8368 Added support for other AIFC types ('raw ', 'in32', '23ni').
|
cannam@125
|
8369 Further work on IMA ADPCM encoding.
|
cannam@125
|
8370
|
cannam@125
|
8371 2001-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8372
|
cannam@125
|
8373 * src/ima_adpcm.c
|
cannam@125
|
8374 Renamed from wav_ima_adpcm.c. This file will soon handle IMA ADPCM
|
cannam@125
|
8375 encodings for both WAV and AIFF files.
|
cannam@125
|
8376
|
cannam@125
|
8377 * src/aiff.c
|
cannam@125
|
8378 Started adding IMA ADPCM support.
|
cannam@125
|
8379
|
cannam@125
|
8380 2001-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8381
|
cannam@125
|
8382 * src/double.c
|
cannam@125
|
8383 New file for handling double precision floating point (SF_FORMAT_DOUBLE)
|
cannam@125
|
8384 data.
|
cannam@125
|
8385
|
cannam@125
|
8386 * src/wav.c src/aiff.c src/au.c src/raw.c
|
cannam@125
|
8387 Added support for SF_FORMAT_DOUBLE data.
|
cannam@125
|
8388
|
cannam@125
|
8389 * src/common.[ch]
|
cannam@125
|
8390 Addition of endswap_long_array () for endian swapping 64 bit integers. This
|
cannam@125
|
8391 function will work correctly on processors with 32 bit and 64 bit longs.
|
cannam@125
|
8392 Optimised endswap_short_array () and endswap_int_array ().
|
cannam@125
|
8393
|
cannam@125
|
8394 * tests/pcm_test.c
|
cannam@125
|
8395 Added and extra check. After the first file of each type is written to disk
|
cannam@125
|
8396 a checksum is performed of the first 64 bytes and checked against a pre-
|
cannam@125
|
8397 calculated value. This will work whatever the endian-ness of the host
|
cannam@125
|
8398 machine.
|
cannam@125
|
8399
|
cannam@125
|
8400 2001-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8401
|
cannam@125
|
8402 * src/aiff.c
|
cannam@125
|
8403 Added handling of u-law, A-law encoded AIFF files. Thanks to Tom Erbe for
|
cannam@125
|
8404 supplying example files.
|
cannam@125
|
8405
|
cannam@125
|
8406 * tests/lossy_comp_test.c
|
cannam@125
|
8407 Added tests for above.
|
cannam@125
|
8408
|
cannam@125
|
8409 * src/common.h src/*.c
|
cannam@125
|
8410 Removed function typedefs from common.h and function pointer casting in all
|
cannam@125
|
8411 the other files. This allows the compiler to perform proper type checking.
|
cannam@125
|
8412 Hopefully this will prevernt problems like the sf_seek bug for OpenBSD,
|
cannam@125
|
8413 BeOS etc.
|
cannam@125
|
8414
|
cannam@125
|
8415 * src/common.[ch]
|
cannam@125
|
8416 Added new function psf_new_binheader_readf () which will eventually replace
|
cannam@125
|
8417 psf_binheader_readf (). The new function has basically the same function as
|
cannam@125
|
8418 the original but has a more flexible and capable interface. It also allows
|
cannam@125
|
8419 the reading of 64 bit integer values for files contains 64 bit file
|
cannam@125
|
8420 offsets.
|
cannam@125
|
8421
|
cannam@125
|
8422 2001-11-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8423
|
cannam@125
|
8424 * src/voc.c
|
cannam@125
|
8425 Completed implementation of VOC file handling. Can now handle 8 and 16 bit
|
cannam@125
|
8426 PCM, u-law and A-law files with one or two channels.
|
cannam@125
|
8427
|
cannam@125
|
8428 * src/write_read_test.c tests/lossy_comp_test.c
|
cannam@125
|
8429 Added tests for VOC files.
|
cannam@125
|
8430
|
cannam@125
|
8431 2001-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8432
|
cannam@125
|
8433 * src/float_cast.h
|
cannam@125
|
8434 Added inline asm version of lrint/lrintf for MacOS. Solution provided by
|
cannam@125
|
8435 Stephane Letz.
|
cannam@125
|
8436
|
cannam@125
|
8437 * src/voc.c
|
cannam@125
|
8438 More work on this braindamaged format. The VOC files produced by SoX also
|
cannam@125
|
8439 have a number of inconsistencies.
|
cannam@125
|
8440
|
cannam@125
|
8441 2001-11-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8442
|
cannam@125
|
8443 * src/paf.c
|
cannam@125
|
8444 Added support for 8 bit PCM PAF files.
|
cannam@125
|
8445
|
cannam@125
|
8446 * tests/write_read_test.c
|
cannam@125
|
8447 Added tests for 8 bit PAF files.
|
cannam@125
|
8448
|
cannam@125
|
8449 2001-11-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8450
|
cannam@125
|
8451 * tests/pcm_test.c
|
cannam@125
|
8452 New test program to test for correct scaling of integer values between
|
cannam@125
|
8453 different sized integer containers (ie short -> int).
|
cannam@125
|
8454 The new specs for libsndfile state that when the source and destination
|
cannam@125
|
8455 containers are of a different size, the most significant bit of the source
|
cannam@125
|
8456 value becomes the most significant bit of the destination container.
|
cannam@125
|
8457
|
cannam@125
|
8458 * src/pcm.c src/paf.c
|
cannam@125
|
8459 Modified to pass the above test program.
|
cannam@125
|
8460
|
cannam@125
|
8461 * tests/write_read_test.c tests/lossy_comp_test.c
|
cannam@125
|
8462 Modified to work with the new scaling rules.
|
cannam@125
|
8463
|
cannam@125
|
8464 2001-11-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8465
|
cannam@125
|
8466 * src/raw.c tests/write_read_test.c tests/write_read_test.c
|
cannam@125
|
8467 Added ability to do raw reads/writes of float, u-law and A-law files.
|
cannam@125
|
8468
|
cannam@125
|
8469 * src/*.[ch] examples/*.[ch] tests/*.[ch]
|
cannam@125
|
8470 Removed dependance on pcmbitwidth field of SF_INFO struct and moved to new
|
cannam@125
|
8471 SF_FORMAT_* types and use of SF_ENDIAN_BIG/LITTLE/CPU.
|
cannam@125
|
8472
|
cannam@125
|
8473 2001-11-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8474
|
cannam@125
|
8475 * src/*.[ch]
|
cannam@125
|
8476 Started implmentation of major changes documented in doc/version1.html.
|
cannam@125
|
8477
|
cannam@125
|
8478 Removed all usage of off_t which is not part of the ISO C standard. All
|
cannam@125
|
8479 places which were using it are now using type long which is the type of
|
cannam@125
|
8480 the offset parameter for the fseek function.
|
cannam@125
|
8481 This should fix problems on BeOS, MacOS and *BSD like systems which were
|
cannam@125
|
8482 failing "make check" because sizeof (long) != sizeof (off_t).
|
cannam@125
|
8483
|
cannam@125
|
8484 --------------------------------------------------------------------------------
|
cannam@125
|
8485 This is the boundary between version 1 of the library above and version 0 below.
|
cannam@125
|
8486 --------------------------------------------------------------------------------
|
cannam@125
|
8487
|
cannam@125
|
8488 2001-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8489
|
cannam@125
|
8490 * examples/sfplay_beos.cpp
|
cannam@125
|
8491 Added BeOS version of sfplay.c. This needs to be compiled using a C++
|
cannam@125
|
8492 compiler so is therefore not built by default. Thanks to Marcus Overhagen
|
cannam@125
|
8493 for providing this.
|
cannam@125
|
8494
|
cannam@125
|
8495 2001-11-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8496
|
cannam@125
|
8497 * examples/sfplay.c
|
cannam@125
|
8498 New example file showing how libsndfile can be used to read and play a
|
cannam@125
|
8499 sound file.
|
cannam@125
|
8500 At the moment on Linux is supported. Others will follow in the near future.
|
cannam@125
|
8501
|
cannam@125
|
8502 2001-11-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8503
|
cannam@125
|
8504 * src/pcm.c
|
cannam@125
|
8505 Fixed problem with normalisation code where a value of 1.0 could map to
|
cannam@125
|
8506 a value greater than MAX_SHORT or MAX_INT. Thanks to Roger Dannenberg for
|
cannam@125
|
8507 pointing this out.
|
cannam@125
|
8508
|
cannam@125
|
8509 2001-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8510
|
cannam@125
|
8511 * src/pcm.c
|
cannam@125
|
8512 Fixed scaling issue when reading/writing 8 bit files using
|
cannam@125
|
8513 sf_read/sf_write_short ().
|
cannam@125
|
8514 On read, values are scaled so that the most significant bit in the char
|
cannam@125
|
8515 ends up in the most significant bit of the short. On write, values are
|
cannam@125
|
8516 scaled so that most significant bit in the short ends up as the most
|
cannam@125
|
8517 significant bit in the char.
|
cannam@125
|
8518
|
cannam@125
|
8519 2001-11-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8520
|
cannam@125
|
8521 * src/au.c src/sndfile.c
|
cannam@125
|
8522 Added support for 32 bit float data in big and little endian AU files.
|
cannam@125
|
8523
|
cannam@125
|
8524 * tests/write_read_test.c
|
cannam@125
|
8525 Added tests for 32 bit float data in AU files.
|
cannam@125
|
8526
|
cannam@125
|
8527 2001-11-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8528
|
cannam@125
|
8529 * tests/lossy_comp_test.c
|
cannam@125
|
8530 Finalised testing of stereo files where possible.
|
cannam@125
|
8531
|
cannam@125
|
8532 2001-11-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8533
|
cannam@125
|
8534 * src/wav_ms_adpcm.c
|
cannam@125
|
8535 Fixed bug in writing stereo MS ADPCM WAV files. Thanks to Xu Xin for
|
cannam@125
|
8536 pointing out this problem.
|
cannam@125
|
8537
|
cannam@125
|
8538 2001-10-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8539
|
cannam@125
|
8540 * src/wav_ms_adpcm.c
|
cannam@125
|
8541 Modified function srate2blocksize () to handle 44k1Hz stereo files.
|
cannam@125
|
8542
|
cannam@125
|
8543 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8544
|
cannam@125
|
8545 * src/w64.c
|
cannam@125
|
8546 Added support for Sonic Foundry 64 bit WAV format. As Linux (my main
|
cannam@125
|
8547 development platform) does not yet support 64 bit file offsets by default,
|
cannam@125
|
8548 current handling of this file format treats everything as 32 bit and fails
|
cannam@125
|
8549 openning the file, if it finds anything that goes beyond 32 bit values.
|
cannam@125
|
8550
|
cannam@125
|
8551 * src/sndfile.[hc] src/common.h src/Makefile.am
|
cannam@125
|
8552 Added hooks for W64 support.
|
cannam@125
|
8553
|
cannam@125
|
8554 2001-10-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8555
|
cannam@125
|
8556 * configure.in
|
cannam@125
|
8557 Added more warnings options to CFLAGS when the gcc compiler is detected.
|
cannam@125
|
8558
|
cannam@125
|
8559 * src/*.[ch] tests/*.c examples/*.c
|
cannam@125
|
8560 Started fixing the warning messages due to the new CFLASG.
|
cannam@125
|
8561
|
cannam@125
|
8562 * src/voc.c
|
cannam@125
|
8563 More work on VOC file read/writing.
|
cannam@125
|
8564
|
cannam@125
|
8565 * src/paf.c
|
cannam@125
|
8566 Found that PAF files were not checking the normalisation flag when reading
|
cannam@125
|
8567 or writing floats and doubles. Fixed it.
|
cannam@125
|
8568
|
cannam@125
|
8569 * tests/floating_point_test.c
|
cannam@125
|
8570 Added specific test for the above problem.
|
cannam@125
|
8571
|
cannam@125
|
8572 * src/float_cast.h src/pcm.c
|
cannam@125
|
8573 Added a section for Win32 to define lrint () and lrintf () in the header
|
cannam@125
|
8574 and implement it in the pcm.c
|
cannam@125
|
8575
|
cannam@125
|
8576 2001-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8577
|
cannam@125
|
8578 * sndfile-config.in m4/sndfile.m4
|
cannam@125
|
8579 These files were donated by Conrad Parker who also provided instructions
|
cannam@125
|
8580 on how to install them using autoconf/automake.
|
cannam@125
|
8581
|
cannam@125
|
8582 * src/float_cast.h
|
cannam@125
|
8583 Fiddled around with this file some more. On Linux and other gcc supported
|
cannam@125
|
8584 OSes use the C99 functions lrintf() and lrint() for casting from floating
|
cannam@125
|
8585 point to int without incurring the huge perfromance penalty (particularly
|
cannam@125
|
8586 on the i386 family) caused by the regular C cast from float to int.
|
cannam@125
|
8587 These new C99 functions replace the FLOAT_TO_* and DOUBLE_TO_* macros which
|
cannam@125
|
8588 I had been playing with.
|
cannam@125
|
8589
|
cannam@125
|
8590 * configure.in m4/lrint.m4 m4/lrintf.m4
|
cannam@125
|
8591 Add detection of these functions.
|
cannam@125
|
8592
|
cannam@125
|
8593 2001-10-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8594
|
cannam@125
|
8595 * src/voc.c
|
cannam@125
|
8596 Completed code for reading VOC files containing a single audio data
|
cannam@125
|
8597 segment.
|
cannam@125
|
8598 Started implementing code to handle files with multiple VOC_SOUND_DATA
|
cannam@125
|
8599 segments but couldn't be bothered finishing it. Multiple segment files can
|
cannam@125
|
8600 have different sample rates for different sections and other nasties like
|
cannam@125
|
8601 silence and repeat segments.
|
cannam@125
|
8602
|
cannam@125
|
8603 2001-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8604
|
cannam@125
|
8605 * src/common.h src/*.c
|
cannam@125
|
8606 Removed SF_PRIVATE struct field fdata and replaced it with extra_data.
|
cannam@125
|
8607
|
cannam@125
|
8608 * src/voc.c
|
cannam@125
|
8609 Further development of the read part of this woefult file format.
|
cannam@125
|
8610
|
cannam@125
|
8611 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8612
|
cannam@125
|
8613 * src/float_cast.h
|
cannam@125
|
8614 Implemented gcc and i386 floating point to int cast macros. Standard cast
|
cannam@125
|
8615 will be used when not on gcc for i385.
|
cannam@125
|
8616
|
cannam@125
|
8617 * src/pcm.c
|
cannam@125
|
8618 Modified all uses of FLOAT/DOUBLE_TO_INT and FLOAT/DOUBLE_TO_SHORT casts to
|
cannam@125
|
8619 comply with macros in float_cast.h.
|
cannam@125
|
8620
|
cannam@125
|
8621 2001-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8622
|
cannam@125
|
8623 * src/voc.c
|
cannam@125
|
8624 Changed the TYPE_xxx enum names to VOC_TYPE_xxx to prevent name clashes
|
cannam@125
|
8625 on MacOS with CodeWarrior 6.0.
|
cannam@125
|
8626
|
cannam@125
|
8627 * MacOS/MacOS-readme.txt
|
cannam@125
|
8628 Updated the compile instructions. Probably still need work as I don't have
|
cannam@125
|
8629 access to a Mac.
|
cannam@125
|
8630
|
cannam@125
|
8631 2001-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8632
|
cannam@125
|
8633 * src/wav.c src/aiff.c common.c
|
cannam@125
|
8634 Changed all references to snprintf to LSF_SNPRINTF and all vsnprintf to
|
cannam@125
|
8635 LSF_VSNPRINTF. LSF_VSNPRINTF and LSF_VSNPRINTF are defined in common.h.
|
cannam@125
|
8636
|
cannam@125
|
8637 * src/common.h
|
cannam@125
|
8638 Added checking of HAVE_SNPRINTF and HAVE_VSNPRINTF and defining
|
cannam@125
|
8639 LSF_VSNPRINTF and LSF_VSNPRINTF to appropriate values.
|
cannam@125
|
8640
|
cannam@125
|
8641 * src/missing.c
|
cannam@125
|
8642 New file containing a minimal implementation of snprintf and vsnprintf
|
cannam@125
|
8643 functions named missing_snprintf and missing_vsnprintf respectively. These
|
cannam@125
|
8644 are only compliled into the binary if snprintf and/or vsnprintf are not
|
cannam@125
|
8645 available.
|
cannam@125
|
8646
|
cannam@125
|
8647 2001-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8648
|
cannam@125
|
8649 * src/ircam.c
|
cannam@125
|
8650 New file to handle Berkeley/IRCAM/CARL files.
|
cannam@125
|
8651
|
cannam@125
|
8652 * src/sndfile.c src/common.h
|
cannam@125
|
8653 Modified for IRCAM handling.
|
cannam@125
|
8654
|
cannam@125
|
8655 * tests/*.c
|
cannam@125
|
8656 Added tests for IRCAM files.
|
cannam@125
|
8657
|
cannam@125
|
8658 2001-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8659
|
cannam@125
|
8660 * src/wav.c
|
cannam@125
|
8661 Apparently microsoft windows (tm) doesn't like ulaw and Alaw WAV files with
|
cannam@125
|
8662 20 byte format chunks (contrary to ms's own documentation). Fixed the WAV
|
cannam@125
|
8663 header writing code to generate smaller ms compliant ulaw and Alaw WAV
|
cannam@125
|
8664 files.
|
cannam@125
|
8665
|
cannam@125
|
8666 2001-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8667
|
cannam@125
|
8668 * tests/stdio_test.sh tests/stdio_test.c
|
cannam@125
|
8669 Shell script was rewritten as a C program due to incompatibilities of the
|
cannam@125
|
8670 sh shell on Linux and Solaris.
|
cannam@125
|
8671
|
cannam@125
|
8672 2001-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8673
|
cannam@125
|
8674 * tests/stdio_test.sh tests/stdout_test.c tests/stdin_test.c
|
cannam@125
|
8675 New test programs to verify the correct operation of reading from stdin and
|
cannam@125
|
8676 writing to stdout.
|
cannam@125
|
8677
|
cannam@125
|
8678 * src/sndfile.c wav.c au.c nist.c paf.c
|
cannam@125
|
8679 Fixed a bugs uncovered by the new test programs above.
|
cannam@125
|
8680
|
cannam@125
|
8681 2001-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8682
|
cannam@125
|
8683 * src/sndfile.c wav.c
|
cannam@125
|
8684 Fixed a bug preventing reading a file from stdin. Found by T. Narita.
|
cannam@125
|
8685
|
cannam@125
|
8686 2001-09-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8687
|
cannam@125
|
8688 * src/common.h
|
cannam@125
|
8689 Fixed a problem on OpenBSD 2.9 which was causing sf_seek() to fail on IMA
|
cannam@125
|
8690 WAV files. Root cause was the declaration of the func_seek typedef not
|
cannam@125
|
8691 matching the functions it was actually being used to point to. In OpenBSD
|
cannam@125
|
8692 sizeof (off_t) != sizeof (int). Thanks to Heikki Korpela for allowing me
|
cannam@125
|
8693 to log into his OpenBSD machine to debug this problem.
|
cannam@125
|
8694
|
cannam@125
|
8695 2001-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8696
|
cannam@125
|
8697 * src/sndfile.c
|
cannam@125
|
8698 Implemented sf_command ("norm float").
|
cannam@125
|
8699
|
cannam@125
|
8700 * src/*.c
|
cannam@125
|
8701 Implemented handling of sf_command ("set-norm-float"). Float normalization
|
cannam@125
|
8702 can now be turned on and off.
|
cannam@125
|
8703
|
cannam@125
|
8704 * tests/double_test.c
|
cannam@125
|
8705 Renamed to floating_point_test.c. Modified to include tests for all scaled
|
cannam@125
|
8706 reads and writes of floats and doubles.
|
cannam@125
|
8707
|
cannam@125
|
8708 * src/au_g72x.c
|
cannam@125
|
8709 Fixed bug in normalization code found with improved floating_point_test
|
cannam@125
|
8710 program.
|
cannam@125
|
8711
|
cannam@125
|
8712 * src/wav.c
|
cannam@125
|
8713 Added code for parsing 'INFO' and 'LIST' chunks. Will be used for extract
|
cannam@125
|
8714 text annotations from WAV files.
|
cannam@125
|
8715
|
cannam@125
|
8716 * src/aiff.c
|
cannam@125
|
8717 Added code for parsing '(c) ' and 'ANNO' chunks. Will be used for extract
|
cannam@125
|
8718 text annotations from WAV files.
|
cannam@125
|
8719
|
cannam@125
|
8720 2001-09-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8721
|
cannam@125
|
8722 * examples/sf_info.c example/Makefile.am
|
cannam@125
|
8723 Renamed to sndfile_info.c. The program sndfile_info will now be installed
|
cannam@125
|
8724 when the library is installed.
|
cannam@125
|
8725
|
cannam@125
|
8726 * src/float_cast.h
|
cannam@125
|
8727 New file defining floating point to short and int casts. These casts will
|
cannam@125
|
8728 eventually replace all flot and double casts to short and int. See comments
|
cannam@125
|
8729 at the top of the file for the reasoning.
|
cannam@125
|
8730
|
cannam@125
|
8731 * src/*.c
|
cannam@125
|
8732 Changed all default float and double casts to short or int with macros
|
cannam@125
|
8733 defined in floatcast.h. At the moment these casts do nothing. They will be
|
cannam@125
|
8734 replaced with faster float to int cast operations in the near future.
|
cannam@125
|
8735
|
cannam@125
|
8736 2001-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8737
|
cannam@125
|
8738 * tests/command_test.c
|
cannam@125
|
8739 New file for testing sf_command () functionality.
|
cannam@125
|
8740
|
cannam@125
|
8741 * src/sndfile.c
|
cannam@125
|
8742 Revisiting of error return values of some functions.
|
cannam@125
|
8743 Started implementing sf_command () a new function will allow on-the-fly
|
cannam@125
|
8744 modification of library behaviour, or instance, sample value scaling.
|
cannam@125
|
8745
|
cannam@125
|
8746 * src/common.h
|
cannam@125
|
8747 Added hook for format specific sf_command () calls to SNDFILE struct.
|
cannam@125
|
8748
|
cannam@125
|
8749 * doc/api.html
|
cannam@125
|
8750 Updated and errors corrected.
|
cannam@125
|
8751
|
cannam@125
|
8752 * doc/command.html
|
cannam@125
|
8753 New documentation file explaining new sf_command () function.
|
cannam@125
|
8754
|
cannam@125
|
8755 2001-08-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8756
|
cannam@125
|
8757 * src/sndfile.c
|
cannam@125
|
8758 Fixed error return values from sf_read*() and sf_write*(). There were
|
cannam@125
|
8759 numerous instances of -1 being returned through size_t. These now all set
|
cannam@125
|
8760 error int the SF_PRIVATE struct and return 0. Thanks to David Viens for
|
cannam@125
|
8761 spotting this.
|
cannam@125
|
8762
|
cannam@125
|
8763 2001-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8764
|
cannam@125
|
8765 * src/common.c
|
cannam@125
|
8766 Fixed use of va_arg() calls that were causing warning messages with the
|
cannam@125
|
8767 latest version of gcc (thanks Maurizio Umberto Puxeddu).
|
cannam@125
|
8768
|
cannam@125
|
8769 2001-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8770
|
cannam@125
|
8771 * src/*.c src/sfendian.h
|
cannam@125
|
8772 Moved definition of MAKE_MARKER macro to sfendian.h
|
cannam@125
|
8773
|
cannam@125
|
8774 2001-07-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8775
|
cannam@125
|
8776 * src/sndfile.c
|
cannam@125
|
8777 Modified sf_get_lib_version () so that version string will be visible using
|
cannam@125
|
8778 the Unix strings command.
|
cannam@125
|
8779
|
cannam@125
|
8780 * examples/Makefile.am examples/sfinfo.c
|
cannam@125
|
8781 Renamed sfinfo program and source code to sf_info. This prevents a name
|
cannam@125
|
8782 clash with the program included with libaudiofile.
|
cannam@125
|
8783
|
cannam@125
|
8784 2001-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8785
|
cannam@125
|
8786 * tests/read_seek_test.c tests/lossy_comp_test.c
|
cannam@125
|
8787 Added tests for sf_read_float () and sf_readf_float ().
|
cannam@125
|
8788
|
cannam@125
|
8789 * src/voc.c
|
cannam@125
|
8790 New files for handling Creative Voice files (not complete).
|
cannam@125
|
8791
|
cannam@125
|
8792 * src/samplitude.c
|
cannam@125
|
8793 New files for handling Samplitude files (not complete).
|
cannam@125
|
8794
|
cannam@125
|
8795 2001-07-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8796
|
cannam@125
|
8797 * src/aiff.c src/au.c src/paf.c src/svx.c src/wav.c
|
cannam@125
|
8798 Converted these files to using psf_binheader_readf() function. Will soon be
|
cannam@125
|
8799 ready to attempt to make reading writing from pipes work reliably.
|
cannam@125
|
8800
|
cannam@125
|
8801 * src/*.[ch]
|
cannam@125
|
8802 Added code for sf_read_float () and sf_readf_float () methods of accessing
|
cannam@125
|
8803 file data.
|
cannam@125
|
8804
|
cannam@125
|
8805 2001-07-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8806
|
cannam@125
|
8807 * src/paf.c src/wav_gsm610.c
|
cannam@125
|
8808 Removed two printf()s which had escaped notice for some time (thanks
|
cannam@125
|
8809 Sigbjørn Skjæret).
|
cannam@125
|
8810
|
cannam@125
|
8811 2001-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8812
|
cannam@125
|
8813 * src/wav_gsm610.c
|
cannam@125
|
8814 Fixed a bug which prevented GSM 6.10 encoded WAV files generated by
|
cannam@125
|
8815 libsndfile from being played in Windoze (thanks klay).
|
cannam@125
|
8816
|
cannam@125
|
8817 2001-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8818
|
cannam@125
|
8819 * src/common.[ch]
|
cannam@125
|
8820 Implemented psf_binheader_readf() which will do for file header reading what
|
cannam@125
|
8821 psf_binheader_writef() did for writing headers. Will eventually allow
|
cannam@125
|
8822 libsndfile to read and write from pipes, including named pipes.
|
cannam@125
|
8823
|
cannam@125
|
8824 2001-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8825
|
cannam@125
|
8826 * MacOS/config.h Win32/config.h
|
cannam@125
|
8827 Attempted to bring these two files uptodate with src/config.h. As I don't
|
cannam@125
|
8828 have access to either of these systems support for them may be completely
|
cannam@125
|
8829 broken.
|
cannam@125
|
8830
|
cannam@125
|
8831 2001-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8832
|
cannam@125
|
8833 * src/float32.c
|
cannam@125
|
8834 Fixed bug for big endian processors that can't read 32 bit IEEE floats. Now
|
cannam@125
|
8835 tested on Intel x86 and UltraSparc processors.
|
cannam@125
|
8836
|
cannam@125
|
8837 2001-06-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8838
|
cannam@125
|
8839 * src/aiff.c
|
cannam@125
|
8840 Modified to allow REX files (from Propellorhead's Recycle and Reason
|
cannam@125
|
8841 programs) to be read.
|
cannam@125
|
8842 REX files are basically an AIFF file with slightly unusual sequence of
|
cannam@125
|
8843 chunks (AIFF files are supposed to allow any sequence) and some extra
|
cannam@125
|
8844 application specific information.
|
cannam@125
|
8845 Not yet able to write a REX file as the details of the application specific
|
cannam@125
|
8846 data is unknown.
|
cannam@125
|
8847
|
cannam@125
|
8848 2001-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8849
|
cannam@125
|
8850 * src/wav.c
|
cannam@125
|
8851 Fixed endian bug when reading PEAK chunk on big endian machines.
|
cannam@125
|
8852
|
cannam@125
|
8853 * src/common.c
|
cannam@125
|
8854 Fixed endian bug when reading PEAK chunk on big endian machines with
|
cannam@125
|
8855 --enable-force-broken-float configure option.
|
cannam@125
|
8856 Fix psf_binheader_writef for (FORCE_BROKEN_FLOAT ||______)
|
cannam@125
|
8857
|
cannam@125
|
8858 2001-06-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8859
|
cannam@125
|
8860 * configure.in src/config.h.in
|
cannam@125
|
8861 Removed old CAN_READ_WRITE_x86_IEEE configure variable now that float
|
cannam@125
|
8862 capabilities are detected at run time.
|
cannam@125
|
8863 Added FORCE_BROKEN_FLOAT to allow testing of broken float code on machines
|
cannam@125
|
8864 where the processor can in fact handle floats correctly.
|
cannam@125
|
8865
|
cannam@125
|
8866 * src/float32.c
|
cannam@125
|
8867 Rejigged code reading and writing of floats on broken processors.
|
cannam@125
|
8868
|
cannam@125
|
8869 * m4/
|
cannam@125
|
8870 Removed this directory and all its files as they are no longer needed.
|
cannam@125
|
8871
|
cannam@125
|
8872 2001-06-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8873
|
cannam@125
|
8874 * tests/peak_chunk_test.c
|
cannam@125
|
8875 New test to validate reading and writing of peak chunk.
|
cannam@125
|
8876
|
cannam@125
|
8877 * examples/sfconvert
|
cannam@125
|
8878 Added -float32 option.
|
cannam@125
|
8879
|
cannam@125
|
8880 * src/*.c
|
cannam@125
|
8881 Changed all error return values to negative values (ie the negative of what
|
cannam@125
|
8882 they were).
|
cannam@125
|
8883
|
cannam@125
|
8884 * src/sndfile.c tests/error_test.c
|
cannam@125
|
8885 Modified to take account of the previous change.
|
cannam@125
|
8886
|
cannam@125
|
8887 2001-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8888
|
cannam@125
|
8889 * src/float32.c
|
cannam@125
|
8890 File renamed from wav_float.c and renamed function to something more
|
cannam@125
|
8891 general.
|
cannam@125
|
8892 Added runtime detection of floating point capabilities.
|
cannam@125
|
8893 Added recording of peaks during write for generation of PEAK chunk.
|
cannam@125
|
8894
|
cannam@125
|
8895 * src/wav.c src/aiff.c
|
cannam@125
|
8896 Added handing for PEAK chunk for floating point files. PEAK is read when the
|
cannam@125
|
8897 file headers are read and generated when the file is closed. Logic is in
|
cannam@125
|
8898 place for adding PEAK chunk to end of file when writing to a pipe (reading
|
cannam@125
|
8899 and writing from/to pipe to be implemented soon).
|
cannam@125
|
8900
|
cannam@125
|
8901 * src/sndfile.c
|
cannam@125
|
8902 Modified sf_signal_max () to use PEAK values if present.
|
cannam@125
|
8903
|
cannam@125
|
8904 2001-06-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8905
|
cannam@125
|
8906 * src/*.c
|
cannam@125
|
8907 Added pcm_read_init () and pcm_write_init () to src/pcm.c and removed all
|
cannam@125
|
8908 other calls to functions in this file from the filetype specific files.
|
cannam@125
|
8909
|
cannam@125
|
8910 * src/*.c
|
cannam@125
|
8911 Added alaw_read_init (), alaw_write_int (), ulaw_read_init () and
|
cannam@125
|
8912 ulaw_write_init () and removed all other calls to functions in alaw.c and
|
cannam@125
|
8913 ulaw.c from the filetype specific files.
|
cannam@125
|
8914
|
cannam@125
|
8915 * tests/write_read_test.c
|
cannam@125
|
8916 Added tests to validate sf_seek () on all file types.
|
cannam@125
|
8917
|
cannam@125
|
8918 * src/raw.c
|
cannam@125
|
8919 Implemented raw_seek () function to fix a bug where
|
cannam@125
|
8920 sf_seek (file, 0, SEEK_SET) on a RAW file failed.
|
cannam@125
|
8921
|
cannam@125
|
8922 * src/paf.c
|
cannam@125
|
8923 Fixed a bug in paf24_seek () found due to added seeks tests in
|
cannam@125
|
8924 tests/write_read_test.c
|
cannam@125
|
8925
|
cannam@125
|
8926 2001-06-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8927
|
cannam@125
|
8928 * tests/read_seek_test.c
|
cannam@125
|
8929 Fixed a couple of broken binary files.
|
cannam@125
|
8930
|
cannam@125
|
8931 * src/aiff.c src/wav.c
|
cannam@125
|
8932 Added handling of PEAK chunks on file read.
|
cannam@125
|
8933
|
cannam@125
|
8934 2001-05-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8935
|
cannam@125
|
8936 * check_libsndfile.py
|
cannam@125
|
8937 New file for the regression testing of libsndfile.
|
cannam@125
|
8938 check_libsndfile.py is a Python script which reads in a file containing
|
cannam@125
|
8939 filenames of audio files. Each file is checked by running the examples/sfinfo
|
cannam@125
|
8940 program on them and checking for error or warning messages in the libsndfile
|
cannam@125
|
8941 log buffer.
|
cannam@125
|
8942
|
cannam@125
|
8943 * check_libsndfile.list
|
cannam@125
|
8944 This is an example list of audio files for use with check_libsndfile.py
|
cannam@125
|
8945
|
cannam@125
|
8946 * tests/lossy_comp_test.c
|
cannam@125
|
8947 Changed the defined value of M_PI for math header files which don't have it.
|
cannam@125
|
8948 This fixed validation test failures on MetroWerks compilers. Thanks to Lord
|
cannam@125
|
8949 Praetor Satanus of Acheron for bringing this to my attention.
|
cannam@125
|
8950
|
cannam@125
|
8951 2001-05-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8952
|
cannam@125
|
8953 * src/common.[ch]
|
cannam@125
|
8954 Removed psf_header_setf () which was no longer required after refactoring
|
cannam@125
|
8955 and simplification of header writing.
|
cannam@125
|
8956 Added 'z' format specifier to psf_binheader_writef () for zero filling header
|
cannam@125
|
8957 with N bytes. Used by paf.c and nist.c
|
cannam@125
|
8958
|
cannam@125
|
8959 * tests/check_log_buffer.c
|
cannam@125
|
8960 New file implementing check_log_buffer () which reads the log buffer of a
|
cannam@125
|
8961 SNDFILE* object and searches for error and warning messages. Calls exit ()
|
cannam@125
|
8962 if any are found.
|
cannam@125
|
8963
|
cannam@125
|
8964 * tests/*.c
|
cannam@125
|
8965 Added calls to check_log_buffer () after each call to sf_open_XXX ().
|
cannam@125
|
8966
|
cannam@125
|
8967 2001-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8968
|
cannam@125
|
8969 * src/wav.c src/wav_ms_adpcm.c src/wav_gsm610.c
|
cannam@125
|
8970 Major rehack of header writing using psf_binheader_writef ().
|
cannam@125
|
8971
|
cannam@125
|
8972 2001-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8973
|
cannam@125
|
8974 * src/wav.c src/wav_ima_adpcm.c
|
cannam@125
|
8975 Major rehack of header writing using psf_binheader_writef ().
|
cannam@125
|
8976
|
cannam@125
|
8977 2001-05-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8978
|
cannam@125
|
8979 * src/wav.c
|
cannam@125
|
8980 Changed return type of get_encoding_str () to prevent compiler warnings on
|
cannam@125
|
8981 Mac OSX.
|
cannam@125
|
8982
|
cannam@125
|
8983 * src/aiff.c src/au.c
|
cannam@125
|
8984 Major rehack of header writing using psf_binheader_writef ().
|
cannam@125
|
8985
|
cannam@125
|
8986 2001-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
8987
|
cannam@125
|
8988 * src/common.h src/common.c
|
cannam@125
|
8989 Added comments.
|
cannam@125
|
8990 Name of log buffer changed from strbuffer to logbuffer.
|
cannam@125
|
8991 Name of log buffer index variable changed from strindex to logindex.
|
cannam@125
|
8992
|
cannam@125
|
8993 * src/*.[ch]
|
cannam@125
|
8994 Changed name of internal logging function from psf_sprintf () to
|
cannam@125
|
8995 psf_log_printf ().
|
cannam@125
|
8996 Changed name of internal header generation functions from
|
cannam@125
|
8997 psf_[ab]h_printf () to psf_asciiheader_printf () and
|
cannam@125
|
8998 psf_binheader_writef ().
|
cannam@125
|
8999 Changed name of internal header manipulation function psf_hsetf () to
|
cannam@125
|
9000 psf_header_setf ().
|
cannam@125
|
9001
|
cannam@125
|
9002 2001-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9003
|
cannam@125
|
9004 * src/nist.c
|
cannam@125
|
9005 Fixed reading and writing of sample_byte_format header. "01" means little
|
cannam@125
|
9006 endian and "10" means big endian regardless of bit width.
|
cannam@125
|
9007
|
cannam@125
|
9008 * configure.in
|
cannam@125
|
9009 Detect Mac OSX and disable -Wall and -pedantic gcc options. Mac OSX is
|
cannam@125
|
9010 way screwed up and spews out buckets of warning messages from the system
|
cannam@125
|
9011 headers.
|
cannam@125
|
9012 Added --disable-gcc-opt configure option (sets gcc optimisation to -O0 ) for
|
cannam@125
|
9013 easier debugging.
|
cannam@125
|
9014 Made decision to harmonise source code version number and .so library
|
cannam@125
|
9015 version number. Future releases will stick to this rule.
|
cannam@125
|
9016
|
cannam@125
|
9017 * doc/new_file_type.HOWTO
|
cannam@125
|
9018 New file to document the addition of new file types to libsndfile.
|
cannam@125
|
9019
|
cannam@125
|
9020 2001-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9021
|
cannam@125
|
9022 * src/nist.c
|
cannam@125
|
9023 New file for reading/writing Sphere NIST audio file format.
|
cannam@125
|
9024 Originally requested by Elis Pomales in 1999.
|
cannam@125
|
9025 Retrieved from unstable (and untouched for 18 months) branch of libsndfile.
|
cannam@125
|
9026 Some vital information gleaned from the source code to Bill Schottstaedt's
|
cannam@125
|
9027 sndlib library : ftp://ccrma-ftp.stanford.edu/pub/Lisp/sndlib.tar.gz
|
cannam@125
|
9028 Currently reading and writing 16, 24 and 32 bit, big-endian and little
|
cannam@125
|
9029 endian, stereo and mono files.
|
cannam@125
|
9030
|
cannam@125
|
9031 * src/common.h src/common.c
|
cannam@125
|
9032 Added psf_ah_printf () function to help construction of ASCII headers (ie NIST).
|
cannam@125
|
9033
|
cannam@125
|
9034 * configure.in
|
cannam@125
|
9035 Added test for vsnprintf () required by psf_ah_printf ().
|
cannam@125
|
9036
|
cannam@125
|
9037 * tests/write_read_test.c
|
cannam@125
|
9038 Added tests for supported NIST files.
|
cannam@125
|
9039
|
cannam@125
|
9040 2001-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9041
|
cannam@125
|
9042 * tests/write_read_test.c
|
cannam@125
|
9043 Added tests for little endian AIFC files.
|
cannam@125
|
9044
|
cannam@125
|
9045 * src/aiff.c
|
cannam@125
|
9046 Minor re-working of aiff_open_write ().
|
cannam@125
|
9047 Added write support for little endian PCM encoded AIFC files.
|
cannam@125
|
9048
|
cannam@125
|
9049 2001-05-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9050
|
cannam@125
|
9051 * src/aiff.c
|
cannam@125
|
9052 Minor re-working of aiff_open_read ().
|
cannam@125
|
9053 Added read support for little endian PCM encoded AIFC files from the Mac
|
cannam@125
|
9054 OSX CD ripper program. Guillaume Lessard provided a couple of sample files
|
cannam@125
|
9055 and a working patch.
|
cannam@125
|
9056 The patch was not used as is but gave a good guide as to what to do.
|
cannam@125
|
9057
|
cannam@125
|
9058 2001-05-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9059
|
cannam@125
|
9060 * src/sndfile.h
|
cannam@125
|
9061 Fixed comments about endian-ness of WAV and AIFF files. Guillaume Lessard
|
cannam@125
|
9062 pointed out the error.
|
cannam@125
|
9063
|
cannam@125
|
9064 2001-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9065
|
cannam@125
|
9066 * examples/make_sine.c
|
cannam@125
|
9067 Re-write of this example using sample rate and required frequency in Hz.
|
cannam@125
|
9068
|
cannam@125
|
9069 2001-02-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9070
|
cannam@125
|
9071 * src/sndfile.c
|
cannam@125
|
9072 Fixed bug that prevented known file types from being read as RAW PCM data.
|
cannam@125
|
9073
|
cannam@125
|
9074 2000-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9075
|
cannam@125
|
9076 * src/aiff.c
|
cannam@125
|
9077 Added handing of COMT chunk.
|
cannam@125
|
9078
|
cannam@125
|
9079 2000-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9080
|
cannam@125
|
9081 * examples/sfconvert.c
|
cannam@125
|
9082 Fixed bug in normalisatio code. Pointed out by Johnny Wu.
|
cannam@125
|
9083
|
cannam@125
|
9084 2000-11-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9085
|
cannam@125
|
9086 * Win32/config.h
|
cannam@125
|
9087 Fixed the incorrect setting of HAVE_ENDIAN_H parameter. Win32 only issue.
|
cannam@125
|
9088
|
cannam@125
|
9089 2000-10-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9090
|
cannam@125
|
9091 * tests/Makefile.am
|
cannam@125
|
9092 Added -lm for write_read_test_LDADD.
|
cannam@125
|
9093
|
cannam@125
|
9094 2000-10-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9095
|
cannam@125
|
9096 * src/sndfile.c src/au.c
|
cannam@125
|
9097 Fixed bug which prevented writing of G723 24kbps AU files.
|
cannam@125
|
9098
|
cannam@125
|
9099 * tests/lossy_comp_test.c
|
cannam@125
|
9100 Corrrection to options for G723 tests.
|
cannam@125
|
9101
|
cannam@125
|
9102 * configure.in
|
cannam@125
|
9103 Added --disable-gcc-pipe option for DJGPP compiler (gcc on MS-DOS) which
|
cannam@125
|
9104 doesn't allow gcc -pipe option.
|
cannam@125
|
9105
|
cannam@125
|
9106 2000-09-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9107
|
cannam@125
|
9108 * src/ulaw.c src/alaw.c src/wav_imaadpcm.c src/msadpcm.c src/wav_gsm610.c
|
cannam@125
|
9109 Fixed normailsation bugs shown up by new double_test program.
|
cannam@125
|
9110
|
cannam@125
|
9111 2000-08-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9112
|
cannam@125
|
9113 * src/pcm.c
|
cannam@125
|
9114 Fixed bug in normalisation code (spotted by Steve Lhomme).
|
cannam@125
|
9115
|
cannam@125
|
9116 * tests/double_test.c
|
cannam@125
|
9117 New file to test scaled and unscaled sf_read_double() and sf_write_double()
|
cannam@125
|
9118 functions.
|
cannam@125
|
9119
|
cannam@125
|
9120 2000-08-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9121
|
cannam@125
|
9122 * COPYING
|
cannam@125
|
9123 Changed to the LGPL COPYING file (spotted by H. S. Teoh).
|
cannam@125
|
9124
|
cannam@125
|
9125 2000-08-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9126
|
cannam@125
|
9127 * src/sndfile.h
|
cannam@125
|
9128 Removed prototype of unimplemented function sf_get_info(). Added prototype
|
cannam@125
|
9129 for sf_error_number() Thanks to Sigbjørn Skjæret for spotting these.
|
cannam@125
|
9130
|
cannam@125
|
9131 2000-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9132
|
cannam@125
|
9133 * src/newpcm.h
|
cannam@125
|
9134 New file to contain a complete rewrite of the PCM data handling.
|
cannam@125
|
9135
|
cannam@125
|
9136 2000-08-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9137
|
cannam@125
|
9138 * src/sndfile.c
|
cannam@125
|
9139 Fixed a leak of FILE* pointers in sf_open_write(). Thanks to Sigbjørn
|
cannam@125
|
9140 Skjæret for spotting this one.
|
cannam@125
|
9141
|
cannam@125
|
9142 2000-08-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9143
|
cannam@125
|
9144 * src/au_g72x.c src/G72x/g72x.c
|
cannam@125
|
9145 Added G723 encoded AU file support.
|
cannam@125
|
9146
|
cannam@125
|
9147 * tests/lossy_comp_test.c
|
cannam@125
|
9148 Added tests for G721 and G723 encoded AU files.
|
cannam@125
|
9149
|
cannam@125
|
9150 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9151
|
cannam@125
|
9152 * all files
|
cannam@125
|
9153 Changed the license to LGPL. Albert Faber who had copyright on
|
cannam@125
|
9154 Win32/unistd.h gave his permission to change the license on that file. All
|
cannam@125
|
9155 other files were either copyright erikd AT mega-nerd DOT com or copyright
|
cannam@125
|
9156 under a GPL/LGPL compatible license.
|
cannam@125
|
9157
|
cannam@125
|
9158 2000-08-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9159
|
cannam@125
|
9160 * tests/lossy_comp_test.c
|
cannam@125
|
9161 Fixed incorrect error message.
|
cannam@125
|
9162
|
cannam@125
|
9163 * src/au_g72x.c src/G72x/*
|
cannam@125
|
9164 G721 encoded AU files now working.
|
cannam@125
|
9165
|
cannam@125
|
9166 * Win32/README-Win32.txt
|
cannam@125
|
9167 Replaced this file with a new one which gives a full explanation
|
cannam@125
|
9168 of how to build libsndfile under Win32. Thanks to Mike Ricos.
|
cannam@125
|
9169
|
cannam@125
|
9170 2000-08-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9171
|
cannam@125
|
9172 * src/*.[ch]
|
cannam@125
|
9173 Removed double leading underscores from the start of all variable and
|
cannam@125
|
9174 function names. Identifiers with a leading underscores are reserved
|
cannam@125
|
9175 for use by the compiler.
|
cannam@125
|
9176
|
cannam@125
|
9177 * src/au_g72x.c src/G72x/*
|
cannam@125
|
9178 Continued work on G721 encoded AU files.
|
cannam@125
|
9179
|
cannam@125
|
9180 2000-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9181
|
cannam@125
|
9182 * src/G72x/*
|
cannam@125
|
9183 New files for reading/writing G721 and G723 ADPCM audio. These files
|
cannam@125
|
9184 are from a Sun Microsystems reference implementation released under a
|
cannam@125
|
9185 free software licence.
|
cannam@125
|
9186 Extensive changes to this code to make it fit in with libsndfile.
|
cannam@125
|
9187 See the ChangeLog in this directory for details.
|
cannam@125
|
9188
|
cannam@125
|
9189 * src/au_g72x.c
|
cannam@125
|
9190 New file for G721 encoded AU files.
|
cannam@125
|
9191
|
cannam@125
|
9192 2000-07-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9193
|
cannam@125
|
9194 * libsndfile.spec.in
|
cannam@125
|
9195 Added a spec file for making RPMs. Thanks to Josh Green for supplying this.
|
cannam@125
|
9196
|
cannam@125
|
9197 2000-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9198
|
cannam@125
|
9199 * src/sndfile.c src/sndfile.h
|
cannam@125
|
9200 Add checking for and handling of header-less u-law encoded AU/SND files.
|
cannam@125
|
9201 Any file with a ".au" or ".snd" file extension and without the normal
|
cannam@125
|
9202 AU file header is treated as an 8kHz, u-law encoded file.
|
cannam@125
|
9203
|
cannam@125
|
9204 * src/au.h
|
cannam@125
|
9205 New function for opening a headerless u-law encoded file for read.
|
cannam@125
|
9206
|
cannam@125
|
9207 2000-06-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9208
|
cannam@125
|
9209 * src/paf.c
|
cannam@125
|
9210 Add checking for files shorter than minimal PAF file header length.
|
cannam@125
|
9211
|
cannam@125
|
9212 2000-06-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9213
|
cannam@125
|
9214 * tests/write_read_test.c
|
cannam@125
|
9215 Added extra sf_perror() calls when sf_write_XXXX fails.
|
cannam@125
|
9216
|
cannam@125
|
9217 2000-05-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9218
|
cannam@125
|
9219 * src/common.c
|
cannam@125
|
9220 Modified usage of va_arg() macro to work correctly on PowerPC
|
cannam@125
|
9221 Linux. Thanks to Kyle Wheeler for giving me ssh access to his
|
cannam@125
|
9222 machine while I was trying to track this down.
|
cannam@125
|
9223
|
cannam@125
|
9224 * configure.in src/*.[ch]
|
cannam@125
|
9225 Sorted out some endian-ness issues brought up by PowerPC Linux.
|
cannam@125
|
9226
|
cannam@125
|
9227 * tests/read_seek_test.c
|
cannam@125
|
9228 Added extra debugging for when tests fail.
|
cannam@125
|
9229
|
cannam@125
|
9230 2000-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9231
|
cannam@125
|
9232 * src/wav.c
|
cannam@125
|
9233 Fixed bug in GSM 6.10 handling for big-endian machines. Thanks
|
cannam@125
|
9234 to Sigbjørn Skjæret for reporting this.
|
cannam@125
|
9235
|
cannam@125
|
9236 2000-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9237
|
cannam@125
|
9238 * src/sndfile.c src/wav.c src/wav_gsm610.c
|
cannam@125
|
9239 Finallised writing of GSM 6.10 WAV files.
|
cannam@125
|
9240
|
cannam@125
|
9241 * tests/lossy_comp_test.c
|
cannam@125
|
9242 Wrote new test code for GSM 6.10 files.
|
cannam@125
|
9243
|
cannam@125
|
9244 * examples/sfinfo.c
|
cannam@125
|
9245 Fixed incorrect format in printf() statement.
|
cannam@125
|
9246
|
cannam@125
|
9247 2000-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9248
|
cannam@125
|
9249 * src/sndfile.h.in
|
cannam@125
|
9250 Fixed comments about sf_perror () and sf_error_str ().
|
cannam@125
|
9251
|
cannam@125
|
9252 2000-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9253
|
cannam@125
|
9254 * configure.in
|
cannam@125
|
9255 Fixed --enable-justsrc option.
|
cannam@125
|
9256
|
cannam@125
|
9257 2000-03-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9258
|
cannam@125
|
9259 * wav.c
|
cannam@125
|
9260 Fixed checking of bytespersec field of header. Still some weirdness
|
cannam@125
|
9261 with some files.
|
cannam@125
|
9262
|
cannam@125
|
9263 2000-03-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9264
|
cannam@125
|
9265 * tests/lossy_comp_test.c
|
cannam@125
|
9266 Added option to test PCM WAV files (sanity check).
|
cannam@125
|
9267 Fixed bug in sf_seek() tests.
|
cannam@125
|
9268
|
cannam@125
|
9269 2000-02-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9270
|
cannam@125
|
9271 * src/sndfile.c src/wav.c
|
cannam@125
|
9272 Minor changes to allow writing of GSM 6.10 WAV files.
|
cannam@125
|
9273
|
cannam@125
|
9274 2000-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9275
|
cannam@125
|
9276 * configure.in Makefile.am src/Makefile.am
|
cannam@125
|
9277 Finally got around to figuring out how to build a single library from
|
cannam@125
|
9278 multiple source directories.
|
cannam@125
|
9279 Reading GSM 6.10 files now seems to work.
|
cannam@125
|
9280
|
cannam@125
|
9281 2000-01-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9282
|
cannam@125
|
9283 * src/wav.c
|
cannam@125
|
9284 Added more error reporting in read_fmt_chunk().
|
cannam@125
|
9285
|
cannam@125
|
9286 1999-12-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9287
|
cannam@125
|
9288 * examples/sfinfo.c
|
cannam@125
|
9289 Modified program to accept multiple filenames from the command line.
|
cannam@125
|
9290
|
cannam@125
|
9291 1999-11-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9292
|
cannam@125
|
9293 * src/wav_ima_adpcm.c
|
cannam@125
|
9294 Moved code around in preparation to adding ability to read/write IMA ADPCM
|
cannam@125
|
9295 encoded AIFF files.
|
cannam@125
|
9296
|
cannam@125
|
9297 1999-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9298
|
cannam@125
|
9299 * src/common.c
|
cannam@125
|
9300 Fixed put_int() and put_short() macros used by _psf_hprintf() which were
|
cannam@125
|
9301 causing seg. faults on Sparc Solaris.
|
cannam@125
|
9302
|
cannam@125
|
9303 1999-11-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9304
|
cannam@125
|
9305 * src/common.c
|
cannam@125
|
9306 Added string.h to includes. Thanks to Sigbjxrn Skjfret.
|
cannam@125
|
9307
|
cannam@125
|
9308 * src/svx.c
|
cannam@125
|
9309 Fixed __svx_close() function to ensure FORM and BODY chunks are correctly
|
cannam@125
|
9310 set.
|
cannam@125
|
9311
|
cannam@125
|
9312 1999-10-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9313
|
cannam@125
|
9314 * src/au.c
|
cannam@125
|
9315 Fixed handling of incorrect size field in AU header on read. Thanks to
|
cannam@125
|
9316 Christoph Lauer for finding this problem.
|
cannam@125
|
9317
|
cannam@125
|
9318 1999-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9319
|
cannam@125
|
9320 * src/aiff.c
|
cannam@125
|
9321 Fixed a bug with incorrect SSND chunk length being written. This also lead
|
cannam@125
|
9322 to finding an minor error in AIFF header parsing. Thanks to Dan Timis for
|
cannam@125
|
9323 pointing this out.
|
cannam@125
|
9324
|
cannam@125
|
9325 1999-09-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9326
|
cannam@125
|
9327 * src/paf.c
|
cannam@125
|
9328 Fixed a bug with reading and writing 24 bit stereo PAF files. This problem
|
cannam@125
|
9329 came to light when implementing tests for the new functions which operate
|
cannam@125
|
9330 in terms of frames rather than items.
|
cannam@125
|
9331
|
cannam@125
|
9332 1999-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9333
|
cannam@125
|
9334 * src/sndfile.c
|
cannam@125
|
9335 Modified file type detection to use first 12 bytes of file rather than
|
cannam@125
|
9336 file name extension. Required this because NIST files use the same
|
cannam@125
|
9337 filename extension as Microsoft WAV files.
|
cannam@125
|
9338
|
cannam@125
|
9339 * src/sndfile.c src/sndfile.h
|
cannam@125
|
9340 Added short, int and double read/write functions which work in frames
|
cannam@125
|
9341 rather than items. This was originally suggested by Maurizio Umberto
|
cannam@125
|
9342 Puxeddu.
|
cannam@125
|
9343
|
cannam@125
|
9344 1999-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9345
|
cannam@125
|
9346 * src/svx.c
|
cannam@125
|
9347 Finished off implementation of write using __psf_hprintf().
|
cannam@125
|
9348
|
cannam@125
|
9349 1999-09-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9350
|
cannam@125
|
9351 * src/common.h
|
cannam@125
|
9352 Added a buffer to SF_PRIVATE for writing the header. This is required
|
cannam@125
|
9353 to make generating headers for IFF/SVX files easier as well as making
|
cannam@125
|
9354 it easier to do re-write the headers which will be required when
|
cannam@125
|
9355 sf_rewrite_header() is implemented.
|
cannam@125
|
9356
|
cannam@125
|
9357 * src/common.c
|
cannam@125
|
9358 Implemented __psf_hprintf() function. This is an internal function
|
cannam@125
|
9359 which is documented briefly just above the code.
|
cannam@125
|
9360
|
cannam@125
|
9361 1999-09-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9362
|
cannam@125
|
9363 * src/sndfile.c
|
cannam@125
|
9364 Fixed a bug in sf_write_raw() where it was returning incorrect values
|
cannam@125
|
9365 (thanks to Richard Dobson for finding this one). Must put in a test
|
cannam@125
|
9366 routine for sf_read_raw and sf_write_raw.
|
cannam@125
|
9367
|
cannam@125
|
9368 * src/aiff.c
|
cannam@125
|
9369 Fixed default FORMsize in __aiff_open_write ().
|
cannam@125
|
9370
|
cannam@125
|
9371 * src/sndfile.c
|
cannam@125
|
9372 Added copy of filename to internal data structure. IFF/SVX files
|
cannam@125
|
9373 contain a NAME header chunk. Both sf_open_read() and sf_open_write()
|
cannam@125
|
9374 copy the file name (less the leading path information) to the
|
cannam@125
|
9375 filename field.
|
cannam@125
|
9376
|
cannam@125
|
9377 * src/svx.c
|
cannam@125
|
9378 Started implementing writing of files.
|
cannam@125
|
9379
|
cannam@125
|
9380 1999-08-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9381
|
cannam@125
|
9382 * src/svx.c
|
cannam@125
|
9383 New file for reading/writing 8SVX and 16SVX files.
|
cannam@125
|
9384
|
cannam@125
|
9385 * src/sndfile.[ch] src/common.h
|
cannam@125
|
9386 Changes for SVX files.
|
cannam@125
|
9387
|
cannam@125
|
9388 * src/aiff.c
|
cannam@125
|
9389 Fixed header parsing when unknown chunk is found.
|
cannam@125
|
9390
|
cannam@125
|
9391 1999-08-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9392
|
cannam@125
|
9393 * src/paf.c
|
cannam@125
|
9394 New file for reading/writing Ensoniq PARIS audio file format.
|
cannam@125
|
9395
|
cannam@125
|
9396 * src/sndfile.[ch] src/common.h
|
cannam@125
|
9397 Changes for PAF files.
|
cannam@125
|
9398
|
cannam@125
|
9399 * src/sndfile.[ch]
|
cannam@125
|
9400 Added stuff for sf_get_lib_version() function.
|
cannam@125
|
9401
|
cannam@125
|
9402
|
cannam@125
|
9403 1999-07-31 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9404
|
cannam@125
|
9405 * src/sndfile.h MacOS/config.h
|
cannam@125
|
9406 Fixed minor MacOS configuration issues.
|
cannam@125
|
9407
|
cannam@125
|
9408 1999-07-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9409
|
cannam@125
|
9410 * MacOS/
|
cannam@125
|
9411 Added a new directory for the MacOS config.h file and the
|
cannam@125
|
9412 readme file.
|
cannam@125
|
9413
|
cannam@125
|
9414 * src/aiff.c
|
cannam@125
|
9415 Fixed calculation of datalength when reading SSND chunk. Thanks to
|
cannam@125
|
9416 Sigbjørn Skjæret for pointing out this error.
|
cannam@125
|
9417
|
cannam@125
|
9418 1999-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9419
|
cannam@125
|
9420 * src/sndfile.c src/sndfile.h src/raw.c
|
cannam@125
|
9421 Further fixing of #includes for MacOS.
|
cannam@125
|
9422
|
cannam@125
|
9423 1999-07-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9424
|
cannam@125
|
9425 * src/wav.c src/aiff.c
|
cannam@125
|
9426 Added call to ferror () in main header parsing loop of __XXX_open_read
|
cannam@125
|
9427 functions. This should fix problems on platforms (MacOS, AmigaOS) where
|
cannam@125
|
9428 fseek()ing or fread()ing beyond the end of the file puts the FILE*
|
cannam@125
|
9429 stream in an error state until clearerr() is called.
|
cannam@125
|
9430
|
cannam@125
|
9431 * tests/write_read_test.c
|
cannam@125
|
9432 Added tests for RAW header-less PCM files.
|
cannam@125
|
9433
|
cannam@125
|
9434 * src/common.h
|
cannam@125
|
9435 Moved definition of struct tribyte to pcm.c which is the only place
|
cannam@125
|
9436 which needs it.
|
cannam@125
|
9437
|
cannam@125
|
9438 * src/pcm.c
|
cannam@125
|
9439 Modified all code which assumed sizeof (struct tribyte) == 3. This code
|
cannam@125
|
9440 did not work on MacOS. Thanks to Ben "Jacobs" for pointing this out.
|
cannam@125
|
9441
|
cannam@125
|
9442 * src/au.c
|
cannam@125
|
9443 Removed <sys/stat.h> from list of #includes (not being used).
|
cannam@125
|
9444
|
cannam@125
|
9445 * src/sndfile.c
|
cannam@125
|
9446 Added MacOS specific #ifdef to replace <sys/stat.h>.
|
cannam@125
|
9447
|
cannam@125
|
9448 * src/sndfile.h
|
cannam@125
|
9449 Added MacOS specific #ifdef to replace <sys/stat.h>.
|
cannam@125
|
9450
|
cannam@125
|
9451 * src/sndfile.h
|
cannam@125
|
9452 Added MacOS specific typedef for off_t.
|
cannam@125
|
9453
|
cannam@125
|
9454 * MacOS-readme.txt
|
cannam@125
|
9455 New file with instructions for building libsndfile under MacOS. Thanks
|
cannam@125
|
9456 to Ben "Jacobs" for supplying these instructions.
|
cannam@125
|
9457
|
cannam@125
|
9458 1999-07-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9459
|
cannam@125
|
9460 * configure.in
|
cannam@125
|
9461 Removed sndfile.h from generated file list as there were no longer
|
cannam@125
|
9462 any autoconf substitutions being made.
|
cannam@125
|
9463
|
cannam@125
|
9464 * src/raw.c
|
cannam@125
|
9465 New file for handling raw header-less PCM files. In order to open these
|
cannam@125
|
9466 for read, the user must specify format, pcmbitwidth and channels in the
|
cannam@125
|
9467 SF_INFO struct when calling sf_open_read ().
|
cannam@125
|
9468
|
cannam@125
|
9469 * src/sndfile.c
|
cannam@125
|
9470 Added support for raw header-less PCM files.
|
cannam@125
|
9471
|
cannam@125
|
9472 1999-07-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9473
|
cannam@125
|
9474 * examples/sfinfo.c
|
cannam@125
|
9475 Removed options so the sfinfo program always prints out all the information.
|
cannam@125
|
9476
|
cannam@125
|
9477 1999-07-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9478
|
cannam@125
|
9479 * src/alaw.c
|
cannam@125
|
9480 New file for A-law encoding (similar to u-law).
|
cannam@125
|
9481
|
cannam@125
|
9482 * tests/alaw_test.c
|
cannam@125
|
9483 New test program to test the A-law encode/decode lookup tables.
|
cannam@125
|
9484
|
cannam@125
|
9485 * tests/lossy_comp_test.c
|
cannam@125
|
9486 Added tests for a-law encoded WAV, AU and AULE files.
|
cannam@125
|
9487
|
cannam@125
|
9488 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9489
|
cannam@125
|
9490 * src/sndfile.c src/au.c
|
cannam@125
|
9491 Removed second "#include <unistd.h>". Thanks to Ben "Jacobs" for pointing
|
cannam@125
|
9492 this out.
|
cannam@125
|
9493
|
cannam@125
|
9494 1999-07-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9495
|
cannam@125
|
9496 * tests/ulaw_test.c
|
cannam@125
|
9497 New test program to test the u-law encode/decode lookup tables.
|
cannam@125
|
9498
|
cannam@125
|
9499 1999-07-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9500
|
cannam@125
|
9501 * src/sndfile.h
|
cannam@125
|
9502 Made corrections to comments on the return values from sf_seek ().
|
cannam@125
|
9503
|
cannam@125
|
9504 * src/sndfile.c
|
cannam@125
|
9505 Fixed boundary condition checking bug and accounting bug in sf_read_raw ().
|
cannam@125
|
9506
|
cannam@125
|
9507 1999-07-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9508
|
cannam@125
|
9509 * src/au.c src/ulaw.c
|
cannam@125
|
9510 Finished implementation of u-law encoded AU files.
|
cannam@125
|
9511
|
cannam@125
|
9512 * src/wav.c
|
cannam@125
|
9513 Implemented reading and writing of u-law encoded WAV files.
|
cannam@125
|
9514
|
cannam@125
|
9515 * tests/
|
cannam@125
|
9516 Changed name of adpcm_test.c to lossy_comp_test.c. This test program
|
cannam@125
|
9517 will now be used to test Ulaw and Alaw encoding as well as APDCM.
|
cannam@125
|
9518 Added tests for Ulaw encoded WAV files.
|
cannam@125
|
9519
|
cannam@125
|
9520 1999-07-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9521
|
cannam@125
|
9522 * tests/adpcm_test.c
|
cannam@125
|
9523 Initialised amp variable in gen_signal() to remove compiler warning.
|
cannam@125
|
9524
|
cannam@125
|
9525 1999-07-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9526
|
cannam@125
|
9527 * src/aiff.c
|
cannam@125
|
9528 In __aiff_open_read () prevented fseek()ing beyond end of file which
|
cannam@125
|
9529 was causing trouble on MacOS with the MetroWerks compiler. Thanks to
|
cannam@125
|
9530 Ben "Jacobs" for pointing this out.
|
cannam@125
|
9531
|
cannam@125
|
9532 *src/wav.c
|
cannam@125
|
9533 Fixed as above in __wav_open_read ().
|
cannam@125
|
9534
|
cannam@125
|
9535 1999-07-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9536
|
cannam@125
|
9537 * src/wav_ms_adpcm.c
|
cannam@125
|
9538 Implemented MS ADPCM encoding. Code cleanup of decoder.
|
cannam@125
|
9539
|
cannam@125
|
9540 * tests/adpcm_test.c
|
cannam@125
|
9541 Added tests for MS ADPCM WAV files.
|
cannam@125
|
9542
|
cannam@125
|
9543 * src/wav_ima_adpcm.c
|
cannam@125
|
9544 Fixed incorrect parameter in call to srate2blocksize () from
|
cannam@125
|
9545 __ima_writer_init ().
|
cannam@125
|
9546
|
cannam@125
|
9547 1999-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9548
|
cannam@125
|
9549 * tests/read_seek_test.c
|
cannam@125
|
9550 Added test for 8 bit AIFF files.
|
cannam@125
|
9551
|
cannam@125
|
9552 1999-06-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9553
|
cannam@125
|
9554 * tests/write_read_test.c
|
cannam@125
|
9555 Removed test for IMA ADPCM WAV files which is now done in adpcm_test.c
|
cannam@125
|
9556
|
cannam@125
|
9557 * configure.in
|
cannam@125
|
9558 Added -Wconversion to CFLAGS.
|
cannam@125
|
9559
|
cannam@125
|
9560 * src/*.c tests/*.c examples/*.c
|
cannam@125
|
9561 Fixed all warnings resulting from use of -Wconversion.
|
cannam@125
|
9562
|
cannam@125
|
9563 1999-06-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9564
|
cannam@125
|
9565 * src/wav.c
|
cannam@125
|
9566 Added fact chunk handling on read and write for all non WAVE_FORMAT_PCM
|
cannam@125
|
9567 WAV files.
|
cannam@125
|
9568
|
cannam@125
|
9569 * src/wav_ima.c
|
cannam@125
|
9570 Changed block alignment to be dependant on sample rate. This should make
|
cannam@125
|
9571 WAV files created with libsndfile compatible with the MS Windows media
|
cannam@125
|
9572 players.
|
cannam@125
|
9573
|
cannam@125
|
9574 * tests/adpcm_test.c
|
cannam@125
|
9575 Reimplemented adpcm_test_short and implemented adpcm_test_int and
|
cannam@125
|
9576 adpcm_test_double.
|
cannam@125
|
9577 Now have full testing of IMA ADPCM WAV file read, write and seek.
|
cannam@125
|
9578
|
cannam@125
|
9579 1999-06-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9580
|
cannam@125
|
9581 * src/wav_float.c
|
cannam@125
|
9582 Fixed function prototype for x86f2d_array () which was causing ocassional
|
cannam@125
|
9583 seg. faults on Sparc Solaris machines.
|
cannam@125
|
9584
|
cannam@125
|
9585 1999-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9586
|
cannam@125
|
9587 * src/aiff.c
|
cannam@125
|
9588 Fixed bug in __aiff_close where the length fields in the header were
|
cannam@125
|
9589 not being correctly calculated before writing.
|
cannam@125
|
9590
|
cannam@125
|
9591 * tests/write_read_test.c
|
cannam@125
|
9592 Modified to detect the above bug in WAV, AIFF and AU files.
|
cannam@125
|
9593
|
cannam@125
|
9594 1999-06-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9595
|
cannam@125
|
9596 * Win32/*
|
cannam@125
|
9597 Added a contribution from Albert Faber to allow libsndfile to compile
|
cannam@125
|
9598 under Win32 systems. libsndfile will now be used as part of LAME the
|
cannam@125
|
9599 the MPEG 1 Layer 3 encoder (http://internet.roadrunner.com/~mt/mp3/).
|
cannam@125
|
9600
|
cannam@125
|
9601 1999-06-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9602
|
cannam@125
|
9603 * configure.in
|
cannam@125
|
9604 Changed to reflect previous changes.
|
cannam@125
|
9605
|
cannam@125
|
9606 * src/wav_ima_adpcm.c
|
cannam@125
|
9607 Fixed incorrect calculation of bytespersec header field (IMA ADPCM only).
|
cannam@125
|
9608
|
cannam@125
|
9609 Fixed bug when writing from int or double data to IMA ADPCM file. Will need
|
cannam@125
|
9610 to write test code for this.
|
cannam@125
|
9611
|
cannam@125
|
9612 Fixed bug in __ima_write () whereby the length of the current block was
|
cannam@125
|
9613 calculated incorrectly. Thanks to Jongcheon Park for pointing this out.
|
cannam@125
|
9614
|
cannam@125
|
9615 1999-03-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9616
|
cannam@125
|
9617 * src/*.c
|
cannam@125
|
9618 Changed all read/write/lseek function calls to fread/fwrite/
|
cannam@125
|
9619 fseek/ftell and added error checking of return values from
|
cannam@125
|
9620 fread and fwrite in critical areas of the code.
|
cannam@125
|
9621
|
cannam@125
|
9622 * src/au.c
|
cannam@125
|
9623 Fixed incorrect datasize element in AU header on write.
|
cannam@125
|
9624
|
cannam@125
|
9625 * tests/error_test.c
|
cannam@125
|
9626 Add new test to check all error values have an associated error
|
cannam@125
|
9627 string. This will avoid embarrassing real world core dumps.
|
cannam@125
|
9628
|
cannam@125
|
9629 1999-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9630
|
cannam@125
|
9631 * src/wav.c src/aiff.c
|
cannam@125
|
9632 Added handling for unknown chunk markers in the file.
|
cannam@125
|
9633
|
cannam@125
|
9634 1999-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9635
|
cannam@125
|
9636 * src/sndfile.c
|
cannam@125
|
9637 Filled in missing error strings in SndfileErrors array. Missing entries
|
cannam@125
|
9638 can cause core dumps when calling sf_error-str (). Thanks to Sam
|
cannam@125
|
9639 <mrsam at-sign geocities.com> for finding this problem.
|
cannam@125
|
9640
|
cannam@125
|
9641 1999-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9642
|
cannam@125
|
9643 * src/wav_ima_adpcm.c
|
cannam@125
|
9644 Work on wav_ms_adpcm.c uncovered a bug in __ima_read () when reading
|
cannam@125
|
9645 stereo files. Caused by not adjusting offset into buffer of decoded
|
cannam@125
|
9646 samples for 2 channels. A similar bug existed in __ima_write ().
|
cannam@125
|
9647 Need a test for stereo ADPCM files.
|
cannam@125
|
9648
|
cannam@125
|
9649 * src/wav_ms_adpcm.c
|
cannam@125
|
9650 Decoder working correctly.
|
cannam@125
|
9651
|
cannam@125
|
9652 1999-03-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9653
|
cannam@125
|
9654 * configure.in Makefile.am
|
cannam@125
|
9655 Added --enable-justsrc configuration variable sent by Sam
|
cannam@125
|
9656 <mrsam at-sign geocities.com>.
|
cannam@125
|
9657
|
cannam@125
|
9658 * src/wav_ima_adpcm.c
|
cannam@125
|
9659 Fixed bug when reading beyond end of data section due to not
|
cannam@125
|
9660 checking pima->blockcount.
|
cannam@125
|
9661 This uncovered __ima_seek () bug due to pima->blockcount being set
|
cannam@125
|
9662 before calling __ima_init_block ().
|
cannam@125
|
9663
|
cannam@125
|
9664 1999-03-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9665
|
cannam@125
|
9666 * src/wav.c
|
cannam@125
|
9667 Started implementing MS ADPCM decoder.
|
cannam@125
|
9668 If file is WAVE_FORMAT_ADPCM and length of data chunk is odd, this
|
cannam@125
|
9669 encoder seems to add an extra byte. Why not just give an even data
|
cannam@125
|
9670 length?
|
cannam@125
|
9671
|
cannam@125
|
9672 1999-03-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9673
|
cannam@125
|
9674 * src/wav.c
|
cannam@125
|
9675 Split code out of wav.c to create wav_float.c and wav_ima_adpcm.c.
|
cannam@125
|
9676 This will make it easier to add and debug other kinds of WAV files
|
cannam@125
|
9677 in future.
|
cannam@125
|
9678
|
cannam@125
|
9679 1999-03-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9680
|
cannam@125
|
9681 * tests/
|
cannam@125
|
9682 Added adpcm_test.c which implements test functions for
|
cannam@125
|
9683 IMA ADPCM reading/writing/seeking etc.
|
cannam@125
|
9684
|
cannam@125
|
9685 * src/wav.c
|
cannam@125
|
9686 Fixed many bugs in IMA ADPCM encoder and decoder.
|
cannam@125
|
9687
|
cannam@125
|
9688 1999-03-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9689
|
cannam@125
|
9690 * src/wav.c
|
cannam@125
|
9691 Finished implementing IMA ADPCM encoder and decoder (what a bitch!).
|
cannam@125
|
9692
|
cannam@125
|
9693 1999-03-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9694
|
cannam@125
|
9695 * src/wav.c
|
cannam@125
|
9696 Started implementing IMA ADPCM decoder.
|
cannam@125
|
9697
|
cannam@125
|
9698 1999-03-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9699
|
cannam@125
|
9700 * src/sndfile.c
|
cannam@125
|
9701 Fixed bug where the sf_read_XXX functions were returning a
|
cannam@125
|
9702 incorrect read count when reading past end of file.
|
cannam@125
|
9703 Fixed bug in sf_seek () when seeking backwards from end of file.
|
cannam@125
|
9704
|
cannam@125
|
9705 * tests/read_seek_test.c
|
cannam@125
|
9706 Added multiple read test to short_test(), int_test () and
|
cannam@125
|
9707 double_test ().
|
cannam@125
|
9708 Added extra chunk to all test WAV files to test that reading
|
cannam@125
|
9709 stops at end of 'data' chunk.
|
cannam@125
|
9710
|
cannam@125
|
9711 1999-02-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9712
|
cannam@125
|
9713 * tests/write_read_test.c
|
cannam@125
|
9714 Added tests for little DEC endian AU files.
|
cannam@125
|
9715
|
cannam@125
|
9716 * src/au.c
|
cannam@125
|
9717 Add handling for DEC format little endian AU files.
|
cannam@125
|
9718
|
cannam@125
|
9719 1999-02-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9720
|
cannam@125
|
9721 * src/aiff.c src/au.c src/wav.c
|
cannam@125
|
9722 Add __psf_sprintf calls during header parsing.
|
cannam@125
|
9723
|
cannam@125
|
9724 * src/sndfile.c src/common.c
|
cannam@125
|
9725 Implement sf_header_info (sndfile.c) function and __psf_sprintf (common.c).
|
cannam@125
|
9726
|
cannam@125
|
9727 * tests/write_read_test.c
|
cannam@125
|
9728 Added tests for 8 bit PCM files (WAV, AIFF and AU).
|
cannam@125
|
9729
|
cannam@125
|
9730 * src/au.c src/aiff.c
|
cannam@125
|
9731 Add handling of 8 bit PCM data format.
|
cannam@125
|
9732
|
cannam@125
|
9733 * src/aiff.c
|
cannam@125
|
9734 On write, set blocksize in SSND chunk to zero like everybody else.
|
cannam@125
|
9735
|
cannam@125
|
9736 1999-02-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9737
|
cannam@125
|
9738 * src/pcm.c:
|
cannam@125
|
9739 Fixed bug in let2s_array (cptr was not being initialised).
|
cannam@125
|
9740
|
cannam@125
|
9741 * src/sndfile.c:
|
cannam@125
|
9742 Fixed bug in sf_read_raw and sf_write_raw. sf_seek should
|
cannam@125
|
9743 now work when using these functions.
|
cannam@125
|
9744
|
cannam@125
|
9745 1999-02-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9746
|
cannam@125
|
9747 * tests/write_read_test.c:
|
cannam@125
|
9748 Force test_buffer array to be double aligned. Sparc Solaris
|
cannam@125
|
9749 requires this.
|
cannam@125
|
9750
|
cannam@125
|
9751 1999-02-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9752
|
cannam@125
|
9753 * src/pcm.c:
|
cannam@125
|
9754 Fixed a bug which was causing errors in the reading
|
cannam@125
|
9755 and writing of 24 bit PCM files.
|
cannam@125
|
9756
|
cannam@125
|
9757 * doc/api.html
|
cannam@125
|
9758 Finished of preliminary documentaion.
|
cannam@125
|
9759
|
cannam@125
|
9760 1999-02-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
|
cannam@125
|
9761
|
cannam@125
|
9762 * src/aiff.c:
|
cannam@125
|
9763 Changed reading of 'COMM' chunk to avoid reading an int
|
cannam@125
|
9764 which overlaps an int (4 byte) boundary.
|