[Bug 14717] resampled sound is horrible

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Dec 26 18:24:08 CST 2010


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

--- Comment #77 from Raymond <superquad.vortex2 at gmail.com> 2010-12-26 18:24:08 CST ---
(In reply to comment #74)
 The whole problem is that wine forces the use of its own bad
> resampler instead of a resampler from ALSA when an application requests a
> secondary DirectSound buffer with a rate different from the default sample rate
> configured in winecfg, and the patch attempts to replace this bad resampler
> with a better one.


Do you know that some sound card can not use dmix since dmix require sound
driver provide mmap access ? (i.e. there can be no system mixer for some sound
cards ) 

It is because winealsa.drv provide the mixing of secondary software buffers in
the primary hardware buffer (emulation mode) when there is no kmixer


This is the difference of dsound in wine and win since you don't even need to
set the default sample rate , 8/16 bits data because the kmixer can
automatically adjust the reampling rate to the maximum of the playing streams
but those system mixer or sound servers in linux cannot

This also make the implementation of secondary hardware buffers for those
hardware mixing sound cards very difficult since it use up one of the hardware
buffer of mixing software secondary buffers

Most of those hardware mixing sound cards are also support Wavetable synth,
they can provide at least 16 voices for playing midi

That is why they have 16 secondary hardware buffers

-- 
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