http://bugs.winehq.org/show_bug.cgi?id=19122
Summary: MCI mciSendString with repeat as a play flag does not work Product: Wine Version: 1.1.24 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: emil.jo.andersson@gmail.com
This works (plays once as expected):
_stprintf(command, _T("open "%s" alias bgmusic"), szFileName); mciSendString(command, response, (UINT)_tcslen(response), NULL);
_stprintf(command, _T("setaudio bgmusicvolume to %i"), settings.MusicVolume * 10); mciSendString(command, response, (UINT)_tcslen(response), NULL);
mciSendString(_T("play bgmusic"), response, (UINT)_tcslen(response), NULL);
This does not work (doesn't play at all):
_stprintf(command, _T("open "%s" alias bgmusic"), szFileName); mciSendString(command, response, (UINT)_tcslen(response), NULL);
_stprintf(command, _T("setaudio bgmusicvolume to %i"), settings.MusicVolume * 10);
mciSendString(command, response, (UINT)_tcslen(response), NULL); mciSendString(_T("play bgmusic repeat"), response, (UINT)_tcslen(response), NULL);
I've tried this both in a virtual machine (Virtualbox) and on a non-virtual machine. Both were running Ubuntu 9.04 with version 1.1.24 from the Wine repository.