OpenShot Library | OpenShotAudio
0.2.2
|
Public Member Functions | |
Buffer (TimeSliceThread &tst, AudioFormatWriter *w, int channels, int numSamples) | |
bool | write (const float *const *data, int numSamples) |
int | useTimeSlice () override |
Called back by a TimeSliceThread. More... | |
int | writePendingData () |
void | setDataReceiver (IncomingDataReceiver *newReceiver) |
void | setFlushInterval (int numSamples) noexcept |
Definition at line 213 of file juce_AudioFormatWriter.cpp.
|
inlineoverridevirtual |
Called back by a TimeSliceThread.
When you register this class with it, a TimeSliceThread will repeatedly call this method.
The implementation of this method should use its time-slice to do something that's quick - never block for longer than absolutely necessary.
Implements juce::TimeSliceClient.
Definition at line 258 of file juce_AudioFormatWriter.cpp.