Author: muggenhor
Date: Tue Mar 6 22:21:13 2007
New Revision: 854
URL: http://svn.gna.org/viewcvs/warzone?rev=854&view=rev
Log:
* Add Vertex base class (bases/vertex.hpp) to derive from for an interface to
a coordinate set (x,y,z-coords from listener and sound source)
* class soundDecoding:
* Add soundDecoding::getSampleCount() which retrieves the amount of samples
contained in the opened audio file (only works when file is seekable)
* Remove dual decoding function in favor of the one that allocates a buffer
on its own
* interface.cpp:
* Modify templated function validID() to also modify the ID number with a
constant correction (ID -= 1)
* Fix sound_Destroy2DStream to check the ID number for validity before using
it
* add subclass soundListener to soundContext which is derived from Vertex,
this is to handle the listener seperately
* class soundSource:
* Removed initialization of OpenAL Source with a bunch of zeros
* fix some error strings
* Derive from Vertex and implement all its interface (virtual) functions
Added:
branches/sound/lib/sound/bases/ (with props)
branches/sound/lib/sound/bases/vertex.hpp (with props)
Modified:
branches/sound/lib/sound/decoding.cpp
branches/sound/lib/sound/decoding.hpp
branches/sound/lib/sound/interface.cpp
branches/sound/lib/sound/openal/context.cpp
branches/sound/lib/sound/openal/context.hpp
branches/sound/lib/sound/openal/source.cpp
branches/sound/lib/sound/openal/source.hpp
branches/sound/lib/sound/stream.cpp
branches/sound/lib/sound/stream.hpp
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits