diff options
author | František Dvořák <valtri@civ.zcu.cz> | 2009-01-12 19:27:25 +0100 |
---|---|---|
committer | František Dvořák <valtri@civ.zcu.cz> | 2009-01-12 19:27:25 +0100 |
commit | 38f72a2f214e8ee815812da1a3e42f86b874ef9d (patch) | |
tree | 607dd3c3c031f4b13903a6cf2c0e3d5431eac2d2 /src/audio_out/audio_directx2_out.c | |
parent | c7e8597557c22896ba67517e5da7c79dab37b196 (diff) | |
download | xine-lib-38f72a2f214e8ee815812da1a3e42f86b874ef9d.tar.gz xine-lib-38f72a2f214e8ee815812da1a3e42f86b874ef9d.tar.bz2 |
Fix build of directx VO plugin.
Update for build with newer mingw compilation tools.
Diffstat (limited to 'src/audio_out/audio_directx2_out.c')
-rw-r--r-- | src/audio_out/audio_directx2_out.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/audio_out/audio_directx2_out.c b/src/audio_out/audio_directx2_out.c index e91e919fc..6bee2066c 100644 --- a/src/audio_out/audio_directx2_out.c +++ b/src/audio_out/audio_directx2_out.c @@ -143,9 +143,13 @@ typedef struct { * Defining them here allows us to get rid of the dxguid library during * the linking stage. *****************************************************************************/ -static const GUID IID_IDirectSoundNotify = { +static const GUID xine_IID_IDirectSoundNotify = { 0xB0210783, 0x89CD, 0x11D0, {0xAF, 0x08, 0x00, 0xA0, 0xC9, 0x25, 0xCD, 0x16} }; +#ifdef IID_IDirectSoundNotify +# undef IID_IDirectSoundNotify +#endif +#define IID_IDirectSoundNotify xine_IID_IDirectSoundNotify @@ -550,8 +554,6 @@ static size_t buffer_occupied_size(dx2_driver_t *this) { /* service thread working with direct sound buffer */ static void *buffer_service(void *data) { dx2_driver_t *this = (dx2_driver_t *)data; - DWORD ret; - size_t play_pos; size_t buffer_min; size_t data_in_buffer; |