changeset 14503:af82f404a979

print why waveOutOpen failed
author faust3
date Sat, 15 Jan 2005 19:27:00 +0000
parents 8769fa370f83
children e394a9cfaf3f
files libao2/ao_win32.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_win32.c	Sat Jan 15 16:11:45 2005 +0000
+++ b/libao2/ao_win32.c	Sat Jan 15 19:27:00 2005 +0000
@@ -220,7 +220,7 @@
 	}
 	if(result != MMSYSERR_NOERROR)
 	{
-		mp_msg(MSGT_AO, MSGL_ERR,"ao_win32: unable to open wave mapper device\n");
+		mp_msg(MSGT_AO, MSGL_ERR,"ao_win32: unable to open wave mapper device (result=%i)\n",result);
 		return 0;
     }
 	//allocate buffer memory as one big block