≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Play Sounds Simultaneously
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b]Zel24[/b] wrote: Hi everybody ;-) I'm trying to play 3 sounds simultaneously, but it won't work :-( [code]void playC() { ISoundEngine* soundEngine = createIrrKlangDevice(); string soundFile = "C.mp3"; soundEngine->play2D(soundFile.c_str()); } void playE() { ISoundEngine* soundEngine = createIrrKlangDevice(); string soundFile = "E.mp3"; soundEngine->play2D(soundFile.c_str()); } void spieleG() { ISoundEngine* soundEngine = createIrrKlangDevice(); string soundFile = "G.mp3"; soundEngine->play2D(soundFile.c_str()); } [/code] If i try to play them simultaneously in this way: [code] private: System::Void C_Click(System::Object^ sender, System::EventArgs^ e) { playC(); playE(); playG(); } [/code] C++ will play them one after another AND disordered, he should play C, E, G simultaneously but plays, I think: E.......C......G Someone can help?[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact