TracktionEngine
Loading...
Searching...
No Matches
engine::AudioFormatReaderWithTimeout Struct Referenceabstract

#include <tracktion_AudioFileCache.h>

Inheritance diagram for engine::AudioFormatReaderWithTimeout:

Public Member Functions

 AudioFormatReaderWithTimeout ()
 Constructor.
virtual void setReadTimeout (int timeoutMilliseconds)=0
 Subclassed must override this to set the timeout.

Constructor & Destructor Documentation

◆ AudioFormatReaderWithTimeout()

engine::AudioFormatReaderWithTimeout::AudioFormatReaderWithTimeout ( )

Constructor.

Member Function Documentation

◆ setReadTimeout()

virtual void engine::AudioFormatReaderWithTimeout::setReadTimeout ( int timeoutMilliseconds)
pure virtual

Subclassed must override this to set the timeout.

A value of less than 0 means wait forever, A value of 0 means don't wait A value greater than 0 means wait for the given number of ms

Implemented in engine::BufferedFileReaderWrapper, engine::BufferingAudioReaderWrapper, and engine::MemoryMappedFileReader.


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