mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-03 14:08:56 +00:00
wasapi2: Fix build with GST_DISABLE_GST_DEBUG
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5585>
This commit is contained in:
parent
8009f5275a
commit
34d221dad5
1 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue