Audacity  3.0.3
Public Types | Public Member Functions | Public Attributes | List of all members
AudioIOStartStreamOptions Class Reference

struct holding stream options, including a pointer to the time warp info and AudioIOListener and whether the playback is looped. More...

#include <AudioIOBase.h>

Collaboration diagram for AudioIOStartStreamOptions:
[legend]

Public Types

using PolicyFactory = std::function< std::unique_ptr< PlaybackPolicy >() >
 

Public Member Functions

 AudioIOStartStreamOptions (const std::shared_ptr< AudacityProject > &pProject, double rate_)
 

Public Attributes

std::shared_ptr< AudacityProjectpProject
 
std::weak_ptr< MetercaptureMeter
 
std::weak_ptr< MeterplaybackMeter
 
const BoundedEnvelopeenvelope
 
std::shared_ptr< AudioIOListenerlistener
 
double rate
 
double * pStartTime
 
double preRoll
 
bool playNonWaveTracks { true }
 
PRCrossfadeDatapCrossfadeData {}
 
std::function< unsigned long() > playbackStreamPrimer
 
PolicyFactory policyFactory
 

Detailed Description

struct holding stream options, including a pointer to the time warp info and AudioIOListener and whether the playback is looped.

Definition at line 43 of file AudioIOBase.h.

Member Typedef Documentation

◆ PolicyFactory

using AudioIOStartStreamOptions::PolicyFactory = std::function< std::unique_ptr<PlaybackPolicy>() >

Definition at line 73 of file AudioIOBase.h.

Constructor & Destructor Documentation

◆ AudioIOStartStreamOptions()

AudioIOStartStreamOptions::AudioIOStartStreamOptions ( const std::shared_ptr< AudacityProject > &  pProject,
double  rate_ 
)
inlineexplicit

Definition at line 46 of file AudioIOBase.h.

48  : pProject{ pProject }
49  , envelope(nullptr)
50  , rate(rate_)
51  , pStartTime(NULL)
52  , preRoll(0.0)
53  {}

References pProject.

Member Data Documentation

◆ captureMeter

std::weak_ptr<Meter> AudioIOStartStreamOptions::captureMeter

Definition at line 56 of file AudioIOBase.h.

Referenced by AudioIO::StartPortAudioStream().

◆ envelope

const BoundedEnvelope* AudioIOStartStreamOptions::envelope

Definition at line 57 of file AudioIOBase.h.

Referenced by PlaybackSchedule::Init().

◆ listener

std::shared_ptr< AudioIOListener > AudioIOStartStreamOptions::listener

Definition at line 58 of file AudioIOBase.h.

Referenced by AudioIO::StartStream().

◆ pCrossfadeData

PRCrossfadeData* AudioIOStartStreamOptions::pCrossfadeData {}

Definition at line 66 of file AudioIOBase.h.

Referenced by AudioIO::StartStream().

◆ playbackMeter

std::weak_ptr<Meter> AudioIOStartStreamOptions::playbackMeter

Definition at line 56 of file AudioIOBase.h.

Referenced by AudioIO::StartPortAudioStream().

◆ playbackStreamPrimer

std::function< unsigned long() > AudioIOStartStreamOptions::playbackStreamPrimer

Definition at line 71 of file AudioIOBase.h.

Referenced by AudioIO::StartStream().

◆ playNonWaveTracks

bool AudioIOStartStreamOptions::playNonWaveTracks { true }

Definition at line 63 of file AudioIOBase.h.

Referenced by ProjectAudioManager::PlayPlayRegion().

◆ policyFactory

PolicyFactory AudioIOStartStreamOptions::policyFactory

Definition at line 74 of file AudioIOBase.h.

Referenced by PlaybackSchedule::Init(), and ProjectAudioManager::PlayPlayRegion().

◆ pProject

std::shared_ptr<AudacityProject> AudioIOStartStreamOptions::pProject

Definition at line 55 of file AudioIOBase.h.

Referenced by AudioIOStartStreamOptions(), and AudioIO::StartPortAudioStream().

◆ preRoll

double AudioIOStartStreamOptions::preRoll

Definition at line 61 of file AudioIOBase.h.

Referenced by AudioIO::StartStream().

◆ pStartTime

double* AudioIOStartStreamOptions::pStartTime

Definition at line 60 of file AudioIOBase.h.

Referenced by AudioIO::StartStream().

◆ rate

double AudioIOStartStreamOptions::rate

Definition at line 59 of file AudioIOBase.h.

Referenced by AudioIO::StartPortAudioStream(), and AudioIO::StartStream().


The documentation for this class was generated from the following file:
AudioIOStartStreamOptions::rate
double rate
Definition: AudioIOBase.h:59
AudioIOStartStreamOptions::envelope
const BoundedEnvelope * envelope
Definition: AudioIOBase.h:57
AudioIOStartStreamOptions::preRoll
double preRoll
Definition: AudioIOBase.h:61
AudioIOStartStreamOptions::pStartTime
double * pStartTime
Definition: AudioIOBase.h:60
AudioIOStartStreamOptions::pProject
std::shared_ptr< AudacityProject > pProject
Definition: AudioIOBase.h:55