Hi Phil,
On Sun, 12 Feb 2006, Phil wrote:
...snip.....
> Firstly I tried a quick and dirty program 'example2.c' (see below)
> to sample one channel at 22.05kHz, it was able to do it however the
> cpu utilisation was at ~70% and there were glitches in the audio.
>
> So then I changed the way the prog received the data 'example3.c'
> (see below) to do the same sampling. Much better cpu utilisation of
> just 3% and absolutely perfect audio (for 22.05kHz mono). No
> noticable freq shift from an inaccurate sampling clock, no glitches.
> Also, I had the program writing the output over the network via NFS.
> I did try at 44.1kHz but the driver had issues, I guess that's
> getting a bit high but still I will look into it.
You beat me to it. I read your code last night, and was going to ask what
samplerate (interrupt) rate you thought could be sustained. It appears the
answer is - it depends :-) I'm surprized that 22.05KHz was sustainable,
and that's really really impressive. Opens up a whole new range of apps.
Many thanks for the code and for sharing your efforts. Now to build the
use the module.......
cheers
Jim
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|