Audacity 3.2.0
|
Public Types | |
using | ProgressReport = std::function< bool(double)> |
using | Buffer = std::unique_ptr< float[]> |
Public Member Functions | |
NyxContext (ProgressReport progressReport, double scale, double progressTot) | |
int | GetCallback (float *buffer, int channel, int64_t start, int64_t len, int64_t totlen) |
int | PutCallback (float *buffer, int channel, int64_t start, int64_t len, int64_t totlen) |
Static Public Member Functions | |
static int | StaticGetCallback (float *buffer, int channel, int64_t start, int64_t len, int64_t totlen, void *userdata) |
static int | StaticPutCallback (float *buffer, int channel, int64_t start, int64_t len, int64_t totlen, void *userdata) |
Public Attributes | |
WaveTrack * | mCurChannelGroup {} |
WaveChannel * | mCurTrack [2] {} |
sampleCount | mCurStart {} |
unsigned | mCurNumChannels {} |
Not used in the callbacks. More... | |
Buffer | mCurBuffer [2] |
used only in GetCallback More... | |
sampleCount | mCurBufferStart [2] {} |
size_t | mCurBufferLen [2] {} |
sampleCount | mCurLen {} |
WaveTrack::Holder | mOutputTrack |
double | mProgressIn {} |
double | mProgressOut {} |
const ProgressReport | mProgressReport |
const double | mScale |
const double | mProgressTot |
std::exception_ptr | mpException {} |
Reads and writes Audacity's track objects, interchanging with Nyquist sound objects (implemented in the library layer written in C)
Definition at line 598 of file NyquistBase.cpp.
using NyquistBase::NyxContext::Buffer = std::unique_ptr<float[]> |
Definition at line 626 of file NyquistBase.cpp.
using NyquistBase::NyxContext::ProgressReport = std::function<bool(double)> |
Definition at line 600 of file NyquistBase.cpp.
|
inline |
Definition at line 602 of file NyquistBase.cpp.
int NyquistBase::NyxContext::GetCallback | ( | float * | buffer, |
int | channel, | ||
int64_t | start, | ||
int64_t | len, | ||
int64_t | totlen | ||
) |
Definition at line 2616 of file NyquistBase.cpp.
References limitSampleBufferSize(), and safenew.
Referenced by StaticGetCallback().
int NyquistBase::NyxContext::PutCallback | ( | float * | buffer, |
int | channel, | ||
int64_t | start, | ||
int64_t | len, | ||
int64_t | totlen | ||
) |
Definition at line 2682 of file NyquistBase.cpp.
References floatSample, anonymous_namespace{StretchingSequenceIntegrationTest.cpp}::iChannel, and MakeSimpleGuard().
Referenced by StaticPutCallback().
|
static |
Definition at line 2608 of file NyquistBase.cpp.
References GetCallback().
Referenced by NyquistBase::ProcessOne().
|
static |
Definition at line 2674 of file NyquistBase.cpp.
References PutCallback().
Referenced by NyquistBase::ProcessOne().
Buffer NyquistBase::NyxContext::mCurBuffer[2] |
used only in GetCallback
Definition at line 627 of file NyquistBase.cpp.
size_t NyquistBase::NyxContext::mCurBufferLen[2] {} |
Definition at line 629 of file NyquistBase.cpp.
sampleCount NyquistBase::NyxContext::mCurBufferStart[2] {} |
Definition at line 628 of file NyquistBase.cpp.
WaveTrack* NyquistBase::NyxContext::mCurChannelGroup {} |
Definition at line 620 of file NyquistBase.cpp.
Referenced by NyquistBase::ProcessOne().
sampleCount NyquistBase::NyxContext::mCurLen {} |
Definition at line 630 of file NyquistBase.cpp.
Referenced by NyquistBase::ProcessOne().
unsigned NyquistBase::NyxContext::mCurNumChannels {} |
Not used in the callbacks.
Definition at line 624 of file NyquistBase.cpp.
Referenced by NyquistBase::ProcessOne().
sampleCount NyquistBase::NyxContext::mCurStart {} |
Definition at line 622 of file NyquistBase.cpp.
WaveChannel* NyquistBase::NyxContext::mCurTrack[2] {} |
Definition at line 621 of file NyquistBase.cpp.
Referenced by NyquistBase::ProcessOne().
WaveTrack::Holder NyquistBase::NyxContext::mOutputTrack |
Definition at line 632 of file NyquistBase.cpp.
Referenced by NyquistBase::ProcessOne().
std::exception_ptr NyquistBase::NyxContext::mpException {} |
Definition at line 641 of file NyquistBase.cpp.
Referenced by NyquistBase::ProcessOne().
double NyquistBase::NyxContext::mProgressIn {} |
Definition at line 634 of file NyquistBase.cpp.
double NyquistBase::NyxContext::mProgressOut {} |
Definition at line 635 of file NyquistBase.cpp.
const ProgressReport NyquistBase::NyxContext::mProgressReport |
Definition at line 637 of file NyquistBase.cpp.
const double NyquistBase::NyxContext::mProgressTot |
Definition at line 639 of file NyquistBase.cpp.
const double NyquistBase::NyxContext::mScale |
Definition at line 638 of file NyquistBase.cpp.