1 2006-05-22 Sven Panne <sven.panne@aedion.de>
3 * Prepared release candidate 1 for 1.1.0, tag is "freealut_1_1_0_RC1".
5 * NEWS: Added news for 1.1.0.
7 2006-05-11 Sven Panne <sven.panne@aedion.de>
9 * README, admin/VisualStudio6/alut/alut.dsp,
10 admin/VisualStudio6/hello_world/hello_world.dsp,
11 admin/VisualStudio6/playfile/playfile.dsp,
12 admin/VisualStudioDotNET/alut/alut.vcproj,
13 admin/VisualStudioDotNET/hello_world/hello_world.vcproj,
14 admin/VisualStudioDotNET/playfile/playfile.vcproj: Changed the paths to
15 the headers and the library to conform to the default of the current
16 OpenAL SDK installer from Creative.
18 * src/alutWaveform.c(getWaveformFunction): To avoid warnings on VC6, add
19 some redundant '&' operators.
21 * include/AL/alut.h: Added some fragile logic to find the right path to
24 2006-04-12 Sven Panne <sven.panne@aedion.de>
26 * configure.ac: To guarantee version consistency, generate .spec
29 * admin/RPM/.cvsignore, admin/RPM/freealut.spec.in: Added.
31 * admin/RPM/freealut.spec: Removed.
33 * CMakeLists.txt, admin/VisualStudio6/alut/alut.dsp,
34 admin/VisualStudioDotNET/alut/alut.vcproj, admin/autotools/.indent.pro,
35 configure.ac, include/AL/alut.h, src/Makefile.am, src/alutBufferData.c,
36 src/alutInternal.h, src/alutLoader.c, src/alutUtil.c,
37 src/alutWaveform.c: Implemented alutLoadMemoryHelloWorld and
38 alutLoadMemoryWaveform. Refactored things internally a bit, mainly by
39 making an InputStream the central kind of sound data source. Introduced
40 the OutputStream type for generating built-in sounds. Bumped the package
41 version to 1.1.0 and the library version to 1:0:1 (i.e. a backwards
42 compatible version, only with new features). Added --enable-efence
45 * src/alutOutputStream.c: Added.
47 * doc/alut.html: Added a few missing ALUT_ERROR_OUT_OF_MEMORY error
48 conditions in the descriptions of the loaders. Added
49 alutLoadMemoryHelloWorld and alutLoadMemoryWaveform. Bumped spec version
52 * doc/alut.css: Added a remark how to make the headers stand out a
55 2006-04-10 Sven Panne <sven.panne@aedion.de>
57 * doc/alut.html: Fixed foo-config documentation. Minor cleanup.
59 2006-03-05 Prakash Punnoor <prakash@punnoor.de>
61 * admin/CMakeModules/FindSleepFunction.cmake: sync to OpenAL version
63 * Makefile.am: add CMake Modules to EXTRA_DIST
65 * CMakeLists.txt: make more windows friendly; variables
66 OPENAL_INCLUDE_DIR and OPENAL_LIB_DIR introduced
68 2006-02-13 Sven Panne <sven.panne@aedion.de>
70 * configure.ac, src/Makefile.am: Added version info.
72 2006-02-16 Prakash Punnoor <prakash@punnoor.de>
74 * CMakeLists.txt: don't check for unistd.h twice
76 2006-02-13 Prakash Punnoor <prakash@punnoor.de>
78 * CMakeLists.txt: forgot to delete old visibility macro; use OpenAL
79 module for sleep function detection; define _POSIX_C_SOURCE and add
80 comments from configure.ac
82 2006-02-13 Sven Panne <sven.panne@aedion.de>
84 * configure.ac: We might need nanosleep, which is a POSIX IEEE Std
85 1003.1b-1993 feature, so tell our system headers about that. Fixes the
86 build e.g. on an old SuSE 8.2 distro.
88 * NEWS: Fixed release date.
90 * doc/alut.html: Fixed broken link.
92 2006-02-11 Sven Panne <sven.panne@aedion.de>
94 * Released Version 1.0.1, CVS tag is "freealut_1_0_1".
96 2006-02-07 Prakash Punnoor <prakash@punnoor.de>
98 * CMakeLists.txt: Define __NO_CTYPE
100 2006-02-07 Sven Panne <sven.panne@aedion.de>
102 * admin/RPM/freealut.spec: Bumped to 1.0.1, too. We should really
105 * NEWS, src/alutUtil.c: When nanosleep returns early due to a signal,
106 continue sleeping, otherwise return AL_FALSE from alutSleep.
108 * NEWS: Prepared for 1.0.1 release, probably more to come.
110 * configure.ac: Use AC_DEFINE instead of specifying preprocessor defines
111 by hand. Added a tiny comment.
113 2006-02-06 Prakash Punnoor <prakash@punnoor.de>
115 * CMakeLists.txt: Use modules written for OpenAL, fixing various issues;
118 * admin/CMakeModules/FindCompilerAttribute.cmake,
119 admin/CMakeModules/FindCompilerFlagsSet.cmake,
120 admin/CMakeModules/FindCompilerVisibility.cmake,
121 admin/CMakeModules/admin/CMakeModules/FindConfigHelper.cmake,
122 admin/CMakeModules/FindSleepFunction.cmake: added
124 * configure.ac: Added symbol visibility support.
126 2006-02-06 Sven Panne <sven.panne@aedion.de>
128 * admin/pkgconfig/Makefile.am: Use a more portable way of defining
129 pkgconfdir (by Andreas Bierfert).
131 2006-02-04 Sven Panne <sven.panne@aedion.de>
133 * include/AL/alut.h: Use visibility attribute only when building ALUT
136 * configure.ac: Fixed CR/LF vs. LF issue in configure on Windows. Bumped
139 2005-12-17 Prakash Punnoor <prakash@punnoor.de>
141 * CMakeLists.txt, include/AL/alut.h: GCC visibility support.
143 2005-12-16 Sven Panne <sven.panne@aedion.de>
145 * Released Version 1.0.0, CVS tag is "freealut_1_0_0".
147 * admin/pkgconfig/freealut-config.in, admin/pkgconfig/freealut.pc.in:
148 Fixed copy-n-paste typo. Somehow this fix didn't make into RC2...
150 2005-12-15 Sven Panne <sven.panne@aedion.de>
152 * Makefile.am, admin/RPM/freealut.spec, configure.ac: Build and install
153 freealut-config and a pkg-config description.
155 * admin/.cvsignore, admin/Makefile.am, admin/pkgconfig/.cvsignore,
156 admin/pkgconfig/Makefile.am, admin/pkgconfig/freealut-config.in,
157 admin/pkgconfig/freealut.pc.in: Added.
159 2005-12-15 Prakash Punnoor <prakash@punnoor.de>
161 * README: CMake cache clearing typos
163 * CMakeLists.txt: also make freealut-config and freealut.pc; sync
164 VERSION to configure.ac
166 2005-12-12 Prakash Punnoor <prakash@punnoor.de>
168 * README: CMake cache clearing
170 2005-12-10 Sven Panne <sven.panne@aedion.de>
172 * src/alutInit.c (alutExit): Do a full sanity check only when ALUT
173 itself owns the context, an external context might have been destroyed
174 before alutExit is called.
176 2005-12-05 Prakash Punnoor <prakash@punnoor.de>
178 * Makefile.am: add CMakeLists.txt to EXTRA_DIST
180 * README: add CMake use instructions
182 2005-12-04 Prakash Punnoor <prakash@punnoor.de>
184 * CMakeLists.txt: add -DNDEBUG
186 * AUTHORS: add myself
188 2005-12-03 Sven Panne <sven.panne@aedion.de>
190 * configure.ac, include/AL/alut.h, src/alutBufferData.c,
191 src/alutInputStream.c, src/alutLoader.c src/alutWaveform.c: Avoid
192 generating a depedency on GLIBC 2.3. Added --enable-more-warnings
193 configure flag and fixed the resulting warnings.
195 2005-12-03 Prakash Punnoor <prakash@punnoor.de>
197 * CMakeLists.txt: made pretty feature-complete
199 2005-12-02 Prakash Punnoor <prakash@punnoor.de>
201 * src/alutCodec.c, src/alutLoader.c: fix warnings
203 * CMakeLists.txt: added; doesn't build examples/tests yet
205 2005-11-28 Sven Panne <sven.panne@aedion.de>
207 * test_suite\Makefile.am: Distribute example sounds, too.
209 * admin/RPM/freealut.spec: Updated build dependencies.
211 2005-11-27 Sven Panne <sven.panne@aedion.de>
213 * src/alutCodec.c, src/alutLoader.c, src/alutWaveform.c: Re-indented.
215 * Makefile.am, README, configure.ac: Rearranged the admin subdirectory a
216 little bit, making it hopefully clearer which files belong to which
219 * admin/RPM/freealut.spec, admin/autotools/.cvsignore,
220 admin/autotools/.indent.pro, admin/autotools/m4/alut_c__attribute.m4,
221 admin/autotools/m4/alut_check_cflags_wall.m4,
222 admin/autotools/m4/alut_check_flag.m4,
223 admin/autotools/m4/alut_check_func.m4,
224 admin/autotools/m4/alut_eval_stderr.m4: Added.
226 * admin/.cvsignore, admin/.indent.pro, admin/freealut.spec,
227 admin/m4/alut_c__attribute.m4, admin/m4/alut_check_cflags_wall.m4,
228 admin/m4/alut_check_flag.m4, admin/m4/alut_check_func.m4,
229 admin/m4/alut_eval_stderr.m4: Removed.
231 * src/alutBufferData.c, src/alutCodec.c, src/alutInputStream.c,
232 src/alutInternal.h, src/alutLoader.c, src/alutWaveform.c: Consistently
233 use size_t for sizes internally, because ALsizei is signed and we don't
234 want to lose a bit (2GB vs. 4GB limits).
236 * admin/VisualStudioDotNET/.cvsignore,
237 admin/VisualStudioDotNET/alut.sln,
238 admin/VisualStudioDotNET/alut/.cvsignore,
239 admin/VisualStudioDotNET/alut/alut.vcproj,
240 admin/VisualStudioDotNET/hello_world/.cvsignore,
241 admin/VisualStudioDotNET/hello_world/hello_world.vcproj,
242 admin/VisualStudioDotNET/playfile/.cvsignore,
243 admin/VisualStudioDotNET/playfile/playfile.vcproj: Added. The structure
244 is now similar to the Visual Studio 6 directory and the
245 solution/projects are now usable with older versions of Visual Studio
248 * admin/alut.sln, admin/alut.vcproj, admin/hello_world.vcproj,
249 admin/playfile.vcproj: Removed.
251 * admin/VisualStudio6/.cvsignore, admin/VisualStudio6/alut.dsw,
252 admin/VisualStudio6/alut/.cvsignore, admin/VisualStudio6/alut/alut.dsp,
253 admin/VisualStudio6/hello_world/.cvsignore,
254 admin/VisualStudio6/hello_world/hello_world.dsp,
255 admin/VisualStudio6/playfile/.cvsignore,
256 admin/VisualStudio6/playfile/playfile.dsp: Added Visual Studio 6
257 workspace and projects.
259 * src/alutCodec.c: Silence a useless Visual C 6 warning.
261 * src/alutInternal.h: Visual C 6's basetsd.h has no definitions for
262 sized integral types, so let's define them by hand.
264 2005-11-25 Sven Panne <sven.panne@aedion.de>
266 * admin/alut.vcproj: Use "Multi-threaded DLL (/MD)" and "Multi-threaded
267 Debug DLL (/MDd)" as the runtime library, bringing down the size of
268 alut.dll to something sensible.
270 * examples/playfile.c, test_suite/test_fileloader.c,
271 test_suite/test_memoryloader.c, test_suite/test_retrostuff.c: Changed
272 literal ALfloat constants from 0.1 to 0.1f, silencing Visual C.
274 * configure.ac: Tell the system headers that we might use POSIX/XPG
275 entitites like struct timespec or random(), which are not in the ANSI
276 standard. Do not define any user variables like CFLAGS. Split the old
277 configure flag --enable-warnings into a pair --enable-warnings and
278 --enable-werror. Use a (modified) macro from the autoconf archive to
279 detect strict warning flags.
281 * admin/m4/alut_check_cflags_wall.m4: Added. It is a modified version of
282 ax_cflags_warn_all_ansi.m4 from the autoconf archive, updated to conform
283 to more recent autoconf standards.
285 2005-11-21 Sven Panne <sven.panne@aedion.de>
287 * configure.ac: Removed --enable-debug option, it was unused.
289 2005-11-19 Sven Panne <sven.panne@aedion.de>
291 * doc/alut.html: Added a remark about LD_PRELOAD to use old
292 binaries with the new ALUT.
294 2005-11-17 Sven Panne <sven.panne@aedion.de>
296 * src/alutInit.c: Fixed alutInitWithoutContext initialisation
299 2005-10-29 Sven Panne <sven.panne@aedion.de>
301 * examples/hello_world.c, examples/playfile.c ,include/AL/alut.h,
302 src/alutUtil.c, test_suite/test_fileloader.c,
303 test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
304 test_suite/test_waveforms.c: Synched implementation with latest spec
307 * doc/alut.html: As discussed on the mailing list, sleeping is now done
308 via an ALfloat. This is more consinstent with physical reality and
309 alutCreateBufferWaveform. Note that alutSleep can actually fail now,
310 something which the former alutMicroSleep never did.
312 * src/alutLoader.c: Re-indented.
314 2005-10-24 Sven Panne <sven.panne@aedion.de>
316 * src/alutLoader.c, src/alutWaveform.c: Added a few harmless casts where
317 Visual Studio was complaining about a possible loss of precision.
319 * admin/alut.vcproj: Added the recently introduced source files.
321 2005-10-10 Sven Panne <sven.panne@aedion.de>
323 * examples/playfile.c: Added missing alutExit call.
325 2005-10-21 Sven Panne <sven.panne@aedion.de>
327 * admin/freealut.spec: Added. Note that the neededforbuild and
328 BuildRequires info is not yet correct, need to figure out how to compute
331 * Makefile.am: Unbreak "make dist". Added documentation.
333 2005-10-05 Sven Panne <sven.panne@aedion.de>
335 * src/Makefile.am, src/alutInputStream.c, src/alutInternal.h,
336 src/alutLoader.c: Factored out codecs. Simplified stream interface.
338 * src/alutCodec.c: Added.
340 * src/alutBufferData.c, src/alutInputStream.c, src/alutInternal.h,
341 src/alutLoader.c, src/alutUtil.c, src/alutWaveform.c: More heavy
342 refactoring, mainly making the buffer data an abstract data type.
344 * test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
345 test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
346 test_suite/test_version.c, test_suite/test_waveforms.c: Cleaned up and
347 fixed the test suite (always call alutExit before exiting, test for
348 AL_NONE instead of 0, no repetitions, more error checks, return
349 EXIT_FAILURE on failure).
351 * src/alutBufferData.c, src/alutInputStream.c: Forgot to re-indent
354 2005-09-30 Sven Panne <sven.panne@aedion.de>
356 * admin/.indent.pro,examples/playfile.c, include/AL/alut.h,
357 src/Makefile.am, src/alutInit.c, src/alutInternal.h, src/alutLoader.c,
358 src/alutWaveform.c: Some heavy refactoring of the input streams and
359 buffer data types, we are moving towards common OO techniques here. Not
360 completely finished, but much better than before.
362 * src/alutBufferData.c, src/alutInputStream.c: Added.
364 * src/alutWaveform.c: Instead of the 44.1kHz 16bit PCM data, use
365 11.025kHz 8-bit ISDN u-law for the "Hello, world!" sound, saving 56kB in
366 the resulting ALUT library.
368 2005-09-28 Sven Panne <sven.panne@aedion.de>
370 * examples/playfile.c, include/AL/alut.h, src/alutError.c,
371 src/alutInit.c, src/alutLoader.c: Adapted to spec changes.
373 * doc/alut.html: Updated list of error tokens. Replaced
374 alutEnumerateSupportedFileTypes with alutGetMIMETypes. More reformatting
377 2005-09-27 Sven Panne <sven.panne@aedion.de>
379 * include/AL/alut.h, src/alutError.c, src/alutInit.c,
380 src/alutInternal.h, src/alutLoader.c, src/alutWaveform.c: Adapted to
381 spec changes. Added a few missing error checks. Improved SampleAttribs a
384 * doc/alut.css, doc/alut.html: Make descriptions of API entries more
385 formal, following the usual manual page style (not finished yet). Added
386 some clarifications. Changed the set of possible ALUT errors.
388 2005-09-26 Sven Panne <sven.panne@aedion.de>
390 * doc/alut.html, include/AL/alut.h, src/alutError.c, src/alutInit.c,
391 src/alutInternal.h, src/alutLoader.c, src/alutUtil.c: Clarified and
392 changed the ALUT error handling and reporting after the corresponding
393 discussion on the mailing list.
395 2005-09-23 Sven Panne <sven.panne@aedion.de>
397 * admin/.cvsignore: Ignore mkinstalldirs.
399 * src/alutLoader.c: Make the endianess test dynamic.
401 2005-09-21 Sven Panne <sven.panne@aedion.de>
403 * src/alutLoader.c: Removed evil byte-swapping. Fixed WAV loading
404 (still not 100% bullet-proof, I think). Cleanup.
406 * admin/.indent.pro: Added new typedef.
408 * src/alutInternal.h: Handle 32bit sized types on Windows.
410 2005-09-18 Sven Panne <sven.panne@aedion.de>
412 * src/alutInit.c, src/alutLoader.c: Added a few error checks. Made
413 testing for errors more consistent, it should be of the form:
416 { _alutSetError(<error>); <cleanup> return <whatever>; }
418 * admin/.indent.pro, examples/.cvsignore, examples/Makefile.am,
419 src/alutLoader.c: Merged and heavily modified Erik Hofman's fixes for
420 AU/WAV loaders. Some more cleanup + minor fixes.
422 * examples/playfile.c: Added.
424 2005-09-17 Sven Panne <sven.panne@aedion.de>
426 * configure.ac, include/AL/alut.h, test_suite/Makefile.am: Flag
427 deprecated functions if possible (VisualC++ .NET and GCC >= 3.1.1), but
428 be careful to avoid those warnings in our test suite.
430 * admin/m4/alut_check_flag.m4, admin/m4/alut_eval_stderr.m4: Added.
432 * configure.ac, admin/alut.vcproj, include/AL/alut.h: Use AL_ALUT_H
433 instead of _AL_ALUT_H, macros starting with "_" are reserved by the C
434 standard. For the same reason, rename _ALUTLIB to ALUT_BUILD_LIBRARY.
436 * README: Added building instructions using VisualStudio.
438 * admin/.cvsignore: Ignore files generated by VisualStudio.
440 * AUTHORS: Added Erik Hofman. Small reformatting.
442 * alut.sln, alut.vcproj, hello_world.vcproj: Added. I have access to
443 VisualStudio .NET only, so I can't maintain project files for older
444 versions. Note that the OpenAL SDK is assumed to live under
445 C:\OpenALSDK, not nice to hardwire this, but I don't see another
446 solution currently. Help would be appreciated.
448 * alut.dsp, alut.dsw, hello_world.dsp: Removed.
450 * configure.ac, src/alutInternal.h, src/alutLoader.c,
451 src/alutWaveform.c: As usual, Microsoft chooses to ignore standards,
452 this time C99: VisualC doesn't have stdint.h, so hack around this
455 * Makefile.am: Moved m4 subdirectory to admin where it belongs.
457 * admin/m4/alut_c__attribute.m4, admin/m4/alut_check_func.m4: Added.
459 * m4/alut_c__attribute.m4, m4/alut_check_func.m4: Removed.
461 * src/Makefile.am: Fixed headers.
463 * .cvsignore: Ignore distribution archives.
465 2005-09-14 Sven Panne <sven.panne@aedion.de>
467 * src/alutError.c, src/alutInit.c, src/alutLoader.c, src/alutUtil.c,
468 src/alutVersion.c, src/alutWaveform.c: Use alutInternal.h.
470 * src/alutInternal.h: Added. This file should be #included as the first
471 header in all *.c files.
473 * src/alutError.h, src/alutInit.h: Removed
475 * Makefile.am, examples/Makefile.am, src/Makefile.am,
476 test_suite/Makefile.am: Automatically build examples and test suite
477 now. Moved local autoconf macros to a separate directory. Added a few
480 * m4/alut_c__attribute.m4, m4/alut_check_func.m4: Added.
482 * acinclude.m4: Removed
484 2005-09-13 Sven Panne <sven.panne@aedion.de>
486 * configure.ac, src/alutLoader.c, src/alutWaveform.c: A few
487 compatibility hacks to make it compile on Linux, MinGW/MSYS and Cygwin.
489 * acinclude.m4: Added.
491 2005-09-12 Sven Panne <sven.panne@aedion.de>
493 * admin/.cvsignore: Improved ignorance.
495 * src/Makefile.am: Cleaned up and fixed include paths. Added
496 -no-undefined to libtool linker flags to prepare for building a Windows
497 DLL. Added some comments.
499 2005-09-11 Sven Panne <sven.panne@aedion.de>
501 * configure.ac, src/alutWaveform.c: Cleaned up alutCreateBufferWaveform.
503 * configure.ac, src/alutInit.c: Header cleanup.
505 * src/alutUtil.c: Fixed braino in alutMicroSleep using nanosleep.
507 * src/alutInit.c: _alutSanityCheck doesn't terminate the program in case
508 of an error anymore, it simply sets the error condition. Some additional
511 * src/alutError.c: Print a message to stderr when an error condition is
512 set and the ALUT_DEBUG environment variable is defined.
514 * src/Makefile.am: Include src/helloworld.wav and src/README in
517 * src/README: A few additions and corrections.
519 * doc/alut.html: A few clarifications and a little reformatting.
521 2005-09-10 Sven Panne <sven.panne@aedion.de>
523 * configure.ac, doc/alut.html, examples/hello_world.c,
524 include/AL/alut.h, src/Makefile.am, src/alutUtil.c,
525 test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
526 test_suite/test_retrostuff.c, test_suite/test_waveforms.c: Added
527 alutMicroSleep and use it.
529 * include/AL/alut.h: Renamed ALUTAPI/ALUTAPIENTRY to
530 ALUT_API/ALUT_APIENTRY, so we only #define macros with the ALUT_ prefix.
532 * doc/alut.html, include/AL/alut.h, src/alutLoader.c,
533 src/alutWaveform.c, test_suite/test_retrostuff.c: Frequencies are
536 * doc/alut.html: Mention openal-config and pkg-config. Reformatted a
539 * doc/alut.css: The body should have the same font-family as the
542 2005-09-09 Sven Panne <sven.panne@aedion.de>
544 * src/Makefile.am: Added libm dependencies.
546 * configure.ac, include/AL/alut.h, admin/alut.dsp: Consistently use
547 _ALUTLIB when building the ALUT DLL.
549 * configure.ac, include/Makefile.am: Install header directly from
550 include subdirectory, it is more logical this way.
552 * include/AL/Makefile.am: Removed.
554 * configure.ac, src/Makefile.am, examples/Makefile.am,
555 test_suite/Makefile.am: Hardwire the library name, that kind of
556 flexibility is not needed as it would break the ABI.
558 * Makefile.am: Added rule to update libtool.
560 * configure.ac: Don't change the default prefix (principle of least
561 surprise). The alut library should be able to be used by dlopen, it
562 doesn't use dlopen (yet). Removed obscure includedir adjustment, it is
563 not needed. Removed dead code. Improved logic to choose OpenAL library
564 (still not completely right).
566 2005-09-08 Sven Panne <sven.panne@aedion.de>
568 * src/Makefile.am: Distribute internal headers, too.
570 * Makefile.am: Include the Windows stuff in the distribution.
572 * autogen.sh: Simply us autoreconf, as recommended in the
573 automake/autoconf documentation.
575 * README: Fixed typo.
577 * .cvsignore, configure.ac, Makefile.am: Put all administrative files
578 into admin subdirectory.
580 * .indent.pro, INSTALL, install-sh, mkinstalldirs, win_build/alut.dsp,
581 win_build/alut.dsw, win_build/hello_world.dsp: Removed.
583 * admin/alut.dsp, admin/alut.dsw, admin/.cvsignore,
584 admin/hello_world.dsp, admin/.indent.pro: Added.
586 * README: Synched with reality.
588 2005-09-07 Sven Panne <sven.panne@aedion.de>
590 * autogen.sh: Use -Wall for automake to catch some buglets, deprecated
593 2005-09-03 Sven Panne <sven.panne@aedion.de>
595 * src/alutLoader.c: Merged patches for AU format from Erik Hofman
596 <erik@ehofman.com>, including some changes to the original patch.
598 2005-09-01 Sven Panne <sven.panne@aedion.de>
600 * doc/alut.html, include/AL/alut.h, src/alutError.c, src/alutInit.c,
601 src/alutLoader.c, src/alutVersion.c, src/alutWaveform.c: Moved internal
602 function prototypes out of the public header. Fixed function prototypes,
603 i.e. foo() (C++) vs. foo(void) (C).
605 * src/alutError.h, src/alutInit.h: Added.
607 * .indent.pro, src/alutInit.c, src/alutLoader.c, src/alutWaveform.c,
608 test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
609 test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
610 test_suite/test_version.c, test_suite/test_waveforms.c: Don't use TABs.
612 * test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
613 test_suite/test_retrostuff.c, test_suite/test_version.c,
614 test_suite/test_waveforms.c: Hopefully make the examples compile on
615 WinDoze. Play sounds only a finite number of times, which is better for
618 * src/alutError.c, src/alutInit.c, src/alutLoader.c, src/alutVersion.c,
619 src/alutWaveform.c, test_suite/test_errorstuff.c,
620 test_suite/test_fileloader.c, test_suite/test_memoryloader.c,
621 test_suite/test_retrostuff.c, test_suite/test_version.c,
622 test_suite/test_waveforms.c: Reformatted conforming to GNU
623 standards. Please keep it that way...
625 * Makefile.am: Added a target "permissions" to fix the broken
626 permissions after a checkout. Added a target "indent" to automagically
627 indent all C sources and headers according to GNU standards.
629 * .indent.pro: Added.
631 * doc/alut.html, include/AL/alut.h, src/alutError.c, src/alutInit.c,
632 src/alutLoader.c, test_suite/test_memoryloader.c,
633 test_suite/test_retrostuff.c: A bunch of API cleanups:
635 Changed the first parameter of alutInit and alutInitWithoutContext to
636 int*, not ALint*. argc is an int, after all.
638 Changed return type of alutGetError to ALenum, this is more consistent
641 Changed the argument of alutGetErrorString to ALenum for the same
644 Changed the first parameter of alutLoadMemoryFromFileImage and
645 alutCreateBufferFromFileImage to "const ALvoid*", this is more
646 convenient and more consistent with alBufferData.
648 Changed the first parameter of alutLoadWAVFile and alutLoadWAVMemory
649 back to ALbyte*, like it was before.
651 Changed the frequency parameter of alutLoadMemoryFromFile and
652 alutLoadMemoryFromFileImage to an ALuint*, this is more consistent with
653 the way AL handles frequencies.
655 Changed the return type of alutLoadMemoryFromFile and
656 alutLoadMemoryFromFileImage to an ALvoid* for more consistency.
658 * doc/alut.html: Added myself. Fixed a few typos and synched examples
659 with actual sources. Use code formatting conforming to the GNU coding
662 * AUTHORS: Added myself.
664 * doc/alut.html: Converted spec to XHTML + CSS, no changes to the
665 content itself. This is a first step towards using DocBook, which is far
666 more flexible regarding the possible output formats
667 (XHTML, PDF, PS, ...).
669 * doc/alut.css: Added.
671 * doc/noise.gif: Removed.
673 * include/AL/alut.h: Synched platform-specific parts with the AL/ALC
674 headers. Reformatted according to GNU standards.
676 * Makefile.am, examples/Makefile.am, src/Makefile.am,
677 test_suite/Makefile.am: Do not hardwire any obscure paths into the build
678 process, the normal way of using headers/libraries in non-standard
679 places is to set CPPFLAGS/LDFLAGS when configuring and building.
681 * autogen.sh: Small cleanup: Be a good *nix citizen and be quiet when
682 everything works. Furthermore, terminate immediately when a tool fails.
684 2005-09-01 Steve Baker <sjbaker1@airmail.net>
686 * examples/Makefile.am, examples/hello_world.c, include/AL/alut.h,
687 src/alutLoader.c, src/alutWaveform.c, test_suite/Makefile.am:
689 1) Replaced '//' C++ style comments with /*...*/ style for portability.
691 2) According to the OpenAL headers, the third argument of alGetSourcei
692 should be ALint - not ALuint. So 'hello_world.c' wouldn't
695 3) It's a bad idea to sit in a tight loop doing nothing but
696 alGetSourcei. On some OS's, this could lock out any other AL threads -
697 with disasterous consequences.
699 Rather than get into all that complexity in a 'Hello World' example, I
700 elected to simply sleep for plenty of time.
702 However, I did fixup the 'sleep(seconds)' versus 'Sleep(microseconds)'
703 issue (good way to be non-portable Mr Gates).
705 4) Makefile.am had been changed around so that ALUT demo's and
706 test_suite would link to the OpenAL library in the current build
707 tree. This is bad for many reasons discussed via email - so I reverted
710 5) Evidently 'strcasecmp' doesn't exist under Windows/MSVC and
711 strcasecmp had been replaced with 'strcmp' for Windows. I think
712 'stricmp' is the Windows version of strcmp that's case insensitive.
714 6) I fixed up the lack of a 'random()' function in Windows used 'rand()'
715 instead. Not the ideal fix but definitely 'good enough'.
717 2005-08-31 Garin Hiebert <garinh@cheesetoast.net>
719 * win_build/alut.dsp, win_build/hello_world.dsp: Fixed Release Build
722 * doc/alut.html, examples/hello_world.c, include/AL/alut.h,
723 src/alutLoader.c, src/alutWaveform.c: First Stab At Moving To Windows.
725 * win_build/alut.dsp, win_build/alut.dsw, win_build/hello_world.dsp:
728 2005-08-30 Sven Panne <sven.panne@aedion.de>
730 * src/alutError.c: Namespace hygiene: Make lastError static
732 * examples/.cvsignore, examples/Makefile.am, test_suite/.cvsignore,
733 test_suite/Makefile.am: More tweaks to the build environment, still a
736 * Makefile.am, configure.ac, src/Makefile.am, src/alutError.c,
737 src/alutInit.c, src/alutLoader.c, src/alutVersion.c, src/alutWaveform.c:
738 Move alut.h to include/AL, so we can always use the same kind of
739 #includes and always use the headers from the SI, not any installed
740 ones. Things are not perfect yet, but better...
742 * src/alut.h: Removed.
744 * .cvsignore, examples/.cvsignore, include/.cvsignore,
745 include/Makefile.am, include/AL/.cvsignore, include/AL/Makefile.am,
746 include/AL/alut.h, src/.cvsignore, test_suite/.cvsignore: Added.
748 2005-08-30 Steve Baker <sjbaker1@airmail.net>
750 * src/Makefile.am: Jason Daly said: The current build system makes the
751 assumption that OpenAL is installed. This just adds -I../../include to
752 pick up the AL headers in the top-level directory. ALUT wouldn't build
753 on my system without this (we use OpenAL from an NFS-mounted directory).
755 2005-08-29 Steve Baker <sjbaker1@airmail.net>
757 * README, examples/hello_world.c: Added some more build instructions.
759 * configure.ac, examples/Makefile.am, src/Makefile.am,
760 test_suite/Makefile.am: Fixed up makefiles so they find OpenAL in either
761 /usr/local/lib or /usr/lib also fixed ALUT to install in /usr/include/AL
764 * Makefile.am, README, test_suite/test_memoryloader.c,
765 test_suite/test_retrostuff.c: More minor cleanup.
767 * src/alutError.c, src/alutInit.c, src/alutLoader.c, src/alutWaveform.c:
768 Cleaned up some warning messages when -pedantic is enabled.
772 * autogen.sh, configure.ac, install-sh, mkinstalldirs: Added autoconf
775 2005-08-27 Steve Baker <sjbaker1@airmail.net>
777 * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, NEWS, README,
778 doc/alut.html, doc/noise.gif, examples/Makefile.am,
779 examples/hello_world.c, src/Makefile.am, src/README, src/alutError.c,
780 src/alutInit.c, src/alutLoader.c, src/alutVersion.c, src/alutWaveform.c,
781 src/helloworld.wav, test_suite/Makefile.am, test_suite/README,
782 test_suite/file1.wav, test_suite/file2.au, test_suite/file3.raw,
783 test_suite/test_errorstuff.c, test_suite/test_fileloader.c,
784 test_suite/test_memoryloader.c, test_suite/test_retrostuff.c,
785 test_suite/test_version.c, test_suite/test_waveforms.c: Added ALUT 1.0.0