Advertisement

Simple WAV question in C++

Started by May 18, 2001 09:42 AM
0 comments, last by rapsuperstarz 23 years, 8 months ago
I have four lines of cout''s, followed by a wav.. however the couts wont show until the 9 second wav has finished playing. How can I make the wav and the couts work at the same time in junction with each other? Help would be appreciated =)
Sounds like the wav file playing is synchronous (blocking). You can try to make it async (if you''re using PlaySound there''s a flag for that), or you can try doing a flush() call on the ostream.

HTH

Douglas Sutherland

This topic is closed to new replies.

Advertisement