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 668 of file Nyquist.cpp.
using NyquistEffect::NyxContext::Buffer = std::unique_ptr<float[]> |
Definition at line 692 of file Nyquist.cpp.
using NyquistEffect::NyxContext::ProgressReport = std::function<bool(double)> |
Definition at line 669 of file Nyquist.cpp.
|
inline |
Definition at line 671 of file Nyquist.cpp.
int NyquistEffect::NyxContext::GetCallback | ( | float * | buffer, |
int | channel, | ||
int64_t | start, | ||
int64_t | len, | ||
int64_t | totlen | ||
) |
Definition at line 2570 of file Nyquist.cpp.
References limitSampleBufferSize(), and safenew.
Referenced by StaticGetCallback().
int NyquistEffect::NyxContext::PutCallback | ( | float * | buffer, |
int | channel, | ||
int64_t | start, | ||
int64_t | len, | ||
int64_t | totlen | ||
) |
Definition at line 2629 of file Nyquist.cpp.
References floatSample, anonymous_namespace{StretchingSequenceIntegrationTest.cpp}::iChannel, and MakeSimpleGuard().
Referenced by StaticPutCallback().
|
static |
Definition at line 2563 of file Nyquist.cpp.
References GetCallback().
Referenced by NyquistEffect::ProcessOne().
|
static |
Definition at line 2622 of file Nyquist.cpp.
References PutCallback().
Referenced by NyquistEffect::ProcessOne().
Buffer NyquistEffect::NyxContext::mCurBuffer[2] |
used only in GetCallback
Definition at line 693 of file Nyquist.cpp.
size_t NyquistEffect::NyxContext::mCurBufferLen[2] {} |
Definition at line 695 of file Nyquist.cpp.
sampleCount NyquistEffect::NyxContext::mCurBufferStart[2] {} |
Definition at line 694 of file Nyquist.cpp.
WaveTrack* NyquistEffect::NyxContext::mCurChannelGroup {} |
Definition at line 686 of file Nyquist.cpp.
Referenced by NyquistEffect::ProcessOne().
sampleCount NyquistEffect::NyxContext::mCurLen {} |
Definition at line 696 of file Nyquist.cpp.
Referenced by NyquistEffect::ProcessOne().
unsigned NyquistEffect::NyxContext::mCurNumChannels {} |
Not used in the callbacks.
Definition at line 690 of file Nyquist.cpp.
Referenced by NyquistEffect::ProcessOne().
sampleCount NyquistEffect::NyxContext::mCurStart {} |
Definition at line 688 of file Nyquist.cpp.
WaveChannel* NyquistEffect::NyxContext::mCurTrack[2] {} |
Definition at line 687 of file Nyquist.cpp.
Referenced by NyquistEffect::ProcessOne().
WaveTrack::Holder NyquistEffect::NyxContext::mOutputTrack |
Definition at line 698 of file Nyquist.cpp.
Referenced by NyquistEffect::ProcessOne().
std::exception_ptr NyquistEffect::NyxContext::mpException {} |
Definition at line 707 of file Nyquist.cpp.
Referenced by NyquistEffect::ProcessOne().
double NyquistEffect::NyxContext::mProgressIn {} |
Definition at line 700 of file Nyquist.cpp.
double NyquistEffect::NyxContext::mProgressOut {} |
Definition at line 701 of file Nyquist.cpp.
const ProgressReport NyquistEffect::NyxContext::mProgressReport |
Definition at line 703 of file Nyquist.cpp.
const double NyquistEffect::NyxContext::mProgressTot |
Definition at line 705 of file Nyquist.cpp.
const double NyquistEffect::NyxContext::mScale |
Definition at line 704 of file Nyquist.cpp.