meson: temporarily add check to conditionally enable the fade functionality

and in case it's missing, also #define some things to make compilation work,
since this is only available in a pipewire branch right now
This commit is contained in:
George Kiagiadakis
2020-02-28 13:18:28 +02:00
parent a861e47643
commit ca8d100b3f
4 changed files with 33 additions and 2 deletions

View File

@@ -16,6 +16,14 @@
#include "stream.h"
#if !defined(HAVE_AUDIOFADE)
# define SPA_PROP_audioFadeDuration 0x30001
# define SPA_PROP_audioFadeStep 0x30002
# define SPA_PROP_audioFadeDirection 0x30003
# define SPA_PROP_audioFadeType 0x30004
# define SPA_NAME_CONTROL_AUDIO_FADE_SOURCE "control.audio.fade.source"
#endif
typedef struct _WpAudioStreamPrivate WpAudioStreamPrivate;
struct _WpAudioStreamPrivate
{