From ac874091220d062e93a69afb8ce640b25a138ed2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 14 May 2021 19:03:52 -0600 Subject: [PATCH] #ifdef code dependent on libsndfile 1.0.28 --- libs/ardour/sndfilesource.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc index 0a66041ee5..f68f656e57 100644 --- a/libs/ardour/sndfilesource.cc +++ b/libs/ardour/sndfilesource.cc @@ -395,6 +395,8 @@ SndFileSource::open () } } #endif + +#ifdef LIBSNDFILE_SUPPORTS_CUES_AND_LABELS if (!writable()) { cerr << "Check for cues with " << _sndfile << endl; uint32_t cc; @@ -410,7 +412,7 @@ SndFileSource::open () } } } - +#endif if (!_broadcast_info) { _broadcast_info = new BroadcastInfo; }