2000-09-03  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* src/al_buffer.c (_alDestroyAllBuffers)
	Fixed memory leak.
	

2000-08-31  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* ChangeLog
	Noted changes
	
	* src/al_ext.c
	Fix for segfault caused by plugins missing alExtFini

	* src/al_mixmanager.c
	Formatting change.

	* doc/openal.texi
	Added load-extension to primitives documentation, fixed
	various spelling errors.

	* src/arch/sdl/sdl.c (set_sdL)
	format incorrectly set to have 2 channels

	* src/threads/windowsthreads.h
	Stupid type fixed.

	* test/sample.wav
	I'm going to have to read up to make sure the data files
	are marked as binary.

	* test/testlib.c
	Stupid Sleep(param) fixed.

2000-08-29  Joseph I. Valenzuela  <jvalenzu@forbidden.loungenet.org>
	* Changelog
	Noted changes

	* src/al_config.c
	Updated is_string to recognize whitespace in strings as
	okay.

	* src/al_ext.c
	Small formatting change

	* src/al_mixer.c
	Nothing big

	* src/al_rcvar.h
	Small formatting change

	* src/arch/alsa/alsa.c
	Got it working.  Again.  Please don't change asoundlib ever.

	* src/arch/alsa/alsa.h
	Got it working.  Again.  Please don't change asoundlib ever.

	* Makefile.in
	Added rule to rerun autoconf if configure.in is newer than
	configure.  Probably should do a sanity check for autoconf
	in that case.

	* src/al_able.c
	Removed unneeded include <math.h>
	
	* src/al_filter.c
	Reordered includes to avoid M_PI collision on freebsd

	* src/al_source.h
	Weird error on freebsd averted by changed paramater type
	name?  Weird.

	* src/al_state.c
	Reordered includes to avoid M_PI collision on freebsd

	* test/testcallback.c
	Reordered includes to avoid M_PI collision on freebsd

	* test/testfft.c
	Reordered includes to avoid M_PI collision on freebsd

	* test/testmp3.c
	Removed unneeded include <error.h>

	* test/testmultimp3.c
	Removed unneeded include <error.h>

	* test/testpause3.c
	Removed unneeded include <error.h>

	* test/testpause4.c
	Removed unneeded include <error.h>

	* test/testvorbis.c
	Removed unneeded include <error.h>

2000-08-25  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* src/al_buffer.h
	* src/al_buffer.c
	Altered _alBufferCanonizeData to no longer require _alLockBuffer.
	Updated alBufferAppendData to take advantage of this (less time
	spent locked) but haven't altered alBufferData or alBufferDataSync
	yet.

	* src/extensions/al_ext_loki.c
	Altered call to _alBufferCanonizeData.

	* AL/altypes.h
	Added AL_GAIN_LINEAR for linear gain scaling.

	* src/al_ext.c
	Added ename for AL_GAIN_LINEAR

	* src/al_filter.c
	Updating code to use AL_GAIN_LINEAR

	* src/al_listen.c
	Updated code to correctly interpret AL_GAIN as logarithmic and
	use AL_GAIN_LINEAR to scale sounds linearly.

	* src/al_main.c
	Added _alLinearToDb and _alDbToLinear

	* src/al_main.h
	Prototypes for _alLinearToDb and _alDbToLinear

	* src/al_source.c
	Updated code to correctly interpret AL_GAIN as logarithmic and
	use AL_GAIN_LINEAR to scale sounds linearly.

	* test/.cvsignore
	Added entry for testgainlinear and testmultimp3.c

	* test/testgainlinear.c
	New test program for testing gain and linear gain relationships

	* test/testmultimp3.c
	New test program for testing multi instances (one sid per bid, though)
	of mp3 extension sounds

	* test/Makefile.in
	Added entry for testgainlinear

	* test/testchannel.c
	Updated to use AL_GAIN_LINEAR

	* test/testgain.c
	Updated to use AL_GAIN_LINEAR

	* test/testmp3.c
	Don't remember

	* test/testmultinothread.c
	Updated to use AL_GAIN_LINEAR

	* test/testpitch.c
	Updated to use AL_GAIN_LINEAR

	* test/testpitch2.c
	Updated to use AL_GAIN_LINEAR

	* test/testpitchnothread.c
	Updated to use AL_GAIN_LINEAR

	* test/testpitchnothread2.c
	Updated to use AL_GAIN_LINEAR

	* test/testtime.c
	Lowered buffersize to decrease latency	

	* test/teststream.c
	Added multichannel call

