http://bugs.winehq.org/show_bug.cgi?id=19122
Jörg Höhle hoehle@users.sourceforge.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |hoehle@users.sourceforge.ne | |t
--- Comment #1 from Jörg Höhle hoehle@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?