Audacity 3.2.0
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
AudioIOExt Class Referenceabstract

#include <AudioIOExt.h>

Inheritance diagram for AudioIOExt:
[legend]
Collaboration diagram for AudioIOExt:
[legend]

Classes

struct  RegisteredFactory
 Typically statically constructed. More...
 

Public Types

using Factory = std::function< std::unique_ptr< AudioIOExt >(const PlaybackSchedule &) >
 
using Factories = std::vector< AudioIOExt::Factory >
 

Public Member Functions

virtual ~AudioIOExt ()
 
virtual void ComputeOtherTimings (double rate, bool paused, const PaStreamCallbackTimeInfo *timeInfo, unsigned long framesPerBuffer)=0
 
virtual void SignalOtherCompletion ()=0
 
virtual unsigned CountOtherSolo () const =0
 
virtual bool StartOtherStream (const TransportSequences &tracks, const PaStreamInfo *info, double startTime, double rate)=0
 
virtual void AbortOtherStream ()=0
 
virtual void FillOtherBuffers (double rate, unsigned long pauseFrames, bool paused, bool hasSolo)=0
 
virtual void StopOtherStream ()=0
 
- Public Member Functions inherited from AudioIOExtBase
virtual ~AudioIOExtBase ()
 
virtual bool IsOtherStreamActive () const =0
 
virtual AudioIODiagnostics Dump () const =0
 Get diagnostic information for audio devices and also for extensions. More...
 

Static Public Member Functions

static FactoriesGetFactories ()
 

Detailed Description

Definition at line 28 of file AudioIOExt.h.

Member Typedef Documentation

◆ Factories

Definition at line 33 of file AudioIOExt.h.

◆ Factory

using AudioIOExt::Factory = std::function< std::unique_ptr<AudioIOExt>( const PlaybackSchedule& ) >

Definition at line 31 of file AudioIOExt.h.

Constructor & Destructor Documentation

◆ ~AudioIOExt()

AudioIOExt::~AudioIOExt ( )
virtualdefault

Member Function Documentation

◆ AbortOtherStream()

virtual void AudioIOExt::AbortOtherStream ( )
pure virtual

◆ ComputeOtherTimings()

virtual void AudioIOExt::ComputeOtherTimings ( double  rate,
bool  paused,
const PaStreamCallbackTimeInfo *  timeInfo,
unsigned long  framesPerBuffer 
)
pure virtual

◆ CountOtherSolo()

virtual unsigned AudioIOExt::CountOtherSolo ( ) const
pure virtual

◆ FillOtherBuffers()

virtual void AudioIOExt::FillOtherBuffers ( double  rate,
unsigned long  pauseFrames,
bool  paused,
bool  hasSolo 
)
pure virtual

◆ GetFactories()

auto AudioIOExt::GetFactories ( )
static

Definition at line 15 of file AudioIOExt.cpp.

16{
17 static Factories factories;
18 return factories;
19}
std::vector< AudioIOExt::Factory > Factories
Definition: AudioIOExt.h:33

Referenced by AudioIoCallback::AudioIoCallback(), AudioIOExt::RegisteredFactory::RegisteredFactory(), and AudioIOExt::RegisteredFactory::~RegisteredFactory().

Here is the caller graph for this function:

◆ SignalOtherCompletion()

virtual void AudioIOExt::SignalOtherCompletion ( )
pure virtual

◆ StartOtherStream()

virtual bool AudioIOExt::StartOtherStream ( const TransportSequences tracks,
const PaStreamInfo *  info,
double  startTime,
double  rate 
)
pure virtual

◆ StopOtherStream()

virtual void AudioIOExt::StopOtherStream ( )
pure virtual

The documentation for this class was generated from the following files: