source: trunk/third/audiofile/ChangeLog @ 20800

Revision 20800, 30.6 KB checked in by ghudson, 20 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20799, which included commits to RCS files with non-trunk default branches.
Line 
12004-03-05  Michael Pruett <michael@68k.org>
2
3        * libaudiofile/Makefile.am, libaudiofile/audiofile.exports:
4        Export only public entry points.
5
6        * Released version 0.2.6 of the Audio File Library.
7
82004-02-19  Michael Pruett <michael@68k.org>
9
10        * libaudiofile/audiofile.h: Update comments to reflect the fact
11        that AVR and IFF/8SVX file formats are now implemented.
12
132004-02-18  Michael Pruett <michael@68k.org>
14
15        * test/Makefile.am, test/writeavr.c. test/writeiff.c,
16        test/writenist.c: Add regression tests for AVR, IFF/8SVX, and
17        NIST SPHERE file formats.
18
192004-02-14  Michael Pruett <michael@68k.org>
20
21        * configure.in, examples/Makefile.am, examples/osxplay.c: Add
22        example program for Mac OS X demonstrating audio file playback
23        using the Audio File Library and Core Audio.
24
252004-02-09  Michael Pruett <michael@68k.org>
26
27        Fabrizio Gennari has contributed several Windows-related fixes:
28
29        * libaudiofile/openclose.c, win32/config.h: Open files with
30        binary translation mode under MinGW and Cygwin.
31        * win32/sfinfo.dsp: Link against non-debug version of libaudiofile
32        when building non-debug version of sfinfo.
33        * win32/*: Sychronize MSVC project files with latest source code.
34
352004-01-27  Michael Pruett <michael@68k.org>
36
37        * libaudiofile/afinternal.h, libaudiofile/openclose.c: Store
38        file name in AFfilehandle structure.
39
40        * libaudiofile/Makefile.am, libaudiofile/avr.c,
41        libaudiofile/avr.h, libaudiofile/avrwrite.c,
42        libaudiofile/units.c: Add support for reading and writing AVR
43        files.
44
452004-01-22  Michael Pruett <michael@68k.org>
46
47        * libaudiofile/util.[ch]: Add functions for reading and writing
48        16-bit and 32-bit integers with specified byte order.
49
50        * libaudiofile/Makefile.am, libaudiofile/iff.c,
51        libaudiofile/iff.h, libaudiofile/iffwrite.c,
52        libaudiofile/units.c: Add support for reading and writing
53        IFF/8SVX files.
54
552004-01-15  Michael Pruett <michael@68k.org>
56
57        * libaudiofile/Makefile.am, libaudiofile/nist.c,
58        libaudiofile/nist.h, libaudiofile/nistwrite.c: Add support for
59        reading and writing NIST SPHERE files.
60
61        * libaudiofile/audiofile.h: Add constants for new file
62        formats.
63
64        * libaudiofile/units.c, libaudiofile/units.h: Define units for
65        new file formats.
66
672004-01-12  Michael Pruett <michael@68k.org>
68
69        * libaudiofile/Makefile.am, libaudiofile/util.[ch],
70        libaudiofile/debug.[ch]: Move debugging routines into a
71        separate file.
72
73        * libaudiofile/modules.c: Include "debug.h" for debugging
74        routines.
75
762004-01-06  Michael Pruett <michael@68k.org>
77
78        * libaudiofile/afinternal.h, libaudiofile/aiff.h,
79        libaudiofile/aiffwrite.c: Eliminate duplicate definition of
80        AIFC_VERSION_1 constant.
81
822003-12-21  Michael Pruett <michael@68k.org>
83
84        * Released version 0.2.5 of the Audio File Library.
85
862003-12-20  Michael Pruett <michael@68k.org>
87
88        * test/seek.c: Delete temporary file before exiting.
89
902003-12-17  Michael Pruett <michael@68k.org>
91
92        * libaudiofile/aiff.c: When reading an AIFF-C file with an
93        unknown compression type, return an error.
94
95        * libaudiofile/aiff.c: Skip zero-length miscellaneous chunks.
96
97        * libaudiofile/aiff.c: Add support for reading AIFF-C files with
98        little-endian audio data.
99
1002003-12-17  Michael Pruett <michael@68k.org>
101
102        Fix two bugs related to processing 24-bit audio data.
103
104        * libaudiofile/data.c: Fix calculation of bytes per virtual frame
105        in the case of 24-bit audio data.  Previously, requesting more
106        than _AF_ATOMIC_NVFRAMES from afReadFrames when reading a 24-bit
107        audio file would result in corrupted audio data since the audio
108        data pointer would be incremented using a sample size of 3 bytes
109        rather than 4 bytes.
110
111        * libaudiofile/openclose.c: Set virtual sample width by default to
112        the same value as file sample width.  Previously for 24-bit audio
113        data, the virtual sample width would be incorrectly set to 32.
114
115        * test/twentyfour2.c: Add new test which checks reading and
116        writing a large amount of 24-bit audio data.  This program
117        serves as a regression test for a bug in the Audio File Library
118        in which requesting more than 1024 frames (_AF_ATOMIC_NVFRAMES)
119        from afReadFrames when reading a 24-bit audio file would result
120        in corrupted audio data.
121
1222003-12-08  Michael Pruett <michael@68k.org>
123
124        * examples/*, test/*: Add examples subdirectory. Separate
125        example programs from regression test programs. Remove obsolete
126        test programs.
127
1282003-12-03  Michael Pruett <michael@68k.org>
129
130        * sfcommands/sfconvert.c: Fix argument parsing in sfconvert.
131        * sfcommands/printinfo.c: Fix format strings to handle different
132        sizes of off_t when printing track byte count, data offset,
133        and frame count.
134
1352003-10-01  Michael Pruett <michael@68k.org>
136
137        * sfcommands/printinfo.c: Change printfileinfo to display duration
138        with millisecond accuracy.
139
1402003-09-29  Michael Pruett <michael@68k.org>
141
142        * test/seek.c: Include <string.h> for memcmp.  Thanks to Christian
143        Weisgerber for catching this omission.
144
1452003-09-25  Michael Pruett <michael@68k.org>
146
147        * Released version 0.2.4 of the Audio File Library.
148
1492003-09-24  Michael Pruett <michael@68k.org>
150
151        * libaudiofile/afinternal.h: Remove unused structure definitions.
152        * libaudiofile/audiofile.h: Correct return type of afTellFrame
153        to be AFframecount rather than AFfileoffset.
154
1552003-09-23  Michael Pruett <michael@68k.org>
156
157        * libaudiofile/modules/ima.c: Include <config.h>.
158
1592003-09-16  Michael Pruett <michael@68k.org>
160
161        * libaudiofile/audiofile.h: Define LIBAUDIOFILE_MICRO_VERSION.
162
1632003-09-15  Michael Pruett <michael@68k.org>
164
165        * test/Makefile.am, test/seek.c: Add test case for seeking within
166        an audio file.
167
1682003-09-11  Michael Pruett <michael@68k.org>
169
170        * test/*.c: Update tests to use exit(EXIT_FAILURE) upon abnormal
171        termination.
172
1732003-09-11  Michael Pruett <michael@68k.org>
174
175        * libaudiofile/wave.c, libaudiofile/wavewrite.c: Add support
176        for miscellaneous data in WAVE files.  Thanks to Davy Durham
177        for this patch.
178
179        * test/{misc.sh,miscread.c,miscwrite.c}: Update miscellaneous
180        data tests to support WAVE as well as AIFF.
181
1822003-09-11  Michael Pruett <michael@68k.org>
183
184        * libaudiofile/*.c: Replace use of off_t with AFfileoffset and
185        AFframecount, as appropriate.
186        * configure.in: Add AC_SYS_LARGEFILE in order to support large
187        files.
188
1892003-09-09  Michael Pruett <michael@68k.org>
190
191        * libaudiofile/*.c: Include <config.h> as necessary.
192
1932003-09-08  Michael Pruett <michael@68k.org>
194
195        * test/*.c: Update test programs to include <config.h> as necessary.
196
1972003-09-04  Michael Pruett <michael@68k.org>
198
199        * configure.in, libaudiofile/{aiff.c,aiff.h,aiffwrite.c},
200        libaudiofile/{ircam.c,ircamwrite.c}, libaudiofile/modules.h,
201        libaudiofile/{next.c,nextwrite.c}, libaudiofile/nist.c,
202        libaudiofile/{wave.c,wavewrite.c}, libaudiofile/modules/adpcm.h,
203        test/{pipe.c,sixteen-to-eight.c,twentyfour.c}: Check for
204        <inttypes.h> and include it if available.
205
206        Thanks to Daniel Bergstrom for proposing this change.
207
2082003-08-21  Michael Pruett <mpruett@sgi.com>
209
210        * configure.in, Makefile.am, win32/Makefile.am: Include win32
211        directory in distribution.
212
2132003-07-02  Michael Pruett <mpruett@sgi.com>
214
215        * test/testchannelmatrix.c, test/Makefile.am: Add regression
216        test for channel matrix functionality.
217
2182003-07-01  Michael Pruett <mpruett@sgi.com>
219
220        Applying a patch from Masahiro Sakai to enable building as a
221        DLL under Cygwin.
222
223        * configure.in: Add AC_LIBTOOL_WIN32_DLL and call
224        AM_PROG_LIBTOOL after AC_PROG_CC.
225        * libaudiofile/Makefile.am: Add -no-undefined to
226        libaudiofile_la_LDFLAGS.
227
2282003-06-10  Michael Pruett <mpruett@sgi.com>
229
230        * libaudiofile/format.c: Fix error in channel matrix
231        initialization.  Thanks to Jasmin Frenette for reporting this
232        problem.
233
2342002-09-11  Michael Pruett <mpruett@sgi.com>
235
236        * libaudiofile/raw.c: Account for data offset when calculating
237        frame count on raw audio data files.
238
239        Thanks to Davy Durham for reporting this problem.
240
241        * test/writeraw.c, test/Makefile.am: Add a regression test for
242        raw audio data files.
243
2442002-05-17  Michael Pruett <mpruett@sgi.com>
245
246        * libaudiofile/wave.c: Add support for reading names of markers
247        in WAVE files.  Locations of WAVE markers are now assumed to be
248        in units of frames as is the case with Sound Forge.
249        * libaudiofile/wavewrite.c, libaudiofile/wave.h: Add support
250        for writing markers in WAVE files.
251
252        Thanks to Davy Durham for the above patches.
253
254        * libaudiofile/marker.[ch]: Change static function findMarkByID
255        to non-static _af_mark_find_by_id for use by WAVE file marker
256        code.
257
258        * test/testmarkers.c: Add a regression test for markers.
259        * test/printmarkers.c: Add a utility for printing marker
260        information.
261        * test/Makefile.am: Add testmarkers and printmarkers.
262
2632002-05-16  Michael Pruett <mpruett@sgi.com>
264
265        * libaudiofile/wave.c: Compute the frame count of uncompressed
266        WAVE files using double-precision floating-point arithmetic.
267
2682002-05-16  Michael Pruett <mpruett@sgi.com>
269
270        * libaudiofile/openclose.c: Implement afOpenVirtualFile.
271
2722002-03-24  Michael Pruett <mpruett@sgi.com>
273
274        * libaudiofile/marker.c: afInitMarkerComment was corrupting the
275        marker's name because it would free and allocate the marker's
276        name but write to its comment.  Thanks to Daniel Kobras and
277        Davy Durham for noticing and fixing this problem.
278
2792002-02-20  Michael Pruett <mpruett@sgi.com>
280
281        * libaudiofile/*: Eliminate unnecessary global symbols.  Thanks
282        to Daniel Kobras for fixing this problem.
283
2842002-02-04  Michael Pruett <mpruett@sgi.com>
285
286        * audiofile.spec.in: Add /usr/lib/libaudiofile.la and
287        /usr/lib/pkgconfig/audiofile.pc to the RPM spec file.
288
2892001-10-25  Michael Pruett <mpruett@sgi.com>
290
291        * test/irixread.c: Improve error handling.  Use proper
292        conversion specifications in printf statements.
293
294        * Makefile.am, configure.in, audiofile.pc.in: Add pkgconfig file.
295
296        * Released version 0.2.3 of the Audio File Library.
297
2982001-10-10  Michael Pruett <mpruett@sgi.com>
299
300        * test/error.c: Expanded the error test to include several more
301        library functions.
302
303        * libaudiofile/format.c: Improve error checking and add comments.
304
3052001-09-20  Michael Pruett <mpruett@sgi.com>
306
307        * test/irixread.c, test/irixtestloop.c, test/linuxtest.c:
308        Always use virtual audio format in calculations regarding audio
309        data in memory.
310
3112001-09-18  Michael Pruett <mpruett@sgi.com>
312
313        * configure.in: Bump version to 0.2.3 in anticipation of the
314        upcoming release.
315
3162001-09-08  Michael Pruett <mpruett@sgi.com>
317
318        * test/sgi.c: Replace fixed-point shift with a call to the more
319        elegant alDoubleToFixed.
320
3212001-08-29  Michael Pruett <mpruett@sgi.com>
322
323        * test/pipe.{c,sh}: Added simple test of Audio File Library
324        operation on non-seekable file handles.
325
3262001-08-28  Michael Pruett <mpruett@sgi.com>
327
328        * libaudiofile/openclose.c: Applied Chris Wolf's patch invoking
329        the macro SETBINARYMODE on all file pointers before handing
330        them off to the AF VFS.  This macro does nothing on non-Windows
331        systems.
332
3332001-08-27  Michael Pruett <mpruett@sgi.com>
334
335        * win32/*: Added Chris Wolf's Windows port of the Audio File Library.
336
3372001-08-24  Michael Pruett <mpruett@sgi.com>
338
339        * libaudiofile/error.c: Include <config.h>.
340
341        * libaudiofile/modules.c: Replacing null macro arguments with
342        the token NULLMODULEPARAM so that the module macros will work
343        with bad preprocessors.
344
3452001-08-23  Michael Pruett <mpruett@sgi.com>
346
347        * libaudiofile/openclose.c: Include <unistd.h> only if the
348        system has this header file.
349
350        * libaudiofile/modules/rebuffer.c: Don't define min and max if
351        they've been defined already.
352
3532001-08-23  Michael Pruett <mpruett@sgi.com>
354
355        * libaudiofile/modules/Makefile.am, libaudiofile/units.[ch]:
356        Added IMA and MS ADPCM compression modules.
357
358        * libaudiofile/modules/msadpcm.[ch]: Checked in MS ADPCM
359        compression module.
360
361        * libaudiofile/modules/{ima,adpcm}.[ch]: Checked in IMA
362        compression module and Stichting Mathematisch Centrum's IMA
363        reference codec.
364
365        * libaudiofile/afinternal.h: Declared new internal tokens for
366        compression parameters in PV lists.
367
368        * libaudiofile/audiofile.h: Declared constants for DV and MS
369        ADPCM compression formats.
370
371        * libaudiofile/wave.[ch]: Handle IMA and MS ADPCM compression
372        in WAVE files.
373
374        * libaudiofile/openclose.c: If a track has compression
375        parameters, deallocate them before closing the file.
376
377        * sfcommands/printinfo.c: Added support for compressed audio
378        data to sound commands.
379
3802001-08-07  Michael Pruett <mpruett@sgi.com>
381
382        * libaudiofile/query.c: Added support for
383        AF_QUERYTYPE_COMPRESSION.
384
3852001-08-04  Michael Pruett <mpruett@sgi.com>
386
387        * libaudiofile/util.c, libaudiofile/util.h: Add utility
388        routines _af_pv_getlong, _af_pv_getdouble, and _af_pv_getptr.
389
3902001-07-19  Michael Pruett <mpruett@sgi.com>
391
392        * Released version 0.2.2 of the Audio File Library.
393
3942001-07-19  Michael Pruett <mpruett@sgi.com>
395
396        * libaudiofile/format.c: Add afSetChannelMatrix and
397        afGetVirtualChannels.
398
399        * libaudiofile/openclose.c: Add afIdentifyFD, afIdentifyNamedFD,
400        afOpenFD, and afOpenNamedFD.
401
4022001-07-18  Michael Pruett <mpruett@sgi.com>
403
404        * sfcommands/sfconvert.c: Use a fixed-size buffer for reading
405        and writing audio data, thus reducing memory usage when
406        converting large sound files.  Add float, integer, and channels
407        keywords to sfconvert.
408
409        * docs/sfconvert: Updated documentation to reflect new
410        keywords.
411
412        * libaudiofile/setup.c: Change the default file format for
413        big-endian systems from AIFF to AIFF-C.
414
415        * libaudiofile/{data.c,audiofile.h}: Change the type of the
416        buffer parameter of afWriteFrames from void * to const void *.
417
4182001-07-12  Michael Pruett <mpruett@sgi.com>
419
420        * libaudiofile/{aiffwrite.c,wavewrite.c}: Since
421        _af_format_frame_size takes compression into account, compute
422        the extent of compressed and uncompressed audio data using
423        _af_format_frame_size.
424
425        * libaudiofile/wave.c: Add support for double-precision
426        floating-point WAVE files.
427
4282001-07-10  Michael Pruett <mpruett@sgi.com>
429
430        * libaudiofile/util.[ch]: Make _af_format_sample_size and
431        _af_format_frame_size consider compression.
432
4332001-07-09  Michael Pruett <mpruett@sgi.com>
434
435        * libaudiofile/aiffwrite.c: Make AIFF code handle compressed
436        data formats more cleanly.
437
438        * libaudiofile/{wave.h,wave.c,wavewrite.c}: Make WAVE code
439        handle compressed data formats more cleanly.
440
441        * test/query2.c: Print default value of instrument parameters
442        if instrument parameters are supported.
443
444        * test/{writeulaw.c,writealaw.c}: Update writeulaw and
445        writealaw to test G.711 compression in AIFF-C and WAVE files in
446        addition to NeXT .snd.
447
4482001-07-08  Michael Pruett <mpruett@sgi.com>
449
450        * libaudiofile/{aiff.c,aiffwrite.c}: Add support for
451        floating-point AIFF-C files.
452
453        * test/testfloat.c: Add a test for reading and writing
454        floating-point audio files.
455
456        * libaudiofile/af_vfs.[ch]: Change the virtual file read and
457        write operations to use size_t and ssize_t as read(2) and
458        write(2) do.
459
4602001-07-07  Michael Pruett <mpruett@sgi.com>
461
462        * configure.in, test/Makefile.am: Link against libaudio.so only
463        for programs which use it.
464
4652001-07-04  Michael Pruett <mpruett@sgi.com>
466
467        * test/floatto24.c: Added program to test virtual sample format
468        conversion from float to 24-bit signed integer.
469
4702001-06-28  Michael Pruett <mpruett@sgi.com>
471
472        * libaudiofile/pcm.c: Added afInitPCMMapping(),
473        afGetPCMMapping(), and afGetVirtualPCMMapping().
474
4752001-06-28  Michael Pruett <mpruett@sgi.com>
476
477        * libaudiofile/{wave.c,wavewrite.c}: Improved support for
478        floating-point WAVE files.
479
480        * libaudiofile/wave.c: Made error messages more informative for
481        currently unsupported data formats such as ADPCM and MPEG
482        audio.
483
484        * libaudiofile/wave.h: Declared additional WAVE format tag
485        constants.
486
4872001-06-28  Mark Murnane <mark.murnane@sun.com>
488
489        * libaudiofile/{openclose.c,track.c}: Included string.h to
490        ensure proper declaration of memset().
491
492        * libaudiofile/util.c: Ditto for memset(), strlen() and strcpy().
493
494        * libaudiofile/modules/g711.c: Ditto for strerror().
495
496        * sfcommands/sfconvert.c: Ditto for strcmp().
497
4982001-06-19  Michael Pruett <mpruett@sgi.com>
499
500        * test/power.c: Adding a new example program which calculates
501        the power and peak amplitudes of an audio file.  This program
502        is based on Chris Vaill's normalize.
503
5042001-06-06  Michael Pruett <mpruett@sgi.com>
505
506        * libaudiofile/modules.c: Fix conversion between 24-bit and
507        32-bit data formats on little-endian systems.  Thanks to Axel
508        Roebel for pointing out this problem.
509
510        * libaudiofile/aiffwrite.c:  Don't write a MARK chunk unless
511        markers are present.  Don't confuse the big-endian marker id
512        used for writing to the file with its native-endian value used
513        in calls to afGetMark*.
514
515        * test/twentyfour.c: Add a new program to test the conversion
516        between 24-bit signed integer data in a file and 32-bit signed
517        integer data in memory.
518
5192001-06-05  Michael Pruett <mpruett@sgi.com>
520
521        * libaudiofile/af_vfs.c: Prevent division by zero in af_fread
522        and af_fwrite when size is zero.
523
524        * libaudiofile/aiff.c: Check that the number of markers in a
525        MARK chunk is positive before allocating markers.
526
527        Thanks to Axel Roebel for pointing out both of these problems.
528
5292001-05-19  Michael Pruett <mpruett@sgi.com>
530
531        * libaudiofile/nist.[ch]: Checked in support for recognizing
532        NIST SPHERE files.
533
5342001-05-16  Michael Pruett <mpruett@sgi.com>
535
536        * libaudiofile/query.c: Backing out last change.  The file
537        format and instrument parameter selectors once again return
538        arrays of type 'int' rather than arrays of type 'long'.
539
540        Although the AUpv structure uses only long integers, the Audio
541        File Library's API uses 'int' and not 'long' when describing
542        file formats and instrument parameters.  Furthermore all
543        existing applications expect the affected query calls to return
544        arrays of int.
545
546        * test/query2.c: Expect arrays of int rather than arrays of
547        long when querying on file formats and instrument parameters.
548
5492001-05-09  Michael Pruett <mpruett@sgi.com>
550
551        * libaudiofile/aiffwrite.c: Fix a memory leak in WriteMARK, and
552        make WriteMARK use the afGetMark* calls rather than accessing
553        track->markers directly.
554
555        * libaudiofile/util.[ch]: Add _af_print_pvlist for debugging.
556
5572001-05-04  Michael Pruett <mpruett@sgi.com>
558
559        * libaudiofile/ircam.[ch]: Make a first pass at supporting the
560        IRCAM file format.
561
5622001-04-25  Michael Pruett <mpruett@sgi.com>
563
564        * libaudiofile/query.c: Although the documentation states that
565        certain selectors return an array of integers, the AUpv structure
566        uses only long integers.  I'm resolving the ambiguity in the
567        documentation by making such selectors return an array of long
568        integers.
569
570        This change has no impact on platforms where sizeof (int) ==
571        sizeof (long), but it makes the query system consistent on
572        platforms where the above is not the case.
573
5742001-04-23  Michael Pruett <mpruett@sgi.com>
575
576        * libaudiofile/wavewrite.c: Fixed a bug seen on 64-bit systems
577        in which WAVE files would be created with zero-length RIFF and
578        data chunks.  (Thanks to Wayne Price for bringing this bug to
579        my attention.)
580
5812001-04-19  Michael Pruett <mpruett@sgi.com>
582
583        * sfcommands/sfconvert.c: Make sfconvert use the sample rate of
584        the input file.
585
5862001-04-09  Michael Pruett <mpruett@sgi.com>
587
588        * Include <string.h> in source files which use string functions.
589        (Thanks to Michael Madore for pointing out this omission.)
590        * Fix calculation of file position for G.711 compression.
591        (Thanks to Bruce Forsberg for pointing out this bug.)
592        * configure.in: Check for int{8,16,32}_t and define them
593        appropriately if they are missing.
594
5952001-02-20  Michael Pruett <mpruett@sgi.com>
596
597        * Released version 0.2.1.
598        * Removed -release flag on library build.
599        * libaudiofile/*: Added some lint-style comments to clean up
600        some warnings pointed out by Jean-Francois Panisset.
601
6022000-12-15  Michael Pruett <mpruett@sgi.com>
603
604        * Released version 0.2.
605
6062000-11-01  Michael Pruett <mpruett@sgi.com>
607
608        * libaudiofile/*: Finished integrating the modules code.
609
6102000-10-26  Michael Pruett <mpruett@sgi.com>
611
612        * libaudiofile/raw.[ch]: Added support for raw file reading and
613        writing.
614
6152000-10-24  Michael Pruett <mpruett@sgi.com>
616
617        * libaudiofile/*: Cleaned up the Audio File Library and improved
618        error handling.
619
6202000-10-09  Michael Pruett <michael@68k.org>
621
622        * libaudiofile/wave*.[ch]: WAVE format chunks can occur in any
623        order.  Processing of WAVE chunks now acts accordingly.
624        (Thanks to Michael Krause for pointing out shortcomings in the
625        previous implementation.)
626        * libaudiofile/*.[ch]: The VFS layer doesn't handle SEEK_END
627        as a valid mode for fseek; we must use af_flength instead.
628        * Removed query from the test suite as it did not handle
629        values of AU_NULL_PVLIST returned from afQuery.  (It even
630        crashes under IRIX.)
631
6322000-10-04  Michael Pruett <michael@68k.org>
633
634        * libaudiofile/*.c: Added better error handling.
635        * libaudiofile/*.c: Added the file format unit structure,
636        updated querying accordingly.  All queries except compression
637        types are implemented.
638        * Added query and query2 to the test suite.
639
6402000-09-13  Michael Pruett <michael@68k.org>
641
642        * libaudiofile/*.c: Added support for G.711 a-law, thanks to
643        Bruce Forsberg.
644
6451999-11-20  Michael Pruett <michael@68k.org>
646
647        * libaudiofile/*.c: Cleaning up, added afOpenFD.
648
6491999-08-21  Kjartan Maraas  <kmaraas@online.no>
650
651        * */*c: Even more warning fixes - initialize vars, add 'int' as return
652        type of a function, and include headers.
653       
6541999-08-20 Elliot Lee <sopwith@redhat.com>
655        * */*.c: More warning fixes - remove unused variables, add 'int' as return type
656        of main(), and include some more header files.
657
6581999-08-18 Anders Carlsson  <anders.carlsson@tordata.se>
659
660        * Fixed compiler warnings.
661
6621999-08-16 Elliot Lee <sopwith@redhat.com>
663        * libaudiofile/af_vfs.[ch]: Virtualize file access.
664        * libaudiofile/*.[ch]: Use the new virtualized file access routines.
665
6661999-05-09  Michael Pruett  <michael@68k.org>
667
668        * bread.c, ulaw.c: If more sample frames are requested than
669        remain in the file, limit the number of sample frames that can
670        be returned.  This bug was brought to my attention by Scott
671        Heavner.
672        * test/sgi.[ch]: These files contain SGI Audio Library routines
673        used in SGI-specific test programs.
674        * test/irixread.c, test/irixtest.c, test/irixtestloop.c: These
675        programs now use the routines contained in sgi.[ch] and are more
676        robust.
677
6781999-05-23  Raja R Harinath  <harinath@cs.umn.edu>
679
680        * test/miscread.c: Include <config.h>.
681        * test/miscwrite.c: Likewise.
682        * test/writeaiff.c: Likewise.
683        * test/writenext.c: Likewise.
684        * test/writeulaw.c: Likewise.
685        * test/writewave.c: Likewise.
686         
6871999-05-09  Michael Pruett  <michael@68k.org>
688
689        * Merge in Audio File Library version 0.1.7.
690
691        * aiff.c: Fixed an obscure bug in AIFF parsing in the
692        instrument chunk parsing code.  Made AIFF parsing slightly
693        cleaner by replacing multiple-character constant comparisons
694        with memcmp and strings.
695
696        * compression.[ch]: Added support for compressed audio.
697
698        * au.c, auwrite.c, ulaw.c, g711.[ch]: Incorporated support for
699        G.711 mu-law encoding.  Currently this encoding is only available
700        for NeXT/Sun .snd/.au format files.
701
702        * audiofile.c: Virtual byte order is now set properly.
703
704        * aiff.c, audiofile.c, auwrite.c, bread.c, bwrite.c,
705        compression.c, instrument.c, loop.c, marker.c, misc.c,
706        query.c, ulaw.c: Added more error checking.
707
708        * docs/*: Documentation has been improved.
709
710        * test/*: Several simple test programs have been added as a
711        test suite.
712
713        * sfcommands/*: Fix hard-coded virtual byte order since it's
714        now set by the library.
715
716        * configure.in: Fixed platform-specific tests and detect byte
717        order at configuration time.
718
7191999-04-11  James Henstridge  <james@daa.com.au>
720
721        * audiofile.spec.in: added %{prefix}/share/aclocal/* to files
722        list for the devel package.
723
7241999-02-24  Martin Baulig  <martin@home-of-linux.org>
725
726        * configure.in (BUILD_STATIC_LIBS): New automake conditional.
727
728        * sfcommands/Makefile.am, test/Makefile.am: Only link statically
729        if we build static libraries.
730
7311999-02-22  Raja R Harinath  <harinath@cs.umn.edu>
732
733        * libaudiofile/audiofile.h (extern "C"): Remove duplicated
734        __cplusplus guards.
735
7361999-02-22  Michael Fulbright <drmike@redhat.com>
737        * Fixed spec file to be autogenerated
738
7391999-02-22  Michael Pruett  <michael@68k.org>
740            Elliot Lee  <sopwith@redhat.com>
741
742        * */*: Merge in audiofile 0.1.6.
743       
7441999-01-20  Jeff Garzik  <jgarzik@pobox.com>
745
746        * libaudiofile/wave.c:
747        Fix newly-uncovered bug caught by Mike Bond <mike.bond@template.com>.
748
7491999-01-17  Jeff Garzik  <jgarzik@pobox.com>
750
751        * aiff.c, wave.c:
752        Replaced some [int == '1234'] comparisons with memcmp.
753
754        * aiff.h:
755        Replaced large enum value with 'const unsigned long' instead, to
756        silence ANSI C compiler warning.
757
758        * ulaw.c:
759        Converted function declarations from K&R to ANSI C, silencing a
760        (big surprise) ANSI C compiler warning.
761
762        * libaudiofile/Makefile.am:
763        Remove non-existent instrument.h, loop.h, marker.h
764
765        * sfcommands/Makefile.am:
766        Add README to EXTRA_DIST.
767
768        * libaudiofile/aiff.c, libaudiofile/aiffwrite.c,
769          libaudiofile/audiofile.c, libaudiofile/auwrite.c,
770          libaudiofile/bread.c, libaudiofile/bwrite.c,
771          libaudiofile/byteorder.c, libaudiofile/byteorder.h,
772          libaudiofile/extended.c, libaudiofile/extended.h,
773          libaudiofile/instrument.c, libaudiofile/loop.c,
774          libaudiofile/marker.c, libaudiofile/misc.c,
775          libaudiofile/swapblock.c, libaudiofile/swapblock.h,
776          libaudiofile/ulaw.c, libaudiofile/ulaw.h:
777        More namespace cleanups.  Made a few functions static, several
778        more renamed to add "_af_" prefix.
779
780        * libaudiofile/instrument.h, libaudiofile/loop.h,
781          libaudiofile/marker.h:
782        Removed because they only contained prototypes of static funcs,
783        and were included only by their implementation modules.
784
7851999-01-16  Jeff Garzik  <jgarzik@pobox.com>
786
787        * test/transparency.c:
788        Change to unsigned short to avoid Sun CC warning.
789
790        * libaudiofile/swapblock.c:
791        Changed const long to a #define, Sun CC choked on the const.
792        The definition of u_int16_t may be interfering with array
793        definitions like this one, b/c u_int16_t is a macro instead of a
794        typedef on Solaris platforms.
795
796        * acconfig.h:
797        Protected against multiple inclusion, using @TOP@ and @BOTTOM@.
798
799        * libaudiofile/afinternal.h:
800        Include config.h for u_int8_t and friends.
801
802        * libaudiofile/audiofile.h, libaudiofile/aupvlist.h:
803        Mark as extern 'c' if C++ compile.
804
805        * libaudiofile/aiff.c, libaudiofile/aiffwrite.c,
806          libaudiofile/au.c, libaudiofile/audiofile.c,
807          libaudiofile/auwrite.c, libaudiofile/bread.c,
808          libaudiofile/bwrite.c, libaudiofile/byteorder.c,
809          libaudiofile/swapblock.c, libaudiofile/util.c,
810          libaudiofile/wave.c, libaudiofile/wavewrite.c,
811          test/miscread.c, test/miscwrite.c:
812        s/#if HAVE_CONFIG_H/#ifdef HAVE_CONFIG_H/
813
8141999-01-16  Jeff Garzik  <jgarzik@pobox.com>
815
816        * libaudiofile/afinternal.h, libaudiofile/aiff.c,
817          libaudiofile/aiffwrite.c, libaudiofile/au.c,
818          libaudiofile/audiofile.c, libaudiofile/auwrite.c,
819          libaudiofile/bread.c, libaudiofile/bwrite.c,
820          libaudiofile/error.c, libaudiofile/error.h,
821          libaudiofile/instrument.c, libaudiofile/loop.c,
822          libaudiofile/marker.c, libaudiofile/misc.c,
823          libaudiofile/util.c, libaudiofile/util.h,
824          libaudiofile/wave.c, libaudiofile/wavewrite.c:
825        Major namespace cleanups:
826        Made several functions static as warranted.
827        Renamed a some exported private functions to _af_funcname
828        to prevent collision.
829
8301999-01-16  Jeff Garzik  <jgarzik@pobox.com>
831
832        * autogen.sh configure.in acconfig.h:
833        Added AM_CONFIG_HEADER and requisite support for it.
834
835        * libaudiofile/aiff.c libaudiofile/aiffwrite.c libaudiofile/au.c
836          libaudiofile/audiofile.c libaudiofile/auwrite.c
837          libaudiofile/bread.c libaudiofile/bwrite.c
838          libaudiofile/byteorder.c libaudiofile/swapblock.c
839          libaudiofile/util.c libaudiofile/wave.c
840          libaudiofile/wavewrite.c test/miscread.c test/miscwrite.c:
841        Conditionally include config.h.
842
8431999-01-16  Raja R Harinath  <harinath@cs.umn.edu>
844
845        * libaudiofile/error.c (afSetErrorHandler): Provide a better
846        implementation which agrees with the semantics of the variable
847        names, and usual "set_error_handler" type of functions.  (Modifies
848        a "fix" in commit: "1999-01-16  Jeff Garzik  <jgarzik@pobox.com>").
849
8501999-01-16  Jeff Garzik  <jgarzik@pobox.com>
851
852        * libaudiofile/aes.c, libaudiofile/aiff.c, libaudiofile/aiffwrite.c,
853          libaudiofile/au.c, libaudiofile/audiofile.c, libaudiofile/aupv.c,
854          libaudiofile/auwrite.c, libaudiofile/bread.c, libaudiofile/bwrite.c,
855          libaudiofile/error.c, libaudiofile/loop.c, libaudiofile/misc.c,
856          libaudiofile/swapblock.c, libaudiofile/util.c, libaudiofile/wave.c,
857          libaudiofile/wavewrite.c, sfcommands/printinfo.c,
858          sfcommands/sfconvert.c, sfcommands/sfinfo.c:
859        Corrected missing-default-case, unused-var, no-return-value,
860        implicit-declaration, other gcc warnings.  Fixing those warnings
861        also fixed many bugs.
862
863        * test/adddcoffset.c, test/copy.c, test/linuxtest.c, test/miscread.c,
864          test/miscwrite.c, test/results.c, test/transparency.c:
865        Changed main() declaration to standard one, fixed warnings.
866
8671999-01-01  Jeff Garzik  <jgarzik@pobox.com>
868
869        * libaudiofile/audiofile.h:
870        Corrected comma-in-final-element warnings.
871
8721998-12-10  Jeff Garzik  <jgarzik@pobox.com>
873
874        * tests/miscwrite.c:
875        include string.h to silence warning about strlen
876
877Tue Dec  8 21:38:08 PST 1998 Manish Singh <yosh@gimp.org>
878
879        * auto* fixes for make dist
880
8811998-12-07  Jeff Garzik  <jgarzik@pobox.com>
882
883        * LICENSE:
884        Removed.  Automake automatically adds the file COPYING to the
885        distribution, so this file is redundant.
886
8871998-12-01  Yo Ric Dude  <ricdude@ix.netcom.com>
888
889        * libaudiofile/Makefile.am, au.c, audiofile.c, audiofile.h,
890        bread.c, teach libaudiofile how to handle u-law encoded .au
891        files. NOTE: only added routines for reading files.
892
893        * libaudiofile/ulaw.c, libaudiofile/ulaw.h: u-law algorithms from
894        http://www.itl.atr.co.jp/comp.speech/Section2/Q2.7.html.
895
8961998-10-21 Bertrand Guiheneuf <Bertrand.Guiheneuf@inria.fr>
897        * added an audiofile-config and an audiofile.m4
898       
8991998-10-17  Raja R Harinath  <harinath@cs.umn.edu>
900
901        * configure.in (u_int_{8,16,32}_t): Define these to some "natural"
902        C types if the typedefs are missing.
903
904        * libaudiofile/Makefile.am (include_HEADERS):
905        Remove spurious empty line.
906
907Wed Oct  7 02:13:34 PDT 1998 Manish Singh <yosh@gimp.org>
908
909        * auto* stuff fixes
910
911Wed Oct  7 02:08:30 CDT 1998   Frank Belew   <frb@umr.edu>
912       
913        * added support for automake, and libtool
914
9151998-07-16  Michael Pruett  <michael@68k.org>
916
917        * Changes for the Audio File Library version 0.1.4.
918
919        AES data functions are now implemented.  They're only effective
920        whenusing the AIFF/AIFF-C formats.
921
922        Miscellaneous data functions are now implemented for the
923        AIFF/AIFF-C file formats.
924
925        The Audio File Library now uses GNU autoconf.
926
927        The Audio File Library now builds shared libraries.
928
929        Some rudimentary documentation is now included.
930
9311998-06-22  Michael Pruett  <michael@68k.org>
932
933        * Changes for the Audio File Library version 0.1.3
934
935        The Linux-specific test programs should work on all Linux
936        platforms which support audio.  (I believe this includes just
937        Linux/i386, Linux/PowerPC, and Linux/Alpha.  I may be wrong.)
938
939        The function afReadFrames now returns the proper value.
940
941        The afGetInstParams, afSetInstParams, afGetInstParamLong, and
942        afSetInstParamLong calls are now implemented to the same extent
943        that SGI's versions are.
944
945        Instrument, marker, and loop data functions are now fully
946        implemented.  I'll eventually get around to the miscellaneous data
947        functions.
948
949        The AUpvlist functions have been implemented and tested.  The
950        afQuery calls are on my list of things to implement.
951
952        A few minor bugs have been fixed.
Note: See TracBrowser for help on using the repository browser.