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

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jun 29 08:10:07 CDT 2009


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 at winehq.org
        ReportedBy: emil.jo.andersson at 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.

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