Audacity  3.0.3
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 
13 AudioIOExt::~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 }
AudioIOExt::RegisteredFactory::~RegisteredFactory
~RegisteredFactory()
Definition: AudioIOExt.cpp:26
AudioIOExt::Factories
std::vector< AudioIOExt::Factory > Factories
Definition: AudioIOExt.h:33
AudioIOExt::GetFactories
static Factories & GetFactories()
Definition: AudioIOExt.cpp:15
AudioIOExt.h
Abstract base class for hooks into audio playback procedures.
AudioIOExt::~AudioIOExt
virtual ~AudioIOExt()
AudioIOExt::Factory
std::function< std::unique_ptr< AudioIOExt >(const PlaybackSchedule &) > Factory
Definition: AudioIOExt.h:32
factory
static RegisteredToolbarFactory factory
Definition: ControlToolBar.cpp:817
AudioIOExt::RegisteredFactory::RegisteredFactory
RegisteredFactory(Factory factory)
Definition: AudioIOExt.cpp:21