Author: muggenhor
Date: Sun Aug 24 14:41:10 2008
New Revision: 5860
URL: http://svn.gna.org/viewcvs/warzone?rev=5860&view=rev
Log:
* Use alGetError() instead of sound_GetError() to clear error codes (the
latter will also dump a debug message to LOG_SOUND)
* Remove some redundant debug(LOG_NEVER calls (they're preceded by a
sound_GetError() call which will already dump that info)
* Improve some comments
* Log sound errors to LOG_SOUND, not to LOG_NEVER
* In sound_DestroyStream make sure to bail out when we fail to retrieve the
buffer count (as that could cause memory over-allocation)
Modified:
trunk/lib/sound/openal_track.c
_______________________________________________
Warzone-commits mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-commits