[Bug 28622] alsa under pulseaudio no longer produce sound.

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 12 04:37:19 CDT 2011


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

Raymond <superquad.vortex2 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |superquad.vortex2 at gmail.com

--- Comment #2 from Raymond <superquad.vortex2 at gmail.com> 2011-10-12 04:37:19 CDT ---
reduce the period time from 200 *10000 to 2321930 (23.2ms) in
dlls/dsound/primary.c seem fix the choppy sound 

200ms @44100Hz is too large (> half buffer size when your sound card only have
64K Bytes buffer 371ms)


    /* buffer size = 200 * 100000 (100 ns) = 2.0 secods */
    hres = IAudioClient_Initialize(device->client,
            AUDCLNT_SHAREMODE_SHARED, AUDCLNT_STREAMFLAGS_NOPERSIST,
-            200 * 100000, 50000, device->pwfx, NULL);
+            2321930, 50000, device->pwfx, NULL);

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