2000-08-24    <tsaotsao@TOROFO>

	* src/arch/windows/windows_native.c:
	Updates in the windows backend

	* src/threadlib/threadlib.h
	Added ExitThread call to aid windows

	* src/threadlib/posixthread.h
	Added Posix_ExitThread stub and prototype

	* src/threadlib/windowsthread.c
	* src/threadlib/windowsthread.c
	Added Windows_ExitThread

	* src/al_mixer.c
	Added call to tlExitThread

	* src/include/AL/alkludgetypes.h
	Changed sign of IMA decodestate member

2000-08-22   Joseph I. Valenzuela  <tsaotsao@TOROFO>
	* ChangeLog
	notes changes

	* src/Makefile.in
	remove erroneous extra line

	* src/arch/interface/interface_sound.c
	Added call to release_sdl

	* src/arch/interface/platform.h
	Nothing much

	* src/arch/sdl/sdl.c
	Removed select, used SDL_Delay instead

	* many, many files
	Working on the Windows backend/implementation.  Linux openal now
	compiles and links under mingwin/cygwin on Windows, and even runs,
	but the waveOut audio backend is non functional for now.  Might be
	possible to get this working using the SDL backend, but it looks
	like there are some problems associated with the mutexen as well.

2000-08-21  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* ChangeLog
	Noted changes
	
	* al_mixer.c
	Cleaned up delayed buffer deletions

	* al_buffer.c
	Cleaned up delayed buffer deletions

	* al_types.h
	Added flag, ALB_PENDING_DELETE, to simplify delayed buffer
	deletions. 

2000-08-20  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* ChangeLog
	Noted changes

	* acconfig.h
	Added define for VORBIS_SUPPORT
	
	* configure.in
	Added --enable flag for tentative vorbis support
	
	* src/Makefile.in
	Added compilations rules for vorbis stuff, cleaned up extension
	dependencies some.
	
	* src/al_main.c
	Added code for vorbis extension
	
	* src/al_mixer.c
	removed spurious fprintf
	
	* src/al_source.c
	Fixed multichannel callbacks
	
	* src/extensions/al_ext_mp3.c
	Don't remember
	
	* src/extensions/al_ext_vorbis.c
	Initial extension for vorbis support
	
	* src/extensions/al_ext_vorbis.h
	Initial extension for vorbis support

	* test/.cvsignore
	Added entry for testvorbis
	
	* test/Makefile.in
	Added rule for testvorbis
	
	* test/testmp3.c
	Changed in the process of fixing multichannel callbacks

	* test/testvorbis.c
	Test program for vorbis stuff

	* test/boom.mp3
	New sample for testing mp3s

	* test/boom.ogg
	New sample for testing vorbis sounds

	* test/multiboom.wav
	New sample for testing multichannel PCM wavs

	* test/multisample.wav
	New sample for testing multichannel ADPCM wavs

2000-08-18  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* src/al_mixer.c
	Fixes for callback stuff
	
	* src/al_source.c
	Fixes for callback stuff

	* src/extensions/al_ext_mp3.c
	Make extension more sane.

2000-08-18  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* src/al_mixer.c
	Fixes for callback stuff
	
	* src/al_source.c
	Fixes for callback stuff

	* src/extensions/al_ext_mp3.c
	Make extension more sane.

