summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJaroslav Kysela <perex@perex.cz>2001-12-07 17:15:01 +0000
committerJaroslav Kysela <perex@perex.cz>2001-12-07 17:15:01 +0000
commitc4a5a9c5b77b70a9ae2ec2e7a3f7ba9cbf10cde7 (patch)
tree97f4c916c83b4c8ff2a840ded71045de8f6d9eeb /doc
parent5140d870541cfa93836dc40a9ead585270b1ef19 (diff)
Added LADSPA
Diffstat (limited to 'doc')
-rw-r--r--doc/asoundrc.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/asoundrc.txt b/doc/asoundrc.txt
index 7d52bbbe..90de1400 100644
--- a/doc/asoundrc.txt
+++ b/doc/asoundrc.txt
@@ -293,6 +293,26 @@ pcm.NAME {
}
+ type ladspa # LADSPA plugin PCM
+ slave STR # Slave name (see pcm_slave)
+ path STR # Path or paths (delimited with ':')
+ plugins | playback_plugins | capture_plugins {
+ N { # Configuration for LADSPA plugin N
+ id # # LADSPA plugin ID (for example 1043)
+ label STR # LADSPA plugin label (for example 'delay_5s')
+ filename STR # Full filename of .so library with LADPA plugin code
+ policy STR # Policy can be 'none' or 'duplicate'
+ input | output {
+ bindings {
+ C INT or STR # C - channel, INT - audio port index, STR - audio port name
+ }
+ controls {
+ I INT or REAL # I - control port index, INT or REAL - control value
+ }
+ }
+ }
+ }
+
}
# CTL type definition
@@ -404,3 +424,20 @@ pcm.m {
pcm_scope_type.level {
lib /home/abramo/scopes/liblevel.so
}
+
+# an example command is 'aplay -D plug:ladspa <filename>'
+# otherwise, the ladspa plugin expects FLOAT type which
+# is very rare
+pcm.ladspa {
+ type ladspa
+ slave.pcm "plughw:0,0";
+ path "/home/perex/src/ladspa_sdk/plugins";
+ plugins [
+ {
+ label delay_5s
+ input {
+ controls [ 0.8 0.2 ]
+ }
+ }
+ ]
+}