forked from pool/alsa-utils
Takashi Iwai
3331bcfb82
* A few alsactl init fix patches: * amixer control-id parse fix * new aloop utility * robusitfy speaker-test * misc clean up, translation updates - Use systemd for openSUSE 11.4 - Put udev rules into this package instead of alsa.rpm OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=23
27 lines
918 B
Diff
27 lines
918 B
Diff
From 1ae28cae89a12ed39532bc2a3596e4efa0189e4c Mon Sep 17 00:00:00 2001
|
|
From: Jaroslav Kysela <perex@perex.cz>
|
|
Date: Thu, 14 Oct 2010 15:39:28 +0200
|
|
Subject: [PATCH 31/38] alsaloop: Fix latency print
|
|
|
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
---
|
|
alsaloop/pcmjob.c | 2 +-
|
|
1 files changed, 1 insertions(+), 1 deletions(-)
|
|
|
|
diff --git a/alsaloop/pcmjob.c b/alsaloop/pcmjob.c
|
|
index 6aa8bfe..925380c 100644
|
|
--- a/alsaloop/pcmjob.c
|
|
+++ b/alsaloop/pcmjob.c
|
|
@@ -1394,7 +1394,7 @@ int pcmjob_start(struct loopback *loop)
|
|
if ((err = setparams(loop, loop->latency/2)) < 0)
|
|
goto __error;
|
|
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 &&
|
|
loop->play->format == loop->capt->format &&
|
|
loop->play->rate == loop->capt->rate &&
|
|
--
|
|
1.7.3.1
|
|
|