]> git.mxchange.org Git - flightgear.git/commit
Additional functionality added to the FlightGear sound fx manager.
authorcurt <curt>
Mon, 9 Jan 2006 02:21:04 +0000 (02:21 +0000)
committercurt <curt>
Mon, 9 Jan 2006 02:21:04 +0000 (02:21 +0000)
commit4132b41470b703d93736c5c1d04ed6865e64fdc3
tree536bf9e45a1d7000c3f72ed728bf70b8e0ca7f69
parent0e16419f0db66e950661673b1a0ad337a8cdbd4d
Additional functionality added to the FlightGear sound fx manager.

Create a queue of one-off wav files.  Calling layer can request the system
to play any wav file.  The request is thrown at the end of a play queue.
The queue is serviced sequentially so that queued wav files will no longer
overlap.  When a sample is finished playing. It is removed from the queue
and deleted from memory.  The next remaining request in the queue is then
played.
src/Sound/fg_fx.cxx
src/Sound/fg_fx.hxx