Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::AudioReadable Class Referenceabstract

#include <readable.h>

Inheritance diagram for ARDOUR::AudioReadable:
[legend]

Public Member Functions

virtual ~AudioReadable ()
 
virtual samplecnt_t read (Sample *, samplepos_t pos, samplecnt_t cnt, int channel) const =0
 
virtual samplecnt_t readable_length_samples () const =0
 
virtual uint32_t n_channels () const =0
 

Static Public Member Functions

static std::vector< std::shared_ptr< AudioReadable > > load (Session &, std::string const &)
 

Detailed Description

Definition at line 29 of file readable.h.

Constructor & Destructor Documentation

◆ ~AudioReadable()

virtual ARDOUR::AudioReadable::~AudioReadable ( )
inlinevirtual

Definition at line 31 of file readable.h.

Member Function Documentation

◆ load()

static std::vector<std::shared_ptr<AudioReadable> > ARDOUR::AudioReadable::load ( Session ,
std::string const &   
)
static

◆ n_channels()

virtual uint32_t ARDOUR::AudioReadable::n_channels ( ) const
pure virtual

◆ read()

virtual samplecnt_t ARDOUR::AudioReadable::read ( Sample ,
samplepos_t  pos,
samplecnt_t  cnt,
int  channel 
) const
pure virtual

◆ readable_length_samples()

virtual samplecnt_t ARDOUR::AudioReadable::readable_length_samples ( ) const
pure virtual

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