From ef11ba77ed28fb506bd68ddfb7a54818db3aafa9 Mon Sep 17 00:00:00 2001 From: Clemens Ladisch Date: Mon, 26 Apr 2004 07:40:12 +0000 Subject: [PATCH] document all PCM plugin parameters --- src/pcm/pcm_adpcm.c | 3 ++- src/pcm/pcm_alaw.c | 1 + src/pcm/pcm_dmix.c | 2 ++ src/pcm/pcm_dshare.c | 2 ++ src/pcm/pcm_dsnoop.c | 2 ++ src/pcm/pcm_lfloat.c | 1 + src/pcm/pcm_linear.c | 1 + src/pcm/pcm_mulaw.c | 1 + src/pcm/pcm_rate.c | 2 ++ src/pcm/pcm_route.c | 7 +++++++ src/pcm/pcm_share.c | 5 +++++ 11 files changed, 26 insertions(+), 1 deletion(-) diff --git a/src/pcm/pcm_adpcm.c b/src/pcm/pcm_adpcm.c index 1b824a9f..fa429972 100644 --- a/src/pcm/pcm_adpcm.c +++ b/src/pcm/pcm_adpcm.c @@ -588,7 +588,7 @@ int snd_pcm_adpcm_open(snd_pcm_t **pcmp, const char *name, snd_pcm_format_t sfor \section pcm_plugins_adpcm Plugin: Ima-ADPCM -This plugin converts Ima-ADPCM samples to linear or linear to Mu-Law samples +This plugin converts Ima-ADPCM samples to linear or linear to Ima-ADPCM samples from master Ima-ADPCM conversion PCM to given slave PCM. The channel count, format and rate must match for both of them. @@ -601,6 +601,7 @@ pcm.name { pcm STR # Slave PCM name # or pcm { } # Slave PCM definition + format STR # Slave format } } \endcode diff --git a/src/pcm/pcm_alaw.c b/src/pcm/pcm_alaw.c index d3f5a876..c8c6cc9a 100644 --- a/src/pcm/pcm_alaw.c +++ b/src/pcm/pcm_alaw.c @@ -473,6 +473,7 @@ pcm.name { pcm STR # Slave PCM name # or pcm { } # Slave PCM definition + format STR # Slave format } } \endcode diff --git a/src/pcm/pcm_dmix.c b/src/pcm/pcm_dmix.c index 309514e9..15954cdb 100644 --- a/src/pcm/pcm_dmix.c +++ b/src/pcm/pcm_dmix.c @@ -991,6 +991,7 @@ pcm.name { type dmix # Direct mix ipc_key INT # unique IPC key ipc_key_add_uid BOOL # add current uid to unique IPC key + ipc_perm INT # IPC permissions (octal, default 0600) slave STR # or slave { # Slave definition @@ -1011,6 +1012,7 @@ pcm.name { bindings { # note: this is client independent!!! N INT # maps slave channel to client channel N } + slowptr BOOL # slow but more precise pointer updates } \endcode diff --git a/src/pcm/pcm_dshare.c b/src/pcm/pcm_dshare.c index fe729cec..4aa3848e 100644 --- a/src/pcm/pcm_dshare.c +++ b/src/pcm/pcm_dshare.c @@ -727,6 +727,7 @@ pcm.name { type dshare # Direct sharing ipc_key INT # unique IPC key ipc_key_add_uid BOOL # add current uid to unique IPC key + ipc_perm INT # IPC permissions (octal, default 0600) slave STR # or slave { # Slave definition @@ -747,6 +748,7 @@ pcm.name { bindings { # note: this is client independent!!! N INT # maps slave channel to client channel N } + slowptr BOOL # slow but more precise pointer updates } \endcode diff --git a/src/pcm/pcm_dsnoop.c b/src/pcm/pcm_dsnoop.c index 6e219558..66789612 100644 --- a/src/pcm/pcm_dsnoop.c +++ b/src/pcm/pcm_dsnoop.c @@ -677,6 +677,7 @@ pcm.name { type dsnoop # Direct snoop ipc_key INT # unique IPC key ipc_key_add_uid BOOL # add current uid to unique IPC key + ipc_perm INT # IPC permissions (octal, default 0600) slave STR # or slave { # Slave definition @@ -697,6 +698,7 @@ pcm.name { bindings { # note: this is client independent!!! N INT # maps slave channel to client channel N } + slowptr BOOL # slow but more precise pointer updates } \endcode diff --git a/src/pcm/pcm_lfloat.c b/src/pcm/pcm_lfloat.c index 83ab865e..218d6c45 100644 --- a/src/pcm/pcm_lfloat.c +++ b/src/pcm/pcm_lfloat.c @@ -432,6 +432,7 @@ pcm.name { pcm STR # Slave PCM name # or pcm { } # Slave PCM definition + format STR # Slave format } } \endcode diff --git a/src/pcm/pcm_linear.c b/src/pcm/pcm_linear.c index a995d5c9..27b7bfa1 100644 --- a/src/pcm/pcm_linear.c +++ b/src/pcm/pcm_linear.c @@ -488,6 +488,7 @@ pcm.name { pcm STR # Slave PCM name # or pcm { } # Slave PCM definition + format STR # Slave format } } \endcode diff --git a/src/pcm/pcm_mulaw.c b/src/pcm/pcm_mulaw.c index ea2b4fe0..8d9baf73 100644 --- a/src/pcm/pcm_mulaw.c +++ b/src/pcm/pcm_mulaw.c @@ -488,6 +488,7 @@ pcm.name { pcm STR # Slave PCM name # or pcm { } # Slave PCM definition + format STR # Slave format } } \endcode diff --git a/src/pcm/pcm_rate.c b/src/pcm/pcm_rate.c index 9ba28e25..68025750 100644 --- a/src/pcm/pcm_rate.c +++ b/src/pcm/pcm_rate.c @@ -1428,6 +1428,8 @@ pcm.name { pcm STR # Slave PCM name # or pcm { } # Slave PCM definition + rate INT # Slave rate + [format STR] # Slave format } } \endcode diff --git a/src/pcm/pcm_route.c b/src/pcm/pcm_route.c index 9c6a7b07..ea37abbe 100644 --- a/src/pcm/pcm_route.c +++ b/src/pcm/pcm_route.c @@ -1047,6 +1047,13 @@ pcm.name { pcm STR # Slave PCM name # or pcm { } # Slave PCM definition + [format STR] # Slave format + [channels INT] # Slave channels + } + ttable { # Transfer table (bi-dimensional compound of cchannels * schannels numbers) + CCHANNEL { + SCHANNEL REAL # route value (0.0 - 1.0) + } } } \endcode diff --git a/src/pcm/pcm_share.c b/src/pcm/pcm_share.c index 6e1001e8..deecbcbc 100644 --- a/src/pcm/pcm_share.c +++ b/src/pcm/pcm_share.c @@ -1515,6 +1515,11 @@ pcm.name { # or slave { # Slave definition pcm STR # Slave PCM name + [format STR] # Slave format + [channels INT] # Slave channels + [rate INT] # Slave rate + [period_time INT] # Slave period time in us + [buffer_time INT] # Slave buffer time in us } bindings { N INT # Slave channel INT for client channel N -- 2.47.1