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

#include <alsa_audiobackend.h>

Inheritance diagram for ARDOUR::AlsaDeviceReservation:
[legend]

Public Member Functions

 AlsaDeviceReservation ()
 
 AlsaDeviceReservation (const char *device_name)
 
 ~AlsaDeviceReservation ()
 
bool acquire_device (const char *device_name, bool silent=false)
 
void release_device ()
 

Private Member Functions

void reservation_stdout (std::string, size_t)
 

Private Attributes

ARDOUR::SystemExec_device_reservation
 
PBD::ScopedConnectionList _reservation_connection
 
bool _reservation_succeeded
 

Detailed Description

Definition at line 102 of file alsa_audiobackend.h.

Constructor & Destructor Documentation

◆ AlsaDeviceReservation() [1/2]

ARDOUR::AlsaDeviceReservation::AlsaDeviceReservation ( )

◆ AlsaDeviceReservation() [2/2]

ARDOUR::AlsaDeviceReservation::AlsaDeviceReservation ( const char *  device_name)

◆ ~AlsaDeviceReservation()

ARDOUR::AlsaDeviceReservation::~AlsaDeviceReservation ( )

Member Function Documentation

◆ acquire_device()

bool ARDOUR::AlsaDeviceReservation::acquire_device ( const char *  device_name,
bool  silent = false 
)

◆ release_device()

void ARDOUR::AlsaDeviceReservation::release_device ( )

◆ reservation_stdout()

void ARDOUR::AlsaDeviceReservation::reservation_stdout ( std::string  ,
size_t   
)
private

Member Data Documentation

◆ _device_reservation

ARDOUR::SystemExec* ARDOUR::AlsaDeviceReservation::_device_reservation
private

Definition at line 113 of file alsa_audiobackend.h.

◆ _reservation_connection

PBD::ScopedConnectionList ARDOUR::AlsaDeviceReservation::_reservation_connection
private

Definition at line 114 of file alsa_audiobackend.h.

◆ _reservation_succeeded

bool ARDOUR::AlsaDeviceReservation::_reservation_succeeded
private

Definition at line 116 of file alsa_audiobackend.h.


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