detect sound

Is there a way to detect if there is a sound on the speaker?

With speaker I mean the device you use with something like this:

sound(1000);
delay(100);
nosound();

If a program does this, how do I detect it?




Thank You

Lorenz

No i don’t think so. You would need some special/custom hardware to do
this.

“Lorenz Prem” <Lorenz.Prem@guidant.com> wrote in message
news:9g5hj0$bbp$1@inn.qnx.com

Is there a way to detect if there is a sound on the speaker?

With speaker I mean the device you use with something like this:

sound(1000);
delay(100);
nosound();

If a program does this, how do I detect it?

I think sound is handle by devc-con so you could try to trap message
going to devc-con (lot of work) or try to get the source to devc-con (lot
of work also :wink: )

Thank You

Lorenz