>> I tend to agree, but should point out one issue:
> killing/restarting something emitting audio will
> cause a "glitch" in the sound (besides probably
> restarting it from the beginning), which is not
> necessarily desirable. whether or not this is
> Dale's concern is unknown ("a little messy" can
> mean many things).
I'm no whiz kid when it comes to programming, but logic would take over at
this point. When the parent process dies it should ask the child process to
end cleanly, i.e. have it perform a cleanup/logging operation when the
parent dies. Release the sound device, write a small csv file or similar
file to a "secure" location on the disk with start up info. This "start up
info" would be the track it was playing and the timestamp from the piece of
audio.
My 2c.
Paul
--
Email scanned by Blacknight for viruses and dangerous content.
Visit http://www.blacknight.ie for more information
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!