aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/alsa.c')
-rw-r--r--Alc/backends/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/alsa.c b/Alc/backends/alsa.c
index d780942e..b4bf83c7 100644
--- a/Alc/backends/alsa.c
+++ b/Alc/backends/alsa.c
@@ -1259,7 +1259,7 @@ static ALint64 alsa_get_latency(ALCdevice *device)
if((err=snd_pcm_delay(data->pcmHandle, &delay)) < 0)
{
- ERR("Failed to get latency!\n");
+ ERR("Failed to get pcm delay: %s\n", snd_strerror(err));
return 0;
}
return maxi64((ALint64)delay*1000000000/device->Frequency, 0);