Workaround for incorrectly compressed FotAQ
|Reported by:||eriktorbjorn||Owned by:||eriktorbjorn|
|Cc:||Game:||Flight of the Amazon Queen|
As noted in bug #1876741 ("FOTAQ: Low sample rate"), the compressed versions of Flight of the Amazon Queen are likely to use the wrong sample frequency. This patch works around the problem by adding a "wrapper" audio stream class to the game engine.
It's a bug-fixed version of one of the patches attached to the aforementioned bug. (The original one leaked memory.)
Ticket imported from: #2030058. Ticket imported from: patches/1007.