[vlc-devel] commit: Kill directSound warnings (Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Aug 19 23:43:22 CEST 2009


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Aug 19 22:47:28 2009 +0200| [fc0b2f11ca9d1f9041fb8307cd09a9189dfc77d0] | committer: Jean-Baptiste Kempf 

Kill directSound warnings

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

 modules/audio_output/directx.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c
index 80081cd..68cf2f3 100644
--- a/modules/audio_output/directx.c
+++ b/modules/audio_output/directx.c
@@ -748,6 +748,8 @@ static void CloseAudio( vlc_object_t *p_this )
 static int CALLBACK CallBackDirectSoundEnum( LPGUID p_guid, LPCSTR psz_desc,
                                              LPCSTR psz_mod, LPVOID _p_aout )
 {
+    VLC_UNUSED( psz_mod );
+
     aout_instance_t *p_aout = (aout_instance_t *)_p_aout;
 
     msg_Dbg( p_aout, "found device: %s", psz_desc );
@@ -1041,7 +1043,7 @@ static int FillBuffer( aout_instance_t *p_aout, int i_frame,
     notification_thread_t *p_notif = p_aout->output.p_sys->p_notif;
     aout_sys_t *p_sys = p_aout->output.p_sys;
     void *p_write_position, *p_wrap_around;
-    long l_bytes1, l_bytes2;
+    unsigned long l_bytes1, l_bytes2;
     HRESULT dsresult;
 
     /* Before copying anything, we have to lock the buffer */




More information about the vlc-devel mailing list