http://bugs.winehq.org/show_bug.cgi?id=14717
--- Comment #283 from Andrew Eikum aeikum@codeweavers.com 2012-04-23 11:38:52 CDT --- I ran each patch through the dsound tests and against a handful of games that use dsound in different ways. I didn't run into any issues.
In patch 5, the first argument to get_current_sample should be const:
-static inline float get_current_sample(IDirectSoundBufferImpl *dsb, +static inline float get_current_sample(const IDirectSoundBufferImpl *dsb,