Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::JackConnection Class Reference

#include <jack_connection.h>

Public Member Functions

 JackConnection (const std::string &client_name, const std::string &session_uuid)
 
 ~JackConnection ()
 
const std::string & client_name () const
 
int open ()
 
int close ()
 
bool connected () const
 
jack_client_t * jack () const
 
void halted_callback ()
 
void halted_info_callback (jack_status_t, const char *)
 
uint32_t probed_buffer_size () const
 
uint32_t probed_sample_rate () const
 

Static Public Member Functions

static bool in_control ()
 

Public Attributes

PBD::Signal< void()> Connected
 
PBD::Signal< void(const char *)> Disconnected
 

Private Attributes

jack_client_t *volatile _jack
 
std::string _client_name
 
std::string session_uuid
 
uint32_t _probed_buffer_size
 
uint32_t _probed_sample_rate
 

Static Private Attributes

static bool _in_control
 

Detailed Description

Definition at line 11 of file jack_connection.h.

Constructor & Destructor Documentation

◆ JackConnection()

ARDOUR::JackConnection::JackConnection ( const std::string &  client_name,
const std::string &  session_uuid 
)

◆ ~JackConnection()

ARDOUR::JackConnection::~JackConnection ( )

Member Function Documentation

◆ client_name()

const std::string& ARDOUR::JackConnection::client_name ( ) const
inline

Definition at line 16 of file jack_connection.h.

◆ close()

int ARDOUR::JackConnection::close ( )

◆ connected()

bool ARDOUR::JackConnection::connected ( ) const
inline

Definition at line 20 of file jack_connection.h.

◆ halted_callback()

void ARDOUR::JackConnection::halted_callback ( )

◆ halted_info_callback()

void ARDOUR::JackConnection::halted_info_callback ( jack_status_t  ,
const char *   
)

◆ in_control()

static bool ARDOUR::JackConnection::in_control ( )
inlinestatic

Definition at line 30 of file jack_connection.h.

◆ jack()

jack_client_t* ARDOUR::JackConnection::jack ( ) const
inline

Definition at line 22 of file jack_connection.h.

◆ open()

int ARDOUR::JackConnection::open ( )

◆ probed_buffer_size()

uint32_t ARDOUR::JackConnection::probed_buffer_size ( ) const
inline

Definition at line 32 of file jack_connection.h.

◆ probed_sample_rate()

uint32_t ARDOUR::JackConnection::probed_sample_rate ( ) const
inline

Definition at line 33 of file jack_connection.h.

Member Data Documentation

◆ _client_name

std::string ARDOUR::JackConnection::_client_name
private

Definition at line 37 of file jack_connection.h.

◆ _in_control

bool ARDOUR::JackConnection::_in_control
staticprivate

Definition at line 39 of file jack_connection.h.

◆ _jack

jack_client_t* volatile ARDOUR::JackConnection::_jack
private

Definition at line 36 of file jack_connection.h.

◆ _probed_buffer_size

uint32_t ARDOUR::JackConnection::_probed_buffer_size
private

Definition at line 40 of file jack_connection.h.

◆ _probed_sample_rate

uint32_t ARDOUR::JackConnection::_probed_sample_rate
private

Definition at line 41 of file jack_connection.h.

◆ Connected

PBD::Signal<void()> ARDOUR::JackConnection::Connected

Definition at line 24 of file jack_connection.h.

◆ Disconnected

PBD::Signal<void(const char*)> ARDOUR::JackConnection::Disconnected

Definition at line 25 of file jack_connection.h.

◆ session_uuid

std::string ARDOUR::JackConnection::session_uuid
private

Definition at line 38 of file jack_connection.h.


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