mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:35:42 +01:00
aplay/arecord: remove debug printfs introduced by previous patch
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
641556d963
commit
57a38debe1
1 changed files with 0 additions and 2 deletions
|
@ -1150,7 +1150,6 @@ static void xrun(void)
|
||||||
struct timespec now, diff, tstamp;
|
struct timespec now, diff, tstamp;
|
||||||
clock_gettime(CLOCK_MONOTONIC, &now);
|
clock_gettime(CLOCK_MONOTONIC, &now);
|
||||||
snd_pcm_status_get_trigger_htstamp(status, &tstamp);
|
snd_pcm_status_get_trigger_htstamp(status, &tstamp);
|
||||||
printf("AAA: %li %li\n" "BBB\n", tstamp.tv_sec, now.tv_nsec);
|
|
||||||
timermsub(&now, &tstamp, &diff);
|
timermsub(&now, &tstamp, &diff);
|
||||||
fprintf(stderr, _("%s!!! (at least %.3f ms long)\n"),
|
fprintf(stderr, _("%s!!! (at least %.3f ms long)\n"),
|
||||||
stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
|
stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
|
||||||
|
@ -1162,7 +1161,6 @@ static void xrun(void)
|
||||||
struct timeval now, diff, tstamp;
|
struct timeval now, diff, tstamp;
|
||||||
gettimeofday(&now, 0);
|
gettimeofday(&now, 0);
|
||||||
snd_pcm_status_get_trigger_tstamp(status, &tstamp);
|
snd_pcm_status_get_trigger_tstamp(status, &tstamp);
|
||||||
printf("AAA: %li %li\n", tstamp.tv_sec, now.tv_sec);
|
|
||||||
timersub(&now, &tstamp, &diff);
|
timersub(&now, &tstamp, &diff);
|
||||||
fprintf(stderr, _("%s!!! (at least %.3f ms long)\n"),
|
fprintf(stderr, _("%s!!! (at least %.3f ms long)\n"),
|
||||||
stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
|
stream == SND_PCM_STREAM_PLAYBACK ? _("underrun") : _("overrun"),
|
||||||
|
|
Loading…
Reference in a new issue