mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 05:31:15 +00:00
wasapi: fix symbol redefinition build error
This commit is contained in:
parent
f175b05c1d
commit
1181436545
2 changed files with 8 additions and 3 deletions
|
@ -22,6 +22,14 @@
|
|||
# include <config.h>
|
||||
#endif
|
||||
|
||||
/* Note: initguid.h can not be included in gstwasapiutil.h, otherwise a
|
||||
* symbol redefinition error will be raised.
|
||||
* initguid.h must be included in the C file before mmdeviceapi.h
|
||||
* which is included in gstwasapiutil.h.
|
||||
*/
|
||||
#ifdef _MSC_VER
|
||||
#include <initguid.h>
|
||||
#endif
|
||||
#include "gstwasapiutil.h"
|
||||
#include "gstwasapidevice.h"
|
||||
|
||||
|
|
|
@ -25,9 +25,6 @@
|
|||
#include <gst/audio/gstaudiosrc.h>
|
||||
#include <gst/audio/gstaudiosink.h>
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#include <initguid.h>
|
||||
#endif
|
||||
#include <mmdeviceapi.h>
|
||||
#include <audioclient.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue