13
0

Export AudioGraphper::Source and AudioGrapher::ListedSource

after an MSVC update this morning, these classes need to be exportable now - I'm not quite sure why :-(
This commit is contained in:
John Emmas 2023-03-15 13:39:56 +00:00
parent ca67752dc5
commit f8557cc00f
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ namespace AudioGrapher
* This is a pure virtual interface for all data sources in AudioGrapher * This is a pure virtual interface for all data sources in AudioGrapher
*/ */
template<typename T> template<typename T>
class /*LIBAUDIOGRAPHER_API*/ Source class LIBAUDIOGRAPHER_API Source
{ {
public: public:
virtual ~Source () { } virtual ~Source () { }

View File

@ -13,7 +13,7 @@ namespace AudioGrapher
/// An generic \a Source that uses a \a std::list for managing outputs /// An generic \a Source that uses a \a std::list for managing outputs
template<typename T = DefaultSampleType> template<typename T = DefaultSampleType>
class /*LIBAUDIOGRAPHER_API*/ ListedSource : public Source<T> class LIBAUDIOGRAPHER_API ListedSource : public Source<T>
{ {
public: public:
void add_output (typename Source<T>::SinkPtr output) { outputs.push_back(output); } void add_output (typename Source<T>::SinkPtr output) { outputs.push_back(output); }