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