I need to play multiple files simultaneously at the moment i am trying to use mciSendString() API it plays the files listed in a listbox. But it is only playing the first one i assume it would play the next one after the first is finished... cbf waiting to see. Anyway any ideas how to make each play at once?
Note this was an attempt in C#:
Media class is fine and the command string parsed to mciSendString is correct its just that they don't play simultaneouslyCode:private void PlayButton_Click(object sender, EventArgs e) { if (SongsListBox.Items.Count > 0) { foreach (string s in SongsListBox.Items) { Media media = new Media(); media.OpenMediaFile(s); media.PlayMediaFile(); } } }
Any help would be great!





Reply With Quote