[Bug 22261] Love: "device already allocated" handling - requires patching winealsa.drv or using esound backend
wine-bugs at winehq.org
wine-bugs at winehq.org
Wed Oct 27 03:29:02 CDT 2010
http://bugs.winehq.org/show_bug.cgi?id=22261
Raymond <superquad.vortex2 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |superquad.vortex2 at gmail.com
--- Comment #1 from Raymond <superquad.vortex2 at gmail.com> 2010-10-27 03:28:59 CDT ---
To allow multiple open , you need to modify WINE_WAVEDEV so that each PCM
stream have its own parameter
WAVEFORMATPCMEX format;
snd_pcm_t* pcm; /* handle to ALSA
playback device */
snd_pcm_hw_params_t * hw_params;
DWORD dwBufferSize; /* size of whole ALSA
buffer in bytes */
LPWAVEHDR lpQueuePtr; /* start of queued
WAVEHDRs (waiting to be notified) */
LPWAVEHDR lpPlayPtr; /* start of not yet
fully played buffers */
LPWAVEHDR lpLoopPtr; /* pointer of first
buffer in loop, if any */
DWORD dwLoops; /* private copy of
loop counter */
DWORD dwPlayedTotal; /* number of bytes
actually played since opening */
DWORD dwWrittenTotal; /* number of bytes
written to ALSA buffer since opening */
DWORD dwPeriodSize; /* size of OSS buffer
period */
DWORD dwTotalRecorded;
--
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