summaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 48f7a358..a888843a 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -321,6 +321,7 @@ open_alsa:
if(i < 0)
{
free(data);
+ AL_PRINT("Could not open playback device '%s': %s\n", driver, psnd_strerror(i));
return ALC_FALSE;
}
@@ -474,6 +475,7 @@ open_alsa:
if(i < 0)
{
free(data);
+ AL_PRINT("Could not open capture device '%s': %s\n", driver, psnd_strerror(i));
return ALC_FALSE;
}