summaryrefslogtreecommitdiff
path: root/libs/ardour/sndfilesource.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2015-11-24 08:45:04 -0500
committerPaul Davis <paul@linuxaudiosystems.com>2015-11-24 08:45:10 -0500
commit6d08797297f355e32830bf2fdae9bd597d00c1ec (patch)
tree9e81ca46488992c68f46b19860dd88620ad4b2be /libs/ardour/sndfilesource.cc
parent51f58eb977e4b268ef017019d19ab15ecefa5d24 (diff)
update configure time tests and code to use libsndfile 1.0.26's version of the R64 auto-downgrade-to-WAV code
Diffstat (limited to 'libs/ardour/sndfilesource.cc')
-rw-r--r--libs/ardour/sndfilesource.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/sndfilesource.cc b/libs/ardour/sndfilesource.cc
index eedb563c72..35fec82145 100644
--- a/libs/ardour/sndfilesource.cc
+++ b/libs/ardour/sndfilesource.cc
@@ -316,7 +316,7 @@ SndFileSource::open ()
#ifdef HAVE_RF64_RIFF
if (_file_is_new && _length == 0 && writable()) {
if (_flags & RF64_RIFF) {
- if (sf_command (_sndfile, SFC_AUTO_DOWNGRADE_RF64, 0, 0) != SF_TRUE) {
+ if (sf_command (_sndfile, SFC_RF64_AUTO_DOWNGRADE, 0, 0) != SF_TRUE) {
char errbuf[256];
sf_error_str (_sndfile, errbuf, sizeof (errbuf) - 1);
error << string_compose (_("Cannot mark RF64 audio file for automatic downgrade to WAV: %1"), errbuf)