[LAD] jack plugin

kallipygos at inbox.lv kallipygos at inbox.lv
Mon Feb 7 10:07:56 UTC 2011


 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
  ----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20110207/ff945a2c/attachment.html>


More information about the Linux-audio-dev mailing list