Audacity  2.2.0
AudioIO::ScrubQueue::Duration Struct Reference

Public Member Functions

 Duration (ScrubQueue &queue_)
 
 ~Duration ()
 
void Cancel ()
 

Public Attributes

ScrubQueuequeue
 
const wxLongLong clockTime { ::wxGetLocalTimeMillis() }
 
const sampleCount duration
 
bool cancelled { false }
 

Constructor & Destructor Documentation

AudioIO::ScrubQueue::Duration::Duration ( ScrubQueue queue_)
inline
AudioIO::ScrubQueue::Duration::~Duration ( )
inline

Member Function Documentation

void AudioIO::ScrubQueue::Duration::Cancel ( )
inline

References cancelled.

Member Data Documentation

bool AudioIO::ScrubQueue::Duration::cancelled { false }

Referenced by Cancel(), and ~Duration().

const wxLongLong AudioIO::ScrubQueue::Duration::clockTime { ::wxGetLocalTimeMillis() }

Referenced by ~Duration().

const sampleCount AudioIO::ScrubQueue::Duration::duration
Initial value:
{ static_cast<long long>
(queue.mRate * (clockTime - queue.mLastScrubTimeMillis).ToDouble() / 1000.0)
}

Referenced by AudioIO::ScrubQueue::Producer().

ScrubQueue& AudioIO::ScrubQueue::Duration::queue

Referenced by ~Duration().


The documentation for this struct was generated from the following file: