tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Public Attributes | List of all members
tracktion::engine::WaveInputRecordingThread Class Reference
Inheritance diagram for tracktion::engine::WaveInputRecordingThread:
juce::Thread juce::Timer

Classes

struct  BlockQueue
 
struct  ScopedInitialiser
 

Public Member Functions

 WaveInputRecordingThread (Engine &)
 
void addUser ()
 
void removeUser ()
 
void addBlockToRecord (AudioFileWriter &, const juce::AudioBuffer< float > &, int start, int numSamples, const RecordingThumbnailManager::Thumbnail::Ptr &)
 
void waitForWriterToFinish (AudioFileWriter &)
 
void run () override
 
void timerCallback () override
 
- Public Member Functions inherited from juce::Thread
 Thread (const String &threadName, size_t threadStackSize=osDefaultStackSize)
 
bool startThread ()
 
bool startThread (Priority newPriority)
 
bool startRealtimeThread (const RealtimeOptions &options)
 
bool stopThread (int timeOutMilliseconds)
 
bool isThreadRunning () const
 
void signalThreadShouldExit ()
 
bool threadShouldExit () const
 
bool waitForThreadToExit (int timeOutMilliseconds) const
 
void addListener (Listener *)
 
void removeListener (Listener *)
 
bool isRealtime () const
 
void setAffinityMask (uint32 affinityMask)
 
bool wait (double timeOutMilliseconds) const
 
void notify () const
 
ThreadID getThreadId () const noexcept
 
const String & getThreadName () const noexcept
 

Public Attributes

Engine & engine
 

Additional Inherited Members

- Public Types inherited from juce::Thread
enum  Priority
 
typedef void * ThreadID
 
- Static Public Member Functions inherited from juce::Thread
static bool launch (std::function< void()> functionToRun)
 
static bool launch (Priority priority, std::function< void()> functionToRun)
 
static bool currentThreadShouldExit ()
 
static void JUCE_CALLTYPE setCurrentThreadAffinityMask (uint32 affinityMask)
 
static void JUCE_CALLTYPE sleep (int milliseconds)
 
static void JUCE_CALLTYPE yield ()
 
static ThreadID JUCE_CALLTYPE getCurrentThreadId ()
 
static Thread *JUCE_CALLTYPE getCurrentThread ()
 
static void JUCE_CALLTYPE setCurrentThreadName (const String &newThreadName)
 
static void initialiseJUCE (void *jniEnv, void *jContext)
 
- Protected Member Functions inherited from juce::Thread
Priority getPriority () const
 
bool setPriority (Priority newPriority)
 

Detailed Description

Definition at line 108 of file tracktion_WaveInputDevice.h.

Constructor & Destructor Documentation

◆ WaveInputRecordingThread()

tracktion::engine::WaveInputRecordingThread::WaveInputRecordingThread ( Engine &  e)

Definition at line 1749 of file tracktion_WaveInputDevice.cpp.

◆ ~WaveInputRecordingThread()

tracktion::engine::WaveInputRecordingThread::~WaveInputRecordingThread ( )
override

Definition at line 1756 of file tracktion_WaveInputDevice.cpp.

Member Function Documentation

◆ addBlockToRecord()

void tracktion::engine::WaveInputRecordingThread::addBlockToRecord ( AudioFileWriter &  writer,
const juce::AudioBuffer< float > &  buffer,
int  start,
int  numSamples,
const RecordingThumbnailManager::Thumbnail::Ptr &  thumbnail 
)

Definition at line 1776 of file tracktion_WaveInputDevice.cpp.

◆ addUser()

void tracktion::engine::WaveInputRecordingThread::addUser ( )

Definition at line 1763 of file tracktion_WaveInputDevice.cpp.

◆ removeUser()

void tracktion::engine::WaveInputRecordingThread::removeUser ( )

Definition at line 1769 of file tracktion_WaveInputDevice.cpp.

◆ run()

void tracktion::engine::WaveInputRecordingThread::run ( )
overridevirtual

Implements juce::Thread.

Definition at line 1794 of file tracktion_WaveInputDevice.cpp.

◆ timerCallback()

void tracktion::engine::WaveInputRecordingThread::timerCallback ( )
overridevirtual

Implements juce::Timer.

Definition at line 1837 of file tracktion_WaveInputDevice.cpp.

◆ waitForWriterToFinish()

void tracktion::engine::WaveInputRecordingThread::waitForWriterToFinish ( AudioFileWriter &  writer)

Definition at line 1788 of file tracktion_WaveInputDevice.cpp.

Member Data Documentation

◆ engine

Engine& tracktion::engine::WaveInputRecordingThread::engine

Definition at line 135 of file tracktion_WaveInputDevice.h.


The documentation for this class was generated from the following files: