AudioRecordTarget Class Referenceabstract

The record target API used by the view manager. More...

#include <AudioRecordTarget.h>

Public Member Functions

virtual ~AudioRecordTarget ()
 
virtual bool isRecording () const =0
 Return whether recording is currently happening. More...
 
virtual sv_frame_t getRecordDuration () const =0
 Return the approximate duration of the audio recording so far. More...
 
virtual bool getInputLevels (float &left, float &right)=0
 Return the current (or thereabouts) input levels in the range 0.0 -> 1.0, for metering purposes. More...
 

Detailed Description

The record target API used by the view manager.

See also AudioPlaySource.

Definition at line 23 of file AudioRecordTarget.h.

Constructor & Destructor Documentation

virtual AudioRecordTarget::~AudioRecordTarget ( )
inlinevirtual

Definition at line 26 of file AudioRecordTarget.h.

References getInputLevels(), getRecordDuration(), and isRecording().

Member Function Documentation

virtual bool AudioRecordTarget::isRecording ( ) const
pure virtual

Return whether recording is currently happening.

Referenced by ~AudioRecordTarget().

virtual sv_frame_t AudioRecordTarget::getRecordDuration ( ) const
pure virtual

Return the approximate duration of the audio recording so far.

Referenced by ~AudioRecordTarget().

virtual bool AudioRecordTarget::getInputLevels ( float &  left,
float &  right 
)
pure virtual

Return the current (or thereabouts) input levels in the range 0.0 -> 1.0, for metering purposes.

Only valid while recording. The values returned are peak values since the last call to this function was made (i.e. calling this function also resets them).

Referenced by ~AudioRecordTarget().


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