[Bug 28517] Pikachu Volleyball stops playing sound effects

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Sep 30 08:12:01 CDT 2011


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

--- Comment #3 from Andrew Eikum <aeikum at codeweavers.com> 2011-09-30 08:12:01 CDT ---
(In reply to comment #2)
> what is the meaning of "This->bufsize_frames" ?
> 
>     if(!duration)
>         duration = 300000; /* 0.03s */
>     This->bufsize_frames = ceil((duration / 10000000.) * fmt->nSamplesPerSec);
>     This->local_buffer = HeapAlloc(GetProcessHeap(), 0,
>             This->bufsize_frames * fmt->nBlockAlign);
> 

The size of the local buffer in frames. The local buffer is needed since ALSA
can't guarantee buffer sizes as large as MMDevAPI needs, so we need a place to
store the extra data before it gets placed in ALSA's smaller buffer.

Why do you ask?

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