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

#include <caimportable.h>

Inheritance diagram for ARDOUR::CAImportableSource:
[legend]

Public Member Functions

 CAImportableSource (const std::string &path)
 
virtual ~CAImportableSource ()
 
samplecnt_t read (Sample *buffer, samplecnt_t nframes)
 
uint32_t channels () const
 
samplecnt_t length () const
 
samplecnt_t samplerate () const
 
void seek (samplepos_t pos)
 
samplepos_t natural_position () const
 
bool clamped_at_unity () const
 
- Public Member Functions inherited from ARDOUR::ImportableSource
 ImportableSource ()
 
virtual ~ImportableSource ()
 
virtual float ratio () const
 

Protected Attributes

CAExtAudioFile af
 

Detailed Description

Definition at line 31 of file caimportable.h.

Constructor & Destructor Documentation

◆ CAImportableSource()

ARDOUR::CAImportableSource::CAImportableSource ( const std::string &  path)

◆ ~CAImportableSource()

virtual ARDOUR::CAImportableSource::~CAImportableSource ( )
virtual

Member Function Documentation

◆ channels()

uint32_t ARDOUR::CAImportableSource::channels ( ) const
virtual

◆ clamped_at_unity()

bool ARDOUR::CAImportableSource::clamped_at_unity ( ) const
inlinevirtual

Implements ARDOUR::ImportableSource.

Definition at line 42 of file caimportable.h.

◆ length()

samplecnt_t ARDOUR::CAImportableSource::length ( ) const
virtual

◆ natural_position()

samplepos_t ARDOUR::CAImportableSource::natural_position ( ) const
virtual

◆ read()

samplecnt_t ARDOUR::CAImportableSource::read ( Sample buffer,
samplecnt_t  nframes 
)
virtual

◆ samplerate()

samplecnt_t ARDOUR::CAImportableSource::samplerate ( ) const
virtual

◆ seek()

void ARDOUR::CAImportableSource::seek ( samplepos_t  pos)
virtual

Member Data Documentation

◆ af

CAExtAudioFile ARDOUR::CAImportableSource::af
mutableprotected

Definition at line 45 of file caimportable.h.


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