Re: Telling when the sound stops playing

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Telling when the sound stops playing

by Rainer Bauer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Julian Smart wrote:

>My problem was that when I implemented wxThreadedSound, it was
>impossible to stop the sound. Using the SND_SYNC flag means that we
>can't call PlaySound to stop the sound.
>
>My code is here:
>
>http://www.anthemion.co.uk/wx/threadedsound.zip

I think the fundamental problem is that the MSW implementation of wxSound uses
the ::PlaySound() interface. If this would be altered to use the more flexible
and powerful mci interface, then the solution would be much simpler:
<http://msdn.microsoft.com/en-us/library/ms709461(VS.85).asp>

Rainer


--~--~---------~--~----~------------~-------~--~----~
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+unsubscribe@...
or visit http://groups.google.com/group/wx-users
-~----------~----~----~----~------~----~------~--~---