13
0

Minor changes needed to make the 'mp3 import' sources build with MSVC

(MSVC project changes to follow...)
This commit is contained in:
John Emmas 2019-12-08 15:01:59 +00:00
parent 7253f304e2
commit e510a8555d
3 changed files with 8 additions and 2 deletions

View File

@ -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"

View File

@ -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;
}
}

View File

@ -0,0 +1,4 @@
/*
** Emtpy file to prevent Win32 compiler from complaining that the
** file doesn't exist.
*/