[Bug 19122] MCI mciSendString with repeat as a play flag does not work

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 9 11:45:07 CDT 2010


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


Jörg Höhle <hoehle at users.sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hoehle at users.sourceforge.ne
                   |                            |t




--- Comment #1 from Jörg Höhle <hoehle at users.sourceforge.net>  2010-04-09 11:45:06 ---
This is an enhancement request, as the REPEAT flag is not supported by the Wine
mciqtz or mciavi MCI drivers.

For robustness, I suggest you explicitly add a type mpegvideo to your open
command:
  open "foo.bar" alias bgmusic type mpegvideo
because only the DGV device supports the REPEAT flag.  What you currently have
would not work with .mid or .wav files, because their MCI drivers do not
recognize this flag (with file extension mappings as found in a default
install).  Nevertheless you can trick it using
  open "foo.wav" type mpegvideo alias bgmusic
such that mciqtz32.dll is used for playing instead of mciwave.dll, as it is for
.mpg for example.
That works even with MIDI files in native, but Wine is not that far yet.

BTW, your example misses a space in "setaudio bgmusic volume to ..." which,
BTW, is another command only supported by DGV devices, not mciwave/mciseq.

Until Wine supports the REPEAT flag, an interim solution might be to play once
- better than nothing?

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