TStockaudioplayer on stop event?

Please post bug reports, feature requests, or any question regarding the DELPHI AREA projects here.

TStockaudioplayer on stop event?

Postby Terabyte » June 18th, 2004, 12:10 am

Hi,
There doesnt seem to be a way of detecting when somthing in the TStockaudioplayer stock section has stoped playing.

I really need to know this as when the playback stopsm some buttons need to be enabled and disabled accordingly.

Is there no way to detect when the storaged item has stoped playing (by reaching the end of the file)
Terabyte
Active Member
Active Member
 
Posts: 5
Joined: June 18th, 2004, 12:06 am

Postby Kambiz » June 18th, 2004, 8:00 am

Do you mean the OnDeactivate event doesn't work?
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

sorry

Postby Terabyte » June 18th, 2004, 12:09 pm

oh rite.. so object deactivate is the equivilent of when the sound has stopped. is that right?
Terabyte
Active Member
Active Member
 
Posts: 5
Joined: June 18th, 2004, 12:06 am

Postby Kambiz » June 18th, 2004, 12:21 pm

Yes! When playing/recording is stopped, the component closes the handle of audio device and raises the OnDeactivate event.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2429
Joined: March 7th, 2003, 7:10 pm

Postby Terabyte » June 18th, 2004, 6:20 pm

wow... hehe so i just found out :D:D:D thanks alot :D:D:D:D
Terabyte
Active Member
Active Member
 
Posts: 5
Joined: June 18th, 2004, 12:06 am


Return to DELPHI AREA Projects

Who is online

Users browsing this forum: No registered users and 2 guests

cron