alsaloop: Fix latency print

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2010-10-14 15:39:28 +02:00
parent 513a9c7ad1
commit 1ae28cae89

View file

@ -1394,7 +1394,7 @@ int pcmjob_start(struct loopback *loop)
if ((err = setparams(loop, loop->latency/2)) < 0) if ((err = setparams(loop, loop->latency/2)) < 0)
goto __error; goto __error;
if (verbose) if (verbose)
showlatency(loop->output, loop->latency, loop->play->rate, "Latency"); showlatency(loop->output, loop->latency, loop->play->rate_req, "Latency");
if (loop->play->access == loop->capt->access && if (loop->play->access == loop->capt->access &&
loop->play->format == loop->capt->format && loop->play->format == loop->capt->format &&
loop->play->rate == loop->capt->rate && loop->play->rate == loop->capt->rate &&