Re: Modem sound input [was: When is sound recording going...]
Re: Modem sound input [was: When is sound recording going...]
- Subject: Re: Modem sound input [was: When is sound recording going...]
- From: Alberto Ricci <email@hidden>
- Date: Sun, 11 Nov 2001 18:48:35 +0100
As far as accessing a serial port, you can always use the IOKit for
that . There is sample code on Apple web site for that.
Then you'll get a /plain /old /dev device that you can talk to.
Yes - but I'd need to change some code so I was lazy and didn't port
the thing to Carbon ;-)
If you look at the audio drivers you'll see that there is a method
called "setModemSound" that is made available to other kernel
extensions through a publishresource call. So you need to write a
very very small kernel extension with a user client that
will activate that or not. Sample for how to use this call can be
found ...in the modem/serial driver source code!
Great - I'll check it out. But will this let me get the audio from
any modem-equipped Mac? I supposed that it was impossible to get it,
say, on an iBook. Can you confirm or deny this?
Or will this simply let me do what I can currently do under Mac OS 9
by selecting "Internal modem" as the input source for the built-in
input device?
Ciao,
Alberto.
--
+----------------------------------------------------------+
Alberto Ricci - Riccisoft <
mailto:email@hidden>
<
http://www.riccisoft.com>
+----------------------------------------------------------+