mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 03:05:43 +01:00
Removed ptrs from status. Some cleaning for alsa-lib
This commit is contained in:
parent
da8c3eddb0
commit
fe0398a0f6
1 changed files with 1 additions and 1 deletions
|
@ -845,7 +845,7 @@ void xrun(void)
|
||||||
struct timeval now, diff;
|
struct timeval now, diff;
|
||||||
gettimeofday(&now, 0);
|
gettimeofday(&now, 0);
|
||||||
timersub(&now, &status.trigger_time, &diff);
|
timersub(&now, &status.trigger_time, &diff);
|
||||||
fprintf(stderr, "xrun at position %lu (at least %.3f ms long)!!!\n", (unsigned long)status.hw_ptr, diff.tv_sec * 1000 + diff.tv_usec / 1000.0);
|
fprintf(stderr, "xrun!!! (at least %.3f ms long)\n", diff.tv_sec * 1000 + diff.tv_usec / 1000.0);
|
||||||
if (verbose) {
|
if (verbose) {
|
||||||
fprintf(stderr, "Status:\n");
|
fprintf(stderr, "Status:\n");
|
||||||
snd_pcm_dump_status(&status, stderr);
|
snd_pcm_dump_status(&status, stderr);
|
||||||
|
|
Loading…
Reference in a new issue