summaryrefslogtreecommitdiff
path: root/libs/ardour/mp3fileimportable.cc
diff options
context:
space:
mode:
authorJohn Emmas <john@creativepost.co.uk>2019-12-08 15:01:59 +0000
committerJohn Emmas <john@creativepost.co.uk>2019-12-08 15:01:59 +0000
commite510a8555d8872cd8a7601dbf8c4edb3bd2f793b (patch)
tree2eb2794f0be44ed8e0b690f58d6b2d36a6effe86 /libs/ardour/mp3fileimportable.cc
parent7253f304e2f6d4016ae03a901fef393b61cd3bd5 (diff)
Minor changes needed to make the 'mp3 import' sources build with MSVC
(MSVC project changes to follow...)
Diffstat (limited to 'libs/ardour/mp3fileimportable.cc')
-rw-r--r--libs/ardour/mp3fileimportable.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/mp3fileimportable.cc b/libs/ardour/mp3fileimportable.cc
index 9d79b1be8a..d2ab4ad5bb 100644
--- a/libs/ardour/mp3fileimportable.cc
+++ b/libs/ardour/mp3fileimportable.cc
@@ -33,9 +33,10 @@
#include "pbd/error.h"
#include "ardour/mp3fileimportable.h"
-using namespace ARDOUR;
using namespace std;
+namespace ARDOUR {
+
Mp3FileImportableSource::Mp3FileImportableSource (const string& path)
: _fd (-1)
, _map_addr (0)
@@ -235,3 +236,5 @@ Mp3FileImportableSource::read_unlocked (Sample* dst, samplepos_t start, samplecn
}
return dst_off;
}
+
+}