[LAD] jack plugin

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-audio-dev@...>
Date: Monday, February 7, 2011 - 10:08 am

---moq12970732760eba56d51b78b0034999e2f885ebd235
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Developers.
I have more as one sound players on my system mplayer, vlc, qmmp ...
Each of em uses jack output , for example 2 independent instances of
mplayer
mplayer -ao jack  -srate 16000
'/home/alf/mp3/mettwoch-de-doof-nuss.mpa.mp2'
mplayer -ao jack  -srate 16000 '/home/alf/mp3/effeckt006.mp3'
So far everything is excellent.
How i do write my own DSP plugin for jack ?
I wanna use my DSP plugin at this point, where all input channels are
mixed together .
How my plugin can ioctl() detect current samplerate,
endianess, nr channels,
samples interleaved or not, ... and maybe some more stream
parameters.
How do compile jack plugins ?
What #include-s  must be used ?
If my plugin will grow, and eat more and more CPU, how i prevent
x-runs ?
Is somewhere _simple_ C example how i can write jack plugins ?
In simplest case -
what is minimal program where i do each sample divide by 2
( or for 16bit short type just  shift  sample>>1 )
Tnx in advance.
Alf
----
---moq12970732760eba56d51b78b0034999e2f885ebd235
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi Developers.I have more as one sound players =
on my system mplayer, vlc, qmmp ...Each of em uses jack output , for =
example 2 independent instances of mplayermplayer -ao jack  -sra=
te 16000 '/home/alf/mp3/mettwoch-de-doof-nuss.mpa.mp2'mplayer -ao jac=
k  -srate 16000 '/home/alf/mp3/effeckt006.mp3'So far every=
thing is excellent.How i do write my own DSP plugin for jack ?<=
br />I wanna use my DSP plugin at this point, where all input channels are =
mixed together .How my plugin can ioctl() detect current sample=
rate, endianess, nr channels,samples interleaved or not, ... an=
d maybe some more stream parameters.How do compile jack plugins=
?What #include-s  must be used ?If my plugin will grow, a=
nd eat more and more CPU, how i prevent x-runs ?Is somewhere _s=
imple_ C example how i can write jack plugins ?In simplest case - what is minimal program where i do each sample divide by 2 ( or fo=
r 16bit short type just  shift  sample>>1 )Tnx =
in advance.Alf ----
=0A
---moq12970732760eba56d51b78b0034999e2f885ebd235--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] jack plugin, , (Mon Feb 7, 10:08 am)
Re: [LAD] jack plugin, Adrian Knoth, (Mon Feb 7, 10:18 am)