Author: muggenhor
Date: Thu Feb 22 00:58:16 2007
New Revision: 802
URL: http://svn.gna.org/viewcvs/warzone?rev=802&view=rev
Log:
* add support for libVorbisFile to seek using PHYSFS
* also add the ability to disable seeking (libVorbisFile becomes initializes
very slowly if PHYSFS seeking is available, which one of those two is at fault
I don't know)
* add a function for retrieving an OggVorbis file's sample count:
soundDecoding::getSampleCount (this depends on seeking)
* remove usage of smart pointer by soundDecoding::decode(buffer, bufferSize)
because it doesn't need any of a smart pointer's functionality there
* add another decoding function: soundDecoding::decode(unsigned int&
bufferSize) which will allocate its own memory (by checking the needed amount
of it through getSampleCount)
* disable seeking support on streams
* cleanup some code
* add functionality for creating tracks (sort of similar to the current TRACK
code in trunk)
Modified:
branches/sound/lib/sound/decoding.cpp
branches/sound/lib/sound/decoding.hpp
branches/sound/lib/sound/interface.cpp
branches/sound/lib/sound/sound.h
branches/sound/lib/sound/stream.cpp
branches/sound/lib/sound/types.h
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits