Re: [LAD] jack plugin

From: Adrian Knoth <adi@email-addr-hidden>
Date: Mon Feb 07 2011 - 12:17:50 EET

On Mon, Feb 07, 2011 at 12:07:56PM +0200, kallipygos@email-addr-hidden wrote:

> How i do write my own DSP plugin for jack?

   http://jackaudio.org/documentation

> How my plugin can ioctl() detect current samplerate,
> endianess, nr channels,
> samples interleaved or not, ... and maybe some more stream
> parameters.

You couldn't be more wrong here. ;) You don't do ioctl, you don't talk
to the soundcard. You have as many channels as you define, you only have
mono channels (no interleaving), the data format is always float.

Also have a look at the example directory in the jack sourcecode.

> How do compile jack plugins?
> What #includes must be used?

Read the documentation, it's all there. And read simple_client.c.

HTH

-- 
mail: adi@email-addr-hidden  	http://adi.thur.de	PGP/GPG: key via keyserver
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Mon Feb 7 16:15:02 2011

This archive was generated by hypermail 2.1.8 : Mon Feb 07 2011 - 16:15:02 EET