VISR  0.12.0
Versatile Interactive Scene Renderer
visr::audiointerfaces::JackInterface::Config Struct Reference

#include <jack_interface.hpp>

Public Member Functions

 Config (std::string cliName, std::string servName, boost::property_tree::ptree portsConfig, bool autoConnect=false)
 
void loadPortConfig (boost::optional< boost::property_tree::ptree > tree, std::string &extClient, std::vector< std::string > &portNames, std::vector< std::string > &extPortNames, std::size_t numPorts, bool &autoConn, std::string porttype)
 

Public Attributes

std::string mClientName
 
std::string mInExtClientName
 
std::string mOutExtClientName
 
bool mInAutoConnect
 
bool mOutAutoConnect
 
std::string mServerName
 
boost::property_tree::ptree mPortJSONConfig
 
std::vector< std::string > mCapturePortNames
 
std::vector< std::string > mPlaybackPortNames
 

Detailed Description

Structure to hold all configuration arguments for a PortAudioInterface instance.

Constructor & Destructor Documentation

◆ Config()

visr::audiointerfaces::JackInterface::Config::Config ( std::string  cliName,
std::string  servName,
boost::property_tree::ptree  portsConfig,
bool  autoConnect = false 
)

Default contructor to initialise elements to defined values.

Member Function Documentation

◆ loadPortConfig()

void visr::audiointerfaces::JackInterface::Config::loadPortConfig ( boost::optional< boost::property_tree::ptree >  tree,
std::string &  extClient,
std::vector< std::string > &  portNames,
std::vector< std::string > &  extPortNames,
std::size_t  numPorts,
bool &  autoConn,
std::string  porttype 
)

Member Data Documentation

◆ mCapturePortNames

std::vector< std::string > visr::audiointerfaces::JackInterface::Config::mCapturePortNames

◆ mClientName

std::string visr::audiointerfaces::JackInterface::Config::mClientName

◆ mInAutoConnect

bool visr::audiointerfaces::JackInterface::Config::mInAutoConnect

◆ mInExtClientName

std::string visr::audiointerfaces::JackInterface::Config::mInExtClientName

◆ mOutAutoConnect

bool visr::audiointerfaces::JackInterface::Config::mOutAutoConnect

◆ mOutExtClientName

std::string visr::audiointerfaces::JackInterface::Config::mOutExtClientName

◆ mPlaybackPortNames

std::vector< std::string > visr::audiointerfaces::JackInterface::Config::mPlaybackPortNames

◆ mPortJSONConfig

boost::property_tree::ptree visr::audiointerfaces::JackInterface::Config::mPortJSONConfig

◆ mServerName

std::string visr::audiointerfaces::JackInterface::Config::mServerName

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