2000-08-09  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* INSTALL
	Small note telling people to run ldconfig because of the 
	soname change.

	* src/Makefile.in
	Moved mp3 stuff into the regular library, and added soname to
	the library.

	* src/al_main.c
	Nothing much.

	* src/al_mixer.c
	Multichannel changes.

	* src/al_source.c
	Multichannel fixes for callbacks and looping sounds.

	* src/al_source.h
	Multichannel fixes for callbacks and looping sounds.

	* src/al_types.h
	Not much.

	* src/extensions/al_ext_mp3.c
	Cleaned up interface to fit with new SMPEG_new_data

	* src/extensions/al_ext_mp3.h
	Cleaned up interface to fit with new SMPEG_new_data

	* test/.cvsignore
	Added testmp3 and testmultichannel2 to .cvsignore

	* test/Makefile.in
	Added entry for testmp3 and testmultichannel2

	* test/testpause4.c
	updated mp3 stuff.

	* test/testmultichannel2.c
	updated new test to test looping multichannel sounds.

2000-08-07  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* ChangeLog
	Noted changes
	
	* src/al_main.c:
	updated vector_angle_between to correctly handle sign (so that the
	angle correctly differentiates between left/right).

	added vector_quadrant to report which quadrant a vector falls in.

	* src/al_main.h
	added vector_quadrant prototype
	
	* src/extensions/al_ext_loki.c
	Don't remember

 	* src/extensions/al_ext_mp3.h
	* src/extensions/al_ext_mp3.c
	Added support for mp3 extension to be compiled in library.  When
	the smpeg changes are commited, this will be folded into the
	regular library for transparant mp3 support.
	
	* test/test.c
	* test/testalc.c
	* test/testalut.c
	* test/testcallback.c
	* test/testchannel.c
	* test/testchannel2.c
	* test/testda.c
	* test/testdelbuffer.c
	* test/testdoppler.c
	* test/testdoppler2.c
	* test/testgain.c
	* test/testlistener.c
	* test/testlistener2.c
	* test/testlistener3.c
	* test/testlistener4.c
	* test/testloop.c
	* test/testmulti.c
	* test/testmultialut.c
	* test/testmultichannel.c
	* test/testmultinothread.c
	* test/testnothread.c
	* test/testpause.c
	* test/testpause2.c
	* test/testpause3.c
	* test/testpause4.c
	* test/testpitch.c
	* test/testpitch2.c
	* test/testpitchhack.c
	* test/testpitchnothread.c
	* test/testpitchnothread2.c
	* test/testrelative.c
	* test/testreverb.c
	* test/testsingle.c
	* test/testsource.c
	* test/testsourcestop.c
	* test/testsync.c
	* test/testtime.c

	Added checks to make sure if the sound file that the test depends
	on doesn't exist, the program exits sanely.  Also, added support
	for passing the sound file as a command line argument to many test
	programs.

2000-08-06  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* doc/openal.texi
	Added documentation for alBufferDataWithCallback_LOKI

	* include/AL/alkludge.h
	Removed prototype for alBufferDataWithCallback_LOKI

	* src/al_buffer.c
	moved alBufferDataWithCallback_LOKI

	* src/al_buffer.h
	moved alBufferDataWithCallback_LOKI

	* src/extensions/al_ext_loki.h
	added entry for alBufferDataWithCallback_LOKI

	* src/extensions/al_ext_loki.c
	added alBufferDataWithCallback_LOKI

2000-08-04  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* src/al_main.c
	Made a list, checked it twice.
	
	* src/al_main.h
	Found out who was naughty and who was nice.
	
	* src/alc/alc_speaker.c
	Added logic to handle an upside down listener.  This isn't well
	tested and will need to be revised soon.
	
	* test/.cvsignore
	Added entries for multiple test cases.
	
	* test/Makefile.in
	Added rules for new test cases.
	
	* test/testlib.c
	Nothing big.

	* test/testlistener3.c
	New test for listener orientation stuff.

	* test/testlistener4.c
	New test for listener orientation stuff.

