LADSPA Stereo Amplifier not connected

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I try using Stereo Amplifier plugin from ladspa sdk.
This is my .asoundrc

pcm.amp_s {
  type ladspa
  slave.pcm "plughw:0,0"
  plugins {
    0 {
         id 1049
         label "amp_stereo"
#        channels 2
         filename "/usr/src/ladspa/ladspa_sdk/plugins/amp.so"
         policy none
         input {
            bindings {
                 0 0
                 1 1
	    }
         }
         output {
            bindings {
		 0 0
		 1 1
	    }
	 }
         input {
	    controls [ 4 ]
         }
      }
  }
}

pcm.amps {
    type plug
    slave.pcm "amp_s"
    slave.channels 2
    ttable {
	 0.0 1
	 1.1 1
    }
}

and than i type next command:

[alexx@alexx alexx]$ aplay -Damps sine_1k_2x16x44100.wav
Playing WAVE 'sine_1k_2x16x44100.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
ALSA lib pcm_ladspa.c:440:(snd_pcm_ladspa_allocate_instances) Unable to
connect input port of plugin 'Stereo Amplifier' channel 1 depth 0
aplay: set_params:885: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 44100
PERIOD_TIME: (23219 23220)
PERIOD_SIZE: 1024
PERIOD_BYTES: 4096
PERIODS: 16
BUFFER_TIME: (371519 371520)
BUFFER_SIZE: 16384
BUFFER_BYTES: 65536
TICK_TIME: 10000

What's wrong and how I must do this config to work?
ALSA 1.0.9a, sound card snd-au8830 (Vortex2)


PS
Sorry, for bad english, its not my native language...




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux