summaryrefslogtreecommitdiff
path: root/libs
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
parent7253f304e2f6d4016ae03a901fef393b61cd3bd5 (diff)
Minor changes needed to make the 'mp3 import' sources build with MSVC
(MSVC project changes to follow...)
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/ardour/mp3fileimportable.h1
-rw-r--r--libs/ardour/mp3fileimportable.cc5
2 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/mp3fileimportable.h b/libs/ardour/ardour/mp3fileimportable.h
index 61d40cd35a..1da65d0925 100644
--- a/libs/ardour/ardour/mp3fileimportable.h
+++ b/libs/ardour/ardour/mp3fileimportable.h
@@ -20,7 +20,6 @@
#ifndef _ardour_mp3file_importable_source_h_
#define _ardour_mp3file_importable_source_h_
-#include <boost/shared_ptr.hpp>
#include "ardour/libardour_visibility.h"
#include "ardour/types.h"
#include "ardour/importable_source.h"
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;
}
+
+}