Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::DiskIOProcessor::ChannelInfo Struct Referenceabstract

#include <disk_io.h>

Inheritance diagram for ARDOUR::DiskIOProcessor::ChannelInfo:
[legend]

Public Member Functions

 ChannelInfo (samplecnt_t buffer_size)
 
 ChannelInfo (const ChannelInfo &)=delete
 
ChannelInfooperator= (const ChannelInfo &)=delete
 
virtual ~ChannelInfo ()
 
virtual void resize (samplecnt_t)=0
 

Public Attributes

PBD::PlaybackBuffer< Sample > * rbuf
 
PBD::RingBufferNPT< Sample > * wbuf
 
PBD::RingBufferNPT< Sample >::rw_vector rw_vector
 
std::shared_ptr< AudioFileSourcewrite_source
 
samplecnt_t curr_capture_cnt
 

Detailed Description

Information about one audio channel, playback or capture (depending on the derived class)

Definition at line 146 of file disk_io.h.

Constructor & Destructor Documentation

◆ ChannelInfo() [1/2]

ARDOUR::DiskIOProcessor::ChannelInfo::ChannelInfo ( samplecnt_t  buffer_size)

◆ ChannelInfo() [2/2]

ARDOUR::DiskIOProcessor::ChannelInfo::ChannelInfo ( const ChannelInfo )
delete

◆ ~ChannelInfo()

virtual ARDOUR::DiskIOProcessor::ChannelInfo::~ChannelInfo ( )
virtual

Member Function Documentation

◆ operator=()

ChannelInfo& ARDOUR::DiskIOProcessor::ChannelInfo::operator= ( const ChannelInfo )
delete

◆ resize()

virtual void ARDOUR::DiskIOProcessor::ChannelInfo::resize ( samplecnt_t  )
pure virtual

Member Data Documentation

◆ curr_capture_cnt

samplecnt_t ARDOUR::DiskIOProcessor::ChannelInfo::curr_capture_cnt

Definition at line 169 of file disk_io.h.

◆ rbuf

PBD::PlaybackBuffer<Sample>* ARDOUR::DiskIOProcessor::ChannelInfo::rbuf

A semi-random-access ringbuffers for data to be played back. written to in the butler thread, read from in the process thread.

Definition at line 157 of file disk_io.h.

◆ rw_vector

PBD::RingBufferNPT<Sample>::rw_vector ARDOUR::DiskIOProcessor::ChannelInfo::rw_vector

Definition at line 163 of file disk_io.h.

◆ wbuf

PBD::RingBufferNPT<Sample>* ARDOUR::DiskIOProcessor::ChannelInfo::wbuf

A ringbuffer for data to be recorded back, written to in the process thread, read from in the butler thread.

Definition at line 162 of file disk_io.h.

◆ write_source

std::shared_ptr<AudioFileSource> ARDOUR::DiskIOProcessor::ChannelInfo::write_source

Definition at line 166 of file disk_io.h.


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