Audacity 3.2.0
AudioIOExt.cpp
Go to the documentation of this file.
1/*!********************************************************************
2
3 Audacity: A Digital Audio Editor
4
5 @file AudioIOExt.cpp
6
7 Paul Licameli
8
9 **********************************************************************/
10
11#include "AudioIOExt.h"
12
13AudioIOExt::~AudioIOExt() = default;
14
16{
17 static Factories factories;
18 return factories;
19}
20
22{
23 GetFactories().push_back( move(factory) );
24}
25
27{
28 GetFactories().pop_back();
29}
Abstract base class for hooks into audio playback procedures.
static RegisteredToolbarFactory factory
std::vector< AudioIOExt::Factory > Factories
Definition: AudioIOExt.h:33
virtual ~AudioIOExt()
std::function< std::unique_ptr< AudioIOExt >(const PlaybackSchedule &) > Factory
Definition: AudioIOExt.h:32
static Factories & GetFactories()
Definition: AudioIOExt.cpp:15
RegisteredFactory(Factory factory)
Definition: AudioIOExt.cpp:21