[Bug 14717] resampled sound is horrible

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Feb 22 03:39:59 CST 2011


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

--- Comment #151 from Alexander E. Patrakov <patrakov at gmail.com> 2011-02-22 03:39:56 CST ---
DSound may be not designed for playing high-quality music, but even the
highest-quality resampler in the patch easily fits the latency budget that you
imply by saying "dsound has to use small period size (I guess is 10ms) and try
to mix the new sound effect and play them out as soon as possible".

As for the acceptable tradeoffs in terms of CPU/latency/quality, I think they
need to be discussed, otherwise someone will be able to say "mixing must be as
fast as possible, so let's convert anything to 8 bits for performance reasons"
(and that's in the same realm of strawman arguments as your suggestion to use a
zero-order-hold resampler). My viewpoint is that wine either must provide the
same resampling quality & latency as Windows does for DirectSound apps, or use
the system's mixer/resampler and thus have the same characteristics as linux
sound apps.

As for the submitted patch, I am working on new testcases that would prove or
disprove the rewind-and-overwrite bug that may exist.

Also you still didn't answer my request for testing wine without the patch but
with MaxShadowSize=0, and I don't see you in my jabber contact list.

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