aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/sndio.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-02-03 13:54:42 -0800
committerChris Robinson <[email protected]>2018-02-03 13:54:42 -0800
commitb99e64a0e3759d326b53578516a4ca5084046e7c (patch)
tree4ebac51460010301a7d841c3bf87a44c518f19d9 /Alc/backends/sndio.c
parente49607078e7d34eaf2f7daecc2ee6bf6ece353c4 (diff)
Provide more descriptive messages to disconnection events
Diffstat (limited to 'Alc/backends/sndio.c')
-rw-r--r--Alc/backends/sndio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/sndio.c b/Alc/backends/sndio.c
index f7b9af69..06a434d9 100644
--- a/Alc/backends/sndio.c
+++ b/Alc/backends/sndio.c
@@ -117,7 +117,7 @@ static int ALCsndioBackend_mixerProc(void *ptr)
{
ERR("sio_write failed\n");
ALCdevice_Lock(device);
- aluHandleDisconnect(device);
+ aluHandleDisconnect(device, "Failed to write playback samples");
ALCdevice_Unlock(device);
break;
}