All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Resonant::PulseAudioSource Class Reference

Forwards PulseAudio source (microphone, line-input or other capture source) to the DSPNetwork. More...

#include <Resonant/PulseAudioSource.hpp>

Public Member Functions

void close ()
 Synchronously closes the input source.
 
ModuleBufferPlayerPtr module () const
 
bool open (const QString &sourceName, QString *errorMessage, double timeoutSecs, const QString &uiName=QString())
 Synchronously opens an input device.
 
PulseAudioSourceoperator= (PulseAudioSource &&)
 
 PulseAudioSource (PulseAudioSource &&src)
 
QList< SourceInfosources (QString *errorMessage, double timeoutSecs)
 

Detailed Description

Forwards PulseAudio source (microphone, line-input or other capture source) to the DSPNetwork.

PortAudio will most likely spawn a new thread when using this class. First open the source, and then add module() to DSPNetwork manually.