[vlc-commits] DirectSound: meaningfull error messages

Jean-Baptiste Kempf git at videolan.org
Wed Oct 21 18:19:38 CEST 2015


vlc/vlc-2.2 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul 17 16:56:02 2015 +0200| [08fa6fa20c89bf9f45a718f21be8d6acf6bfefbc] | committer: Jean-Baptiste Kempf

DirectSound: meaningfull error messages

(cherry picked from commit e710a62cdf09fe2f08da2bd9dbdd291e4ad1140b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=08fa6fa20c89bf9f45a718f21be8d6acf6bfefbc
---

 modules/audio_output/directsound.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/audio_output/directsound.c b/modules/audio_output/directsound.c
index 88326d0..f2f6964 100644
--- a/modules/audio_output/directsound.c
+++ b/modules/audio_output/directsound.c
@@ -286,7 +286,7 @@ static HRESULT Play( vlc_object_t *obj, aout_stream_sys_t *sys,
                                             0, 0, DSBPLAY_LOOPING );
     }
     if( dsresult != DS_OK )
-        msg_Err( obj, "cannot start playing buffer" );
+        msg_Err( obj, "cannot start playing buffer: (hr=0x%0lx)", dsresult );
     else
     {
         vlc_mutex_lock( &sys->lock );



More information about the vlc-commits mailing list