lkml.org 
[lkml]   [1999]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Turning lucent winmodem into soundcard
Jamie Lokier wrote:

> Thomas Sailer wrote:
> > Put your driver into the kernel. I'd suggest an interface similar
> > to the current soundcard interface, plus ioctl's to handle
> > phone line specifics, like hangup etc.
>
> I plan to do something much like that. An auxiliary streaming channel
> is required for things like dial/busy tone detection, because I've found
> (non-RT) user space scheduling isn't fine grained enough for simple "is
> there a tone now?" questions to distinguish different patterns. At
> least, according to certain country-specific parameters.

This doesn't make sense. You just need to count your way through the received
samples as you run them through the tone detector That gives you the cadence
precisely. Its both more accurate and more efficient than any other strategy.
There are no scheduling issues on the receive side at all. You just need to
keep up, and not drop samples.

Steve



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.184 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site