aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.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/wave.c
parente49607078e7d34eaf2f7daecc2ee6bf6ece353c4 (diff)
Provide more descriptive messages to disconnection events
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r--Alc/backends/wave.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c
index ecb066f8..13ffaeec 100644
--- a/Alc/backends/wave.c
+++ b/Alc/backends/wave.c
@@ -204,7 +204,7 @@ static int ALCwaveBackend_mixerProc(void *ptr)
{
ERR("Error writing to file\n");
ALCdevice_Lock(device);
- aluHandleDisconnect(device);
+ aluHandleDisconnect(device, "Failed to write playback samples");
ALCdevice_Unlock(device);
break;
}