[Bug 19370] Secret of Monkey Island audio functioning is dependent on Wine's sample rate

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 29 02:09:09 CDT 2010


http://bugs.winehq.org/show_bug.cgi?id=19370

--- Comment #39 from Raymond <superquad.vortex2 at gmail.com> 2010-09-29 02:09:03 CDT ---
(In reply to comment #18)
> austin,
> 
> MaxShadowSize = -1 should be enough, it's the only valid setting that would
> disable the bad behavior, the rest shouldn't matter..
> 
> -1 sets to disabled, 0 still enables it for devices that have a smaller buffer
> than the primary buffer, which monkey island has, so only -1 works..
> 
> Frequency is basically ignored, and if it works in emulation it likely works
> with full too

it is because dsoutput.c explicitly disable the resampling of the "plug" or
"rate" plugin of the "default" device 

    snd_pcm_hw_params_set_rate_resample(pcm, hw_params, 0);

However this function has not effect on "pulse" plugin, i.e. pulse device still
support any rate within 1 Hz and PA_RATE_MAX Hz 

if your sound card does not support the requested rate (e.g. 22050Hz) , wine
have to do the resampling by itself

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list