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

#include <coreaudio_backend.h>

Inheritance diagram for ARDOUR::CoreAudioPort:
[legend]

Public Member Functions

 CoreAudioPort (CoreAudioBackend &b, const std::string &, PortFlags)
 
 ~CoreAudioPort ()
 
DataType type () const
 
Samplebuffer ()
 
const Sampleconst_buffer () const
 
void * get_buffer (pframes_t nframes)
 
- Public Member Functions inherited from ARDOUR::BackendPort
virtual ~BackendPort ()
 
const std::string & name () const
 
const std::string & pretty_name () const
 
const std::string & hw_port_name () const
 
int set_name (const std::string &name)
 
int set_pretty_name (const std::string &name)
 
int set_hw_port_name (const std::string &name)
 
PortFlags flags () const
 
bool is_input () const
 
bool is_output () const
 
bool is_physical () const
 
bool is_terminal () const
 
bool is_connected () const
 
bool is_connected (BackendPortHandle port) const
 
bool is_physically_connected () const
 
const std::set< BackendPortPtr > & get_connections () const
 
int connect (BackendPortHandle port, BackendPortHandle self)
 
int disconnect (BackendPortHandle port, BackendPortHandle self)
 
void disconnect_all (BackendPortHandle self)
 
const LatencyRange latency_range (bool for_playback) const
 
void set_latency_range (const LatencyRange &latency_range, bool for_playback)
 
void update_connected_latency (bool for_playback)
 
- Public Member Functions inherited from ARDOUR::ProtoPort
 ProtoPort ()
 
virtual ~ProtoPort ()
 

Private Attributes

Sample _buffer [8192]
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::BackendPort
 BackendPort (PortEngineSharedImpl &b, const std::string &, PortFlags)
 
- Protected Attributes inherited from ARDOUR::BackendPort
PortEngineSharedImpl_backend
 

Detailed Description

Definition at line 62 of file coreaudio_backend.h.

Constructor & Destructor Documentation

◆ CoreAudioPort()

ARDOUR::CoreAudioPort::CoreAudioPort ( CoreAudioBackend b,
const std::string &  ,
PortFlags   
)

◆ ~CoreAudioPort()

ARDOUR::CoreAudioPort::~CoreAudioPort ( )

Member Function Documentation

◆ buffer()

Sample* ARDOUR::CoreAudioPort::buffer ( )
inline

Definition at line 69 of file coreaudio_backend.h.

◆ const_buffer()

const Sample* ARDOUR::CoreAudioPort::const_buffer ( ) const
inline

Definition at line 70 of file coreaudio_backend.h.

◆ get_buffer()

void* ARDOUR::CoreAudioPort::get_buffer ( pframes_t  nframes)
virtual

Implements ARDOUR::BackendPort.

◆ type()

DataType ARDOUR::CoreAudioPort::type ( ) const
inlinevirtual

Implements ARDOUR::BackendPort.

Definition at line 67 of file coreaudio_backend.h.

Member Data Documentation

◆ _buffer

Sample ARDOUR::CoreAudioPort::_buffer[8192]
private

Definition at line 74 of file coreaudio_backend.h.


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