-
Notifications
You must be signed in to change notification settings - Fork 19
/
ChangeLog
9051 lines (6088 loc) · 282 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2011-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/ogg_vorbis.c
Fix return value of SFC_SET_VBR_ENCODING_QUALITY command.
* doc/command.html
Document SFC_SET_VBR_ENCODING_QUALITY, SFC_GET/SET_LOOP_INFO and
SFC_GET_INSTRUMENT.
* NEWS README configure.ac doc/*.html
Updates for 1.0.25.
2011-07-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sfconfig.h
Add handling for HAVE_SYS_WAIT_H.
* Makefile.am src/Makefile.am tests/Makefile.am
Add 'checkprograms' target.
2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/sndfile.c
Purge SF_ASSERT macro. Use standard C assert instead.
* src/paf.c src/common.h src/sndfile.c
Fix for Secunia Advisory SA45125, heap overflow (heap gets overwritten with
byte value of 0) due to integer overflow if PAF file handler.
* src/ima_adpcm.c src/ms_adpcm.c src/paf.c
Use calloc instead of malloc followed by memset.
* tests/utils.tpl
Clean up use of memset.
2011-07-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/ogg.c
Fix log message.
* tests/format_check_test.c
Fix compiler warnings.
2011-07-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.c
Fix error message for erro code SFE_ZERO_MINOR_FORMAT.
* tests/format_check_test.c
Add a test to for SF_FINFO format field validation.
* src/ogg.c src/ogg_vorbis.c src/ogg.h src/ogg_pcm.c src/ogg_speex.c
src/common.h src/Makefile.am
Move vorbis specific code to ogg_vorbis.c, add new files for handling PCM
and Speex codecs in an Ogg container. The later two are only enabled with
ENABLE_EXPERIMENTAL_CODE config variable.
2011-06-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/strings.c
Clean up and refactor storage of SF_STR_SOFTWARE.
2011-06-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.h.in doc/api.html
Fix definition of SF_STR_LAST and update SF_STR_* related docs. Thanks to
Tim van der Molen for the patch.
2011-06-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-interleave.c
Fix handling of argc. Thanks to Marius Hennecke.
* src/wav_w64.c
Accept broken WAV files with blockalign == 0. Thanks to Olivier Tristan for
providing example files.
* src/wav.c
Jump over 'FLLR' chunks.
2011-06-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.h.in
Fix -Wundef warning due to ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
* configure.ac
Add -Wundef to CFLAGS.
* src/ogg.c
Fix -Wunder warning.
2011-05-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Use int64_t instead of off_t when they are the same size.
* src/Makefile.am tests/Makefile.am
Use check_PROGRAMS instead of noinst_PROGRAMS where appropriate.
2011-05-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/wav.c
Don't allow unknown and/or un-editable chunks to prevent the file from being
opened in SFM_RDWR mode.
2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/format_check_test.c
Fix segfault in test program.
2011-04-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/format_check_test.c
New test program to check to make sure that sf_open() and sf_check_format()
agree as to what is a valid program.
* tests/Makefile.am tests/test_wrapper.sh.in
Hook into build and test runner.
* src/sndfile.c
Fix some sf_format_check() problems. Thanks to Charles Van Winkle for the
notification.
2011-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/caf.c
Add validation to size of 'data' chunk and fix size of written 'data'
chunk. Thanks to Michael Pruett for reporting this.
2011-03-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/* tests/* programs/*
Fix a bunch of compiler warnings with gcc-4.6.
2011-03-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/util.tpl
Add NOT macro to util.h.
* src/strings.c
Fix handling of SF_STR_SOFTWARE that resulted in a segfault due to calling
strlen() on an unterminated string. Thanks to Francois Thibaud for reporting
this problem.
* tests/string_test.c
Add test for SF_STR_SOFTWARE segfault bug.
* configure.ac
Sanitize FLAC_CFLAGS value supplied by pkg-config which returns a value of
'-I${includedir}/FLAC'. However FLAC also provides an include file
<assert.h> which clashes with the Standard C header of the same name. The
solution is strip the 'FLAC' part off the end and include all FLAC headers
as <FLAC/header.h>.
* configure.ac src/Makefile.am
Use non-recursive make in src/ directory.
2011-03-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* NEWS README docs/*.html
Updates for 1.0.24 release.
2011-03-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Fix up usage of sed (should not assume GNU sed).
* M4/add_(c|cxx)flags.m4
Test flags in isolation.
* tests/cpp_test.cc
Fix a broken test (test segfaults). Report by Dave Flogeras.
2011-03-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/common.[ch]
Add function program_name() which returns the program name minus the path
from argv [0].
* programs/*.c programs/Makefile.am
Use program_name() where appropriate. Fix build.
2011-03-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/wav.c
For u-law and A-law files, write an 18 byte 'fmt ' chunk instead of a 16
byte one. Win98 accepts files with a 16 but not 18 byte 'fmt' chunk. Later
version accept 18 byte but not 16 byte.
2011-03-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/FAQ.html
Add examples for question 12.
* doc/libsndfile.css.in
Add tweaks for h4 element.
* doc/api.html
Add documentation for virtual I/O functionality. Thanks to Uli Franke.
* tests/util.tpl
Add static inline functions sf_info_clear() and sf_info_setup().
* tests/(alaw|dwvw|ulaw)_test.c
Use functions sf_info_clear() and sf_info_setup().
2011-03-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Fail more gracefully if pkg-config is missing. Suggestion from Brian
Willoughby.
2011-02-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.c
Use size_t instead of int for size params with varargs.
2011-02-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/index.html
Update supported platforms with more Debian platforms and Android.
2011-01-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.hh
Add an LPCWSTR version of the SndfileHandle constructor to the SndfileHandle
class definition. Thanks to Eric Eizenman for pointing out this was missing.
* tests/cpp_test.cc
Add test for LPCWSTR version of the SndfileHandle constructor.
2011-01-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-play.c
Remove cruft.
2010-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.hh
Add methods rawHandle() and takeOwnership(). Thanks to Tim Blechmann for
the patch.
* tests/cpp_test.cc
Add tests for above two methods. Also supplied by Tim Blechmann.
2010-11-11 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/api.html
Add mention of use of sf_strerror() when sf_open() fails.
2010-11-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Make TYPEOF_SF_COUNT_T int64_t where possible. This may fix problems where
people are compiling on a 64 bit system with the GCC -m32 flag.
* src/sndfile.h.in
Fix comments on sf_count_t.
2010-10-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/aiff.c
Handle non-zero offset field in SSND chunk. Thanks to Michael Chinen.
2010-10-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Sed fix for FreeBSD. Thanks Tony Theodore.
2010-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* shave.in M4/shave.m4
Fix shave invocation of windres compiler. Thanks Damien Lespiau (upstream
shave author).
* configure.ac M4/shave.m4 shave-libtool.in shave.in
Switch from shave to automake-1.11's AM_SILENT_RULES.
2010-10-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* shave-libtool.in shave.in
Sync to upstream version.
* src/rf64.c
More work to make the parser more robust and accepting of mal-formed files.
2010-10-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h
Add functions psf_strlcpy() and psf_strlcat().
* src/broadcast.c src/sndfile.c src/strings.c src/test_main.c
src/test_main.h src/test_strncpy_crlf.c
Use functions psf_strlcpy() and psf_strlcat() as appropriate.
* tests/string_test.c
Add tests for SF_STR_GENRE and SF_STR_TRACKNUMBER.
* src/rf64.c
Fix size of 'ds64' chunk when writing RF64.
2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/*.c
Add the libsndfile version to the usage message of all programs.
2010-10-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac src/version-metadata.rc.in src/Makefile.am
Add version string resources to the windows DLL.
* doc/api.html
Update to add missing SF_FORMAT_* values. Closed Debian bug #545257.
* NEWS README configure.ac doc/*.html
Updates for 1.0.23 release.
2010-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/pedantic-header-test.sh.in
Handle unusual values of CC environment variable.
* src/rf64.c
Minor tweaks and additional sanity checking.
* src/Makefile.am src/binheader_writef_check.py
Use python 2.6.
2010-10-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.hh
Add a missing 'inline' before a constructor defintion.
2010-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h
Add macro NOT.
* src/rf64.c
Minor tweaks.
* Makefile.am */Makefile.am
Add *~ to CLEANFILES.
2010-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.c
Fix a typo in the error string for SFE_OPEN_PIPE_RDWR. Thanks to Charles
Van Winkle for the report.
2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/flac.c src/ogg.c src/sndfile.h.in src/strings.c src/wav.c
Add ability to read/write tracknumber and genre to flac/ogg/wav files.
Thanks to Matti Nykyri for the patch.
* src/common.h src/broadcast.c src/strings.c
Add function psf_safe_strncpy() and use where appropriate.
2010-10-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* NEWS README configure.ac doc/*.html
Updates for 1.0.22 release.
2010-10-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/broadcast.c src/rf64.c src/sndfile.c src/wav.c
Rewrite of SF_BROADCAST_INFO handling.
* src/test_broadcast_var.c tests/command_test.c
Tweak SF_BROADCAST_INFO tests.
* src/test_broadcast_var.c
Fix OSX stack check error.
2010-09-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sds.c
Set sustain_loop_end to 0 as suggested by Brian Lewis.
2010-09-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sds.c
Make sure the correct frame count gets written into the header.
* tests/write_read_test.tpl
Don't allow SDS files to have a long frame count.
2010-09-17 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sds.c
Apply a pair of patches from Brian Lewis to fix the packet number location
and the checksum.
2010-09-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/aiff.c src/file_io.c src/ogg.c src/rf64.c src/sndfile.c
src/strings.c src/test_audio_detect.c src/test_strncpy_crlf.c
src/wav.c tests/pcm_test.tpl
Fix a bunch of minor issues found using static analysis.
2010-08-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/test_broadcast_var.c
New file containing tests for broadcast_set_var().
* src/Makefile.am src/test_main.[ch]
Hook test_broadcast_var.c into tests.
2010-08-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/broadcast.c src/common.(c|h)
Move function strncpy_crlf() to src/common.c so the function can be tested
in isolation.
* src/test_strncpy_crlf.c
New file.
* src/Makefile.am src/test_main.[ch]
Hook test_strncpy_crlf.c into tests.
2010-08-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h
Move code around to make comments make sense.
* src/broadcast.c
Add debugging code that is disabled by default.
2010-08-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/flac.c
When the file meta data says the file has zero frames set psf->sf.frames
to SF_COUNT_MAX. Fixes Debian bug #590752.
* programs/sndfile-info.c
Print 'unknown' if frame count == SF_COUNT_MAX.
2010-06-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.c
Only support writing mono SVX files. Multichannel SVX files are not
interleaved and there is no support infrastructure to cache and write
multiple channels to create a non-interleaved file.
* src/file_io.c
Don't call close() on a file descriptor of -1. Thanks to Jeremy Friesner
for the bug report.
2010-06-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h
Add macro SF_ASSERT.
* src/sndfile.c
Use SF_ASSERT to ensure sizeof (sf_count_t) == 8.
* src/svx.c
Add support for reading and writing stereo SVX files.
2010-05-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
When compiling with x86_64-w64-mingw32-gcc link with -static-libgcc flags.
* programs/common.c programs/sndfile-metadata-set.c
Update metadata after the audio data is copied. Other minor fixes. Patch
from Marius Hennecke.
2010-05-04 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/nist.c
Fix a regression reported by Hugh Secker-Walker.
* src/api.html
Add comment about sf_open_fd() not working on Windows if the application
and the libsndfile DLL are linked to different versions of the Microsoft
C runtime DLL.
2010-04-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/pedantic-header-test.sh.in
Fix 'make distcheck'.
2010-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/pedantic-header-test.sh.in
New file to test whether sndfile.h can be compiled with gcc's -pedantic
flag.
* configure.ac tests/test_wrapper.sh.in
Hook pedantic-header-test into test suite.
* src/sndfile.h.in
Fix -pedantic warning.
2010-04-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-salvage.c programs/Makefile.am
New program to salvage the audio data from WAV/WAVEX/AIFF files which are
greater than 4Gig in size.
2010-04-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-convert.c
Fix valgrind warning.
2010-04-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-cmp.c
When files differ in the PCM data, also print the difference offset.
Minor cleanup.
2010-03-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/aiff.c
Don't use the 'twos' marker for 24 and 32 bit PCM, use 'in24' and 'in32'
instead. Thanks to Paul Davis (Ardour) for this suggestion.
2010-02-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Clean up configure report.
* tests/utils.tpl
Add functions test_read_raw_or_die and test_write_raw_or_die.
* tests/rdwr_test.(def|tpl) tests/Makefile.am
Add new test program and hook into build.
* src/sndfile.c
Fix minor issues with sf_read/write_raw(). Bug reported by Milan Křápek.
* tests/test_wrapper.sh.in
Add rdwr_test to the test wrapper script.
2010-02-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Remove -fpascal-strings from OSX's OS_SPECIFIC_CFLAGS.
* programs/common.[ch] programs/sndfile-metadata-set.c
Apply a patch from Robin Gareus allowing the setting of the time reference
field of the BEXT chunk.
2010-02-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/ima_adpcm.c
Add a fix from Jonatan Liljedahl to handle predictor overflow when decoding
IMA4.
2010-01-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.hh
Add a constructor which takes an existing file descriptor and then calls
sf_open_fd(). Patch from Sakari Bergen.
2010-01-10 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-deinterleave.c programs/sndfile-interleave.c
Improve usage messages.
2010-01-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/id3.c src/Makefile.am
Add new file src/id3.c and hook into build.
* src/sndfile.c src/common.h
Detect and skip and ID3 header at the start of the file.
2010-01-07 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/common.c
Fix update_strings() copyright, comment, album and license are correctly
written. Thanks to Todd Allen for reporting this.
* man/Makefile.am
Change GNU makeism to something more widely supported. Thanks to Christian
Weisgerber for reporting this.
* configure.ac programs/Makefile.am programs/sndfile-play.c
Apply patch from Christian Weisgerber and Jacob Meuserto add support for
OpenBSD's sndio.
2010-01-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/api.html
Discourage the use of sf_read/write_raw().
2009-12-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Test for Unix pipe() and waitpid() functions.
* src/sfconfig.h tests/pipe_test.tpl
Disable pipe_test if pipe() and waitpid() aren't available.
2009-12-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac src/Makefile.am src/create_symbols_file.py
src/make-static-lib-hidden-privates.sh
Change name of generated file src/Symbols.linux to Symbols.gnu-binutils and
and use the same symbols file for other systems which use GNU binutils like
Debian's kfreebsd.
* M4/shave.m4 shave.in
Update shave files from upstream.
2009-12-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* man/sndfile-metadata-get.1
Fix typo.
* man/sndfile-interleave.1 man/Makefile.am
New man page.
2009-12-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/ogg.c
When decoding to short or int, clip the decoded signal to [-1.0, 1.0] if
its too hot. Thanks to Dmitry Baikov for suggesting this.
* NEWS README doc/*.html
Updates for 1.0.21.
2009-12-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-jackplay.c man/sndfile-jackplay.1
Remove these which will now be in found in the sndfile-tools package.
* programs/Makefile.am man/Makefile.am
Remove build rules for sndfile-jackplay.
* configure.ac
Remove detection of JACK Audio Connect Kit.
* programs/sndfile-concat.c man/sndfile-concat.1
Add new program with man page.
* man/Makefile.am programs/Makefile.am
Hook sndfile-concat into build system.
2009-12-08 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/error_test.c
Don't terminate when sf_close() returns zero in error_close_test().
It seems that Windows 7 behaves differently from earlier versions of
Windows.
2009-12-03 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac M4/*.m4
Rename all custom macros from AC_* to MN_*.
* programs/sndfile-interleave.c
Make it actually work.
2009-12-02 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/*.html configure.ac
Corrections and clarifications courtesy of Robin Forder.
* programs/sndfile-convert.c programs/common.[ch]
Move some code from convert to common for reuse.
* programs/sndfile-interleave.c programs/sndfile-interleave.c
Add new programs sndfile-interleave and sndfile-deinterleave.
* programs/Makefile.am
Hook new programs into build.
2009-12-01 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/create_symbols_file.py tests/stdio_test.c tests/win32_test.c
Minor OS/2 tweaks as suggested by David Yeo.
* tests/multi_file_test.c
Fix file creation flags on windows. Thanks to Bruce Sharpe.
* src/sf_unistd.h
Set all group and other file create permssions to zero.
* tests/win32_test.c
Add a new test.
2009-11-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* doc/print.css doc/*.html
Add a print stylesheet and update all HTML documents to reference it.
Thanks to Aditya Bhargava for suggesting this.
* doc/index.html
Minor corrections.
2009-11-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* sndfile.pc.in
Add a Libs.private entry to assist with static linking.
2009-11-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/make-static-lib-hidden-privates.sh src/Makefile.am
Add a script to hide all non-public symbols in the libsndfile.a static
library.
2009-11-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/locale_test.c
Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
2009-11-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/windows.c
Correct usage of ENABLE_SNDFILE_WINDOWS_PROTOTYPES.
2009-11-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-convert.c
Allow the program to read from stdin by specifying '-' on the command line
as the input file.
* src/sndfile.h.in
Hash define ENABLE_SNDFILE_WINDOWS_PROTOTYPES to 1 for greater safety.
* tests/virtual_io_test.c
Add a PAF/PCM_24 test and verify the file length is not negative
immediately after openning the file for write.
2009-10-18 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/wav.c
When writing loop lengths, adjust the end position by one to make up for
Microsoft's screwed up spec. Thanks to Olivier Tristan for the patch.
2009-10-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/flac.c
Apply patch from Uli Franke allowing FLAC files to be encoded at any sample
rate.
2009-10-09 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/nist.c
Fix parsing of odd ulaw encoded file provided by Jan Silovsky.
* configure.ac
Insist on libvorbis >= 1.2.3. Earlier verions have bugs that cause the
libsndfile test suite to fail on MIPS, PowerPC and others.
See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549899
2009-10-06 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* man/sndfile-convert.1
Fix warning from Debian's lintian checks.
* man/sndfile-cmp.1 man/sndfile-jackplay.1 man/sndfile-metadata-get.1
man/Makefile.am
Add three new minimal manpages and hook into build.
2009-10-05 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/test_wrapper.sh.in
Don't run cpp_test on x86_64-w64-mingw32.
2009-09-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/utils.tpl
On windows, make sure the open() function doesn't get called with a third
parameter of 0 which fails for no good reason. Also make sure this third
parameter doesn't get called with S_IRGRP when compiling for windows because
Wine complains.
* src/sndfile.hh
Add a SndfileHandle constructor for windows that takes a 'const wchar_t *'
string.
* doc/FAQ.html
Add Q/A : I'm cross compiling libsndfile for another platform. How can I
run the test suite?
* src/create_symbols_file.py src/Makefile.am
Add Symbols.static target, a list of symbols, one per line.
2009-09-27 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/test_wrapper.sh.in
Update to allow all tests to be gathered up into a testsuite tarball and
then be run using this script.
* build-test-tarball.mk.in
Add a Make script to build a tarball of all the test binaries and the test
wrapper script. This is useful for cross compiling; you can build the
binaries, build test test tarball and transfer the test tarball to the
target machine for testing.
2009-09-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/*.c
Modify SF_FILE struct to allow it to carry either 8-bit or 16-bit strings
for the file path, directory and name. Fixes for this change throughout.
* src/windows.c src/Makefile.am
New file defining new windows only public function sf_wchar_open() which
takes a 'const wchar_t *' string (LPCWSTR) for the file name parameter.
* src/sndfile.h.in
Add SF_CHANNEL_MAP_ABISONIC_* entries.
Add windows only defintion for sf_wchar_open().
* src/create_symbols_file.py
Add sf_wchar_open() to the list of public symbols (windows only).
* tests/locale_test.c
Add a wchar_test() to test sf_wchar_open().
2009-09-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/*.c
Split file stuff into PSF_FILE struct within the SF_PRIVATE struct.
2009-09-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/aiff.c src/voc.c
When a byte is needed, use unsigned char.
* src/ima_oki_adpcm.c src/broadcast.c src/test_ima_oki_adpcm.c
Include sfconfig.h to prevent compile errors with MinGW compilers.
* configure.ac
Remove AM_CONFIG_HEADER due to warnings from autoconf 2.64.
* tests/locale_test.c
Update to work with xx_XX.UTF-8 style locales. Refactoring.
2009-09-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Set __USE_MINGW_ANSI_STDIO to 1 when compiling using MinGW compilers.
Remove unneeded AC_SUBST.
Report Host CPU/OS/vendor.
2009-09-19 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.c
Fix error message string.
* src/flac.c
Add 88200 to the list of supported sample rates.
* src/ogg.c
Fix compiler warning when using gcc-4.5.0.
* programs/sndfile-info.c tests/utils.tpl
Remove WIN32 snprintf #define.
* src/ima_adpcm.c
Fix minor bug in aiff_ima_encode_block. Thanks to Denis Fileev for finding
this.
2009-09-16 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/caf.c
Use the correct C99 format specifier for int64_t.
* M4/endian.m4
Fix detection of CPU endian-ness when cross compiling. Thanks to Pierre
Ossman for the bug report.
* src/caf.c src/sndfile.c
Fix reading and writing of PEAK chunks in CAF files.
* tests/peak_chunk_test.c tests/test_wrapper.sh.in
Run peak_chunk_test on CAF files.
2009-09-15 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/aiff.c src/wav.c
Use the correct C99 format specifier for int64_t.
2009-08-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/rf64.c src/sndfile.c src/wav.c src/wav_w64.h
Apply a patch (massaged slightly) from Uli Franke adding handling of the
BEXT chunk in RF64 files.
* tests/command_test.c
Update channel_map_test() function so WAV test passes.
* src/rf64.c
Add channel mapping and ambisonic support.
* src/sndfile.h
Add comments showing correspondance between libsndfile channel map
defintiions and those used by Apple and MS.
Add handling of reading/writing channel map info.
* tests/command_test.c tests/test_wrapper.sh.in
Update channel map tests.
2009-07-29 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h
Add function psf_isprint() a replacement for the standard C isprint()
function which ignores any locale settings and treats all input as ASCII.
* src/(aiff|common|rf64|sd2|strings|svx|wav).c
Use psf_isprint() instead of isprint().
2009-07-13 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/command.c
Add string descriptions for SF_FORMAT_RF64 and SF_FORMAT_MPC2K.
2009-06-30 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-play.c
Allow use of Open Sound System audio output under FreeBSD.
2009-06-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac
Add patch from Conrad Parker to add --disable-jack.
2009-05-28 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/alaw.c src/float32.c src/htk.c src/pcm.c src/sds.c src/ulaw.c
Fix bugs where invalid files can cause a divide by zero error (SIGFPE).
Thanks to Sami Liedes for reporting this a Debian bug #530831.
2009-05-26 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/chanmap.[ch]
New files for channel map decoding/encoding.
2009-05-25 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* configure.ac src/sndfile.h.in
Fix MSVC definition of sf_count_t.
2009-05-24 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/wav_w64.[ch]
Add wavex_channelmask to WAV_PRIVATE struct and add a function to convert
an array of SF_CHANNEL_MASK_* values into a bit mask for use in WAV files.
* src/wav.c
Add ability to write the channel mask.
2009-05-23 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* programs/sndfile-info.c
Add -c command line option to dump the channel map information.
* src/wav_w64.c
Don't bail from parser if channel map bitmask is faulty.
* src/common.h src/sndfile.c
Remove error code SFE_W64_BAD_CHANNEL_MAP which is not needed any more.
* src/sndfile.c
On SFC_SET_CHANNEL_MAP_INFO pass the channel map command down to container's
command handler.
2009-05-22 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/sndfile.h.in src/common.h src/sndfile.c src/wav_w64.c
Apply a patch from Lennart Poettering (PulseAudio) to allow reading of
channel data in WAV and W64 files.
Add a test for the above.
2009-05-20 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/FAQ.html
Update the section about pre-compiled binaries for Win64.
2009-05-14 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/common.h src/test_conversions.c
Be more careful when including <stdint.h> so compiling on pre-C99 platforms
(hello Slowlaris) might actually work.
* NEWS README doc/*.html
Updates for 1.0.20.
2009-04-21 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* src/voc.c
Fix a bug whereby opening a specially crafted VOC file could result in a
heap overflow. Thanks to Tobias Klein (http://www.trapkit.de) for reporting
this issue.
* src/aiff.c
Fix potential (heap) buffer overflow when parsing 'MARK' chunk.
2009-04-12 Erik de Castro Lopo <erikd AT mega-nerd DOT com>
* tests/stdin_test.c
Check psf->error after opening file.