f622b6
.TH ALSA-DELAY 1 "6 Jane 2016"
f622b6
.SH NAME
f622b6
alsadelay \- a command to (re)initialize sound hardware
f622b6
f622b6
.SH SYNOPSIS
f622b6
\fBalsa-delay\fP \fI[options]\fP \fIrequested_delay_in_ms\fP [\fIoutput_card\fP[,\fIdevice\fP]]
f622b6
f622b6
.SH DESCRIPTION
f622b6
\fBalsa-delay\fP is a command\-line utility to setup an audio
f622b6
delay. The snd-aloop ALSA driver is used to send all PCM streams
f622b6
back to the user space and the alsaloop utility is used to send
f622b6
this stream to a real hardware.
f622b6
f622b6
The parameter \fIoutput_card\fP is ALSA card index (number) or
f622b6
string card identifier. The parameter \fIdevice\fP is ALSA device number.
f622b6
f622b6
Use \fIaplay -l\fP to list available cards and devices.
f622b6
f622b6
f622b6
.SH OPTIONS
f622b6
.TP
f622b6
\fI\-\-h,\-\-help\fP
f622b6
Print help.
f622b6
.TP
f622b6
\fI\-\-q,\-\-quiet\fP
f622b6
Quiet mode.
f622b6
.TP
f622b6
\fI\-\-y,\-\-yes\fP
f622b6
Do not ask any questions - answer is always yes.
f622b6
.TP
f622b6
\fI\-\-c,\-\-clean\fP
f622b6
Clean temporary directory.
f622b6
.TP
f622b6
\fI\-\-r,\-\-remove\fP
f622b6
Remove the alsa-delay config modifications (modprobe, pulse-audio).
f622b6
.TP
f622b6
\fI\-\-tmpdir=<DIR>\fP
f622b6
Set temporary directory.
f622b6
f622b6
.SH OPTIONS (for alsaloop daemon)
f622b6
.TP
f622b6
\fI\-\-pdevice=<DEV>\fP
f622b6
Force playback device.
f622b6
.TP
f622b6
\fI\-\-cdevice=<DEV>\fP
f622b6
Force capture device.
f622b6
.TP
f622b6
\fI\-\-pctl=<DEV>\fP
f622b6
Force playback control device.
f622b6
.TP
f622b6
\fI\-\-cctl=<DEV>\fP
f622b6
Force capture control device.
f622b6
.TP
f622b6
\fI\-\-one=<ARG>\fP
f622b6
Pass this argument to last thread.
f622b6
.TP
f622b6
\fI\-\-arg=<ARG>\fP
f622b6
Pass this argument to all threads.
f622b6
.TP
f622b6
\fI\-\-mix=<ARG>\fP
f622b6
Redirect ALSA mixer controls to OSS mixer (default is Master).
f622b6
.TP
f622b6
\fI\-\-pa\fP
f622b6
Redirect pulse-audio to alsaloop.
f622b6
f622b6
.SH NOTE
f622b6
f622b6
For devices, the string %s is replaced with the card index
f622b6
and second string %s is replaced with the device index
f622b6
and third string %s is replaced the substream index (0-7).
f622b6
f622b6
Example: hw:%s,%s,%s (card, device, substream)
f622b6
f622b6
.SH SEE ALSO
f622b6
\fB
f622b6
alsaloop(1)
f622b6
amixer(1)
f622b6
alsamixer(1)