2000-08-03  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	 src/al_buffer.c
	Fixed really stupid bug in alBufferData where buffer's format was
	set to the *passed* format instead of the *converted* format.
	This wasn't an issues before (I'm guessing) either because no one
	used alBufferData without alutLoadWAV(which previously converted
	data into canonical format) or because of the new multichannel
	support.
	
	* src/al_filter.c
	Fixed alt_tpitch so that multichannel buffers get handled in a
	minimally proper way.  This still needs to be tested for feature
	completeeness, but with a pitch of 1.0 this should work okay.
	
	* src/alut/alut_wav.c	
	Changed alutLoadWAV so that it no longer automatically converts
	data to canonical format (to aid use of multichannel buffers).
	
	* src/extensions/al_ext_loki.c
	AL_BITS is not a valid setter any more for alBufferi_LOKI.
	
	* test/.cvsignore
	Added testmultichannel entry
	
	* test/Makefile.in
	Added testmultichannel rule

	* test/testmultichannel
	Program to aid in testing multichannel buffers.
	

2000-08-02  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>
	* Changelog
	Marked changes
	
	* src/al_mixer.c:
	Cleaned up tremendously ugly StreamingList code a very little.
	Sources with streaming buffers now work as advertised.

	* src/al_ext_loki.c
	Touched up alBufferi a little.

	* test/.cvsignore
	Added test programs and rawpcm.pcm
	
	* audioconvert/ac_helper.c
	Reordered conversion filters to 8-bit samples get converte properly.
	  
	* src/al_filter.c
	Nothing much.

	* src/al_source.c
	Fixed stupid bug in SplitSources where callbacks were getting
	hosed prematurely.

	Added SOURCE_STATE to GetSourceParams, to avoid misleading debug
	message. 

	* test/testalut.c
	Adapted test to test files passed on command line.


2000-08-01  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* src/al_types.h:
	change AL_buffer's freq argument to ALint

	* src/al_buffer.c
	changed buffer initializer to set buffer freq to canon_speed.

 	* linux/ChangeLog
	Noted changes
	
	* lots of files
	Changed AL_ACTIVE to AL_PLAYING, per Bernd's request

	* src/al_source.c:
	Reordered includes, added math.h to aid compilation on freebsd.

	* test/
	Wrapped M_PI in ifdef for test progs, removed include <error.h>
	for testcallback

	* linux/doc/openal.texi
	Added documentation for alBufferi_LOKI to Loki extension section.
	Added FAQ question on alAttenuationScale_LOKI.
	
	* linux/include/AL/alkludgetypes.h
	Changed enumeration base a little.
	
	* linux/src/al_buffer.c
	Added support for multichannel buffers

	* linux/src/al_buffer.h
	Small cleanup
	
	* linux/src/al_ext.c
	Change extension typedef to AL_extension
	
	* linux/src/al_main.c
	Change extension typedef to AL_extension
	
	* linux/src/al_mixer.c
	Added support for multichannel buffers
	
	* linux/src/al_source.c
	Removed unused orientation paramater, added support for
	multichannel buffers.
	
	* linux/src/al_types.h
	Changed extension typedef to AL_extension
	Corrected lame typedef that defined float6vparam to be a 3-element
	type.
	
	* linux/src/extensions/al_ext_loki.c
	Added alBufferi_LOKI, to allow multichannel buffers.
	
	* linux/src/extensions/al_ext_loki.h
	Added alBufferi_LOKI, to allow multichannel buffers.
	
	* linux/test/Makefile.in
	Added case for new test program teststream2
	
	* linux/test/testcallback.c
	Don't remember
	
	* linux/test/testlib.c
	Added code to fixup_function_pointers to load alBufferi_LOKI
	
	* linux/test/testlib.h
	Added symbol that resolves to alBufferi_LOKI
	
	* linux/test/testpause3.c
	Don't remember

	* linux/test/teststream2.c
	Added test case for multichannel streaming sounds.

