[iyonix-support] Re: Audio input

On 29 Aug Dave Higton wrote:

> In message <52f8af194f.christian@xxxxxxxxxx>
>           Christian Ludlam <chris@xxxxxxxxxx> wrote:
> 
> > There's a file called Spec inside the !AudioIn application which
> > gives you the API to get at the data.
> 
> I'm trying to read the number of available audio sources, but
> every string I can think of for "DeviceFS name of device" gives
> the error "Device not found" when I try DeviceFS_CallDevice on
> it.  What should I use as a device name?
> 
> An example would be /so/ valuable...

You can see a list of all device names installed by

  *filer_opendir devices:$
  
The one you want should be called 'AudioIn' - don't forget you need to have
the driver module loaded (!)

So SYS "DeviceFS_CallDevice", (1<<31)+2, "AudioIn" TO ,,nrates%

I should probably release the source to the whole lot, I can't think of any
reason not to.

-- 
Christian Ludlam
chris@xxxxxxxxxx
---
To alter your preferences or leave the group, 
visit http://www.freelists.org/list/iyonix-support
Other info via http://www.freelists.org/webpage/iyonix-support

Other related posts: