[Bug 19523] winmm: Multiple waveOutOpen calls on single device supported by Windows, not Wine

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Sep 17 23:56:23 CDT 2009


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





--- Comment #2 from Ken Thomases <ken at codeweavers.com>  2009-09-17 23:56:17 ---
(In reply to comment #1)
> actually, you should be able to open several instance of the same driver if it
> supports it

The problem is the interface with the low-level driver.  There is no handle or
"stream" identifier passed around (i.e. returned for WODM_OPEN, passed in with
the other wave-out messages).  So, if a device is opened multiple times and
then wave headers are prepared and written, how can the low-level driver know
which headers go with which stream?

Separate streams should play simultaneously/mixed, rather than having their
wave headers alternated.  They should be paused and restarted independently. 
Etc.

By those messages only have a device ID passed in, no stream identifier.

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