2000-07-31  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* src/alc/alc_context.c (alcGetCurrentContext):
	Added alcGetCurrentContext, designed to return the context handle
	for the current context.
	(alcGetCurrentContext):
	small fix

2000-07-29  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* src/al_source.c:
	Fixed stupid bug in alSourcei, in which the value, when passed
	with the AL_BUFFER param, was incorrectly range checked as if it
	were a boolean, when the correct range checking should have
	checked to see that it was a valid buffer id.

2000-07-28  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* doc/openal.texi
	Added FAQ question on avoiding the select for Vortex cards.

	* src/al_config.c:
	Fixed handling in token_str_to_token to properly recognize
	booleans #t and #f.

	* src/arch/linux/lin_dsp.c:
	Added code to make the boolean alrc var "native-use-select" work.
	So if you set native-use-select to #f, the linux native driver
	won't use select.

	

	* doc/openal.texi: 
	Added FAQ section, and short description on how to enable ESD.

2000-07-27  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* doc/openal.texi
	Fleshed out information on non-integral types, the al and alc
	subsections of the API section, and fixed up some of the nodes to
	make more sense.

	* src/al_mixer.c
	Important update to _alDestroyMixer, to ensure that sources
	associated with callback buffers get their source-destroy callback
	called when the source is either implicitly or explicitly
	stopped.
	
	* src/al_main.c src/al_main.h
	changed slurp to _alSlurp

	* include/AL/alkludge.h
	Removed trailing undefs

2000-07-24  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* doc/openal.texi: 
	Fleshed out sections on errors a little bit.

	* (src/arch/linux/lin_dsp.c)
	Added an ioctl call to request the fragment size from the sound
	card in set_native, so that weird bufsiz requests to set_native
	(ie, requests which are not powers of two) that get implicitly set 
	to some power of two are reported to the calling function
	correctly.  A mismatch could potentially cause timing problems.

2000-07-21  Joseph I. Valenzuela  <tsaotsao@xanadu.lokigames-lan.com>

	* (first entry)
	This, being the first ChangeLog entry, will seek to address
	what has changed in the OpenAL source code with regard to the
	recent code commit, which has brought the Loki implementation
	closer to the proposed 1.0 specification.

	Users of the library will notice that the definitions for
	GenBuffers and GenSources no longer return the number of items
	successfully allocated.  This change is in deference to the policy
	of refusing to allocate anything less than the total request, and
	failing on partial allocation.

	Some functions have been removed from the implementation.  These
	are:

	GetErrorString       -- duplicated functionality (use GetString)
	
	Most _LOKI functions have been moved such that they require an
	explicit GetProcAddress to resolve them.  The prototypes for these 
	functions are located in the documentation (openal.info).  Some
	_LOKI functions have been removed.  A list of these are:

	ClearError_LOKI      --  functionality duplicated in spec
	SourceIsPlaying_LOKI --  functionality duplicated in spec

	Some source parameters have been removed, for reasons of reducing
	ambiguity and duplicated functionality.  These are:

	AL_SOURCE_AMBIENT      --  duplicated functionality
	AL_SOURCE_ABSOLUTE     --  converse of AL_SOURCE_RELATIVE

	AL_SOURCE_LOOPING is the new name for AL_LOOPING.

	This should be a complete catalog of all the changes introduced
	which will effect compilation and linkage of programs with OpenAL.
	This does not intend to describe the full implication of changes
	brought about by the new specification.  Please refer to the
	specification documentation for that.

	To aid future clarity, updates to the list of missing functions
	and changes brought about by the new implementation will be made
	directly to this ChangeLog entry, with a date appended when
	needed.  That way, there will be one centralized location for that 
	sort of information.
