> > ALSA lib pcm_ladspa.c:1283:(snd_pcm_ladspa_parse_ioconfig) Unable to
> > find an audio port (1) for channel 1

> It means that the used LADSPA plugin has no second audio port.

When you say "no second audio port" is that different to processing a
stereo signal?  Because it was my understanding that the LADSPA plugin
only processed one channel of sound, and ALSA duplicated this so that if
you had a stereo sound there would be two instances of the LADSPA plugin
running (I think this is what "policy duplicate" is for.)

You can see this problem by adding this to /etc/asound.conf:

pcm.test {
  type ladspa;
  slave.pcm "plughw:0,0"
  path "/usr/local/lib/ladspa"
  playback_plugins {
    0 {
      label delay_5s
      policy duplicate
      input {
        controls [ 0.8 0.3 ]
      }
    }
  }
}

If you then do something like "aplay stereo.wav -Dplug:test" you'll only
get one channel from stereo.wav out of both speakers.

Running "speaker-test -c2 -Dplug:test" only plays the "front right"
audio out of both front speakers.

Cheers,
Adam.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to