Re: [LAD] supporting a dedicated DSP chip with ALSA

From: Ziv Haziz <Ziv.Haziz@email-addr-hidden>
Date: Sat Jun 06 2009 - 21:57:29 EEST

Ok I have taken the advise to use gstreamer when working with encoded
streams (I read a bit and understood it fits my case better)

 

I still left with offloading the PCM stream - this is a mandatory
request from me to do it under ALSA.

 

I have looked at LADSPA interface and saw there are for port types:

#define LADSPA_IS_PORT_INPUT(x) ((x) & LADSPA_PORT_INPUT)
#define LADSPA_IS_PORT_OUTPUT(x) ((x) & LADSPA_PORT_OUTPUT)
#define LADSPA_IS_PORT_CONTROL(x) ((x) & LADSPA_PORT_CONTROL)
#define LADSPA_IS_PORT_AUDIO(x) ((x) & LADSPA_PORT_AUDIO)

 

If I declare my plugin as control only will I get all the information
such as rate, format, etc... like a driver and will the frames will be
passed to the driver directly?

 

Ziv Haziz

SW Team Leader

Tel. +972-9-9529-776

Mobile +972-54-5225-398

ziv.haziz@email-addr-hidden

www.dspg.com <http://www.dspg.com>

 

 

______________________________________________________________________
DSP Group, Inc. automatically scans all emails and attachments using MessageLabs Email Security System.
_____________________________________________________________________

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

image001.jpg
Received on Sun Jun 7 00:15:02 2009

This archive was generated by hypermail 2.1.8 : Sun Jun 07 2009 - 00:15:02 EEST