wasapi2: Fix build with GST_DISABLE_GST_DEBUG

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5585>
This commit is contained in:
Seungha Yang 2023-11-02 00:33:46 +09:00 committed by GStreamer Marge Bot
parent 8009f5275a
commit 34d221dad5

View file

@ -49,8 +49,13 @@ gboolean _gst_wasapi2_result (HRESULT hr,
const gchar * function, const gchar * function,
gint line); gint line);
#ifndef GST_DISABLE_GST_DEBUG
#define gst_wasapi2_result(result) \ #define gst_wasapi2_result(result) \
_gst_wasapi2_result (result, GST_CAT_DEFAULT, __FILE__, GST_FUNCTION, __LINE__) _gst_wasapi2_result (result, GST_CAT_DEFAULT, __FILE__, GST_FUNCTION, __LINE__)
#else
#define gst_wasapi2_result(result) \
_gst_wasapi2_result (result, NULL, __FILE__, GST_FUNCTION, __LINE__)
#endif
guint64 gst_wasapi2_util_waveformatex_to_channel_mask (WAVEFORMATEX * format, guint64 gst_wasapi2_util_waveformatex_to_channel_mask (WAVEFORMATEX * format,
GstAudioChannelPosition ** out_position); GstAudioChannelPosition ** out_position);