From 0c2e5091bf968370d12f011dbec775d13f9b28ff Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Tue, 29 Dec 2009 14:34:13 +0100 Subject: [PATCH] DirectSound: Cosmetics Signed-off-by: Jean-Baptiste Kempf --- modules/audio_output/directx.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/audio_output/directx.c b/modules/audio_output/directx.c index 6c02383b60..3b3c0ac8f6 100644 --- a/modules/audio_output/directx.c +++ b/modules/audio_output/directx.c @@ -159,7 +159,7 @@ static int OpenAudio( vlc_object_t *p_this ) const char * const * ppsz_compare = speaker_list; - msg_Dbg( p_aout, "OpenAudio" ); + msg_Dbg( p_aout, "Opening DirectSound Audio Output" ); /* Allocate structure */ p_aout->output.p_sys = malloc( sizeof( aout_sys_t ) ); @@ -1121,11 +1121,10 @@ static void* DirectSoundThread( vlc_object_t *p_this ) static int CALLBACK CallBackConfigNBEnum( LPGUID p_guid, LPCSTR psz_desc, LPCSTR psz_mod, LPVOID p_nb ) { - VLC_UNUSED( psz_mod ); - VLC_UNUSED( psz_desc ); - VLC_UNUSED( p_guid ); + VLC_UNUSED( psz_mod ); VLC_UNUSED( psz_desc ); VLC_UNUSED( p_guid ); + int * a = (int *)p_nb; - *a = *a +1; + (*a)++; return 1; } -- 2.39.5