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