summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAbramo Bagnara <abramo@alsa-project.org>2000-10-14 10:46:36 +0000
committerAbramo Bagnara <abramo@alsa-project.org>2000-10-14 10:46:36 +0000
commite39bf6e72e1d2cf32b00f6e0439f6013fa558423 (patch)
treeb98c9e1b470f6f01a1bd1d82fe4709a31706f3b4 /doc
parent8d554635af336c89203676d3ff652ee87a5501a7 (diff)
.asoundrc documentation
Diffstat (limited to 'doc')
-rw-r--r--doc/asoundrc.doc141
1 files changed, 141 insertions, 0 deletions
diff --git a/doc/asoundrc.doc b/doc/asoundrc.doc
new file mode 100644
index 00000000..e9e6d537
--- /dev/null
+++ b/doc/asoundrc.doc
@@ -0,0 +1,141 @@
+
+PCM common fields:
+type PCM type
+[comment] Saved comments
+[stream] capture or playback (default both)
+
+PCM types:
+
+- hw Kernel PCM
+Fields:
+card Card name or number
+[device] Device number (default 0)
+[subdevice] Subdevice number, -1 first available (default -1)
+
+- plug Format adjusted PCM
+Fields:
+sname Slave PCM name
+ttable Transfer table (bidimensional compound of
+ cchannels * schannels numbers)
+ .C
+ .S route value
+
+- linear Linear format conversion PCM
+- adpcm IMA-ADPCM format conversion PCM
+- alaw A-Law format conversion PCM
+- mulaw Mu-Law format conversion PCM
+Fields:
+sformat Slave format
+sname Slave PCM name
+
+- rate Rate conversion PCM
+Fields:
+[sformat] Slave format (default client format)
+srate Slave rate
+sname Slave PCM name
+
+- route Attenuated static route PCM
+Fields:
+[sformat] Slave format (default client format)
+[schannels] Slave channels (default client channels)
+sname Slave PCM name
+ttable Transfer table (bidimensional compound of
+ cchannels * schannels numbers)
+ .C
+ .S route value
+
+- multi Linked PCMs (exclusive access to selected channels)
+Fields:
+slave Slaves definitions
+ .N Slave definition
+ .name Slave PCM name
+ .channels Slave channels
+binding Bindings table
+ .N Binding for client channel N
+ .sidx Slave key for slave definition
+ .schannel Slave channel
+
+- file File plugin
+Fields:
+sname Slave PCM name
+file File name (or fd)
+[format] File format (NYI)
+
+
+- null Null endpoint plugin (NYI)
+Fields:
+time Time related or not
+
+- shm Shared memory client PCM
+Fields:
+server Server name
+sname Slave PCM name on server
+
+- share Share PCM
+Fields:
+sname Slave name
+[schannels] Slave channels
+binding Bindings table
+ .N Slave channel for client channel N
+
+- mix Mix PCM (NYI)
+Fields:
+sname Server name
+binding Bindings table
+ .N Binding for client channel N
+ .schannel Slave channel
+
+- droute Attenuated dynamic route PCM (NYI)
+Fields:
+[sformat] Slave format (default client format)
+[schannels] Slave channels (default client channels)
+sname Slave PCM name
+binding Bindings table
+ .N Binding entry
+ .cchannel Client channels
+ .C Client channel
+ .schannel Slave channels
+ .S Slave channel
+ .control Control name of C * S values or C values (only if C == S)
+
+- lbserver Loopback server (NYI)
+Fields:
+name Loopback PCM ID (useful for multiple loopback served by the
+ same server)
+[socket] PF_LOCAL socket name to listen
+[port] PF_INET port number to listen
+sname Slave name
+
+
+CTL common fields:
+type CTL type
+[comment] Saved comments
+
+- hw Kernel CTL
+Fields:
+card Card name or number
+
+- shm Shared memory client CTL
+Fields:
+server Server name
+sname Slave CTL name on server
+
+Other related definitions:
+
+- pcmtype PCM type
+Fields:
+[lib] Library file
+open Open function
+
+- ctltype Control type
+Fields:
+[lib] Library file
+open Open function
+
+- server Server
+Fields:
+host host where the server is located (if map to local address
+ server is local, and then it may be started automatically)
+[socket] PF_LOCAL socket name to listen/connect
+[port] PF_INET port number to listen/connect
+