Ardour  8.7-15-gadf511264b
ARDOUR::AudioRom Class Reference

#include <audiorom.h>

Inheritance diagram for ARDOUR::AudioRom:
[legend]

Public Member Functions

 ~AudioRom ()
 
samplecnt_t read (Sample *, samplepos_t pos, samplecnt_t cnt, int channel) const
 
samplecnt_t readable_length_samples () const
 
uint32_t n_channels () const
 
- Public Member Functions inherited from ARDOUR::AudioReadable
virtual ~AudioReadable ()
 

Static Public Member Functions

static std::shared_ptr< AudioRomnew_rom (Sample *, size_t)
 
- Static Public Member Functions inherited from ARDOUR::AudioReadable
static std::vector< std::shared_ptr< AudioReadable > > load (Session &, std::string const &)
 

Private Member Functions

 AudioRom (Sample *, size_t)
 
 AudioRom (AudioRom const &)
 

Private Attributes

Sample_rom
 
samplecnt_t _size
 

Detailed Description

Definition at line 30 of file audiorom.h.

Constructor & Destructor Documentation

◆ ~AudioRom()

ARDOUR::AudioRom::~AudioRom ( )

◆ AudioRom() [1/2]

ARDOUR::AudioRom::AudioRom ( Sample ,
size_t   
)
private

◆ AudioRom() [2/2]

ARDOUR::AudioRom::AudioRom ( AudioRom const &  )
private

Member Function Documentation

◆ n_channels()

uint32_t ARDOUR::AudioRom::n_channels ( ) const
inlinevirtual

Implements ARDOUR::AudioReadable.

Definition at line 38 of file audiorom.h.

◆ new_rom()

static std::shared_ptr<AudioRom> ARDOUR::AudioRom::new_rom ( Sample ,
size_t   
)
static

◆ read()

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

Implements ARDOUR::AudioReadable.

◆ readable_length_samples()

samplecnt_t ARDOUR::AudioRom::readable_length_samples ( ) const
inlinevirtual

Implements ARDOUR::AudioReadable.

Definition at line 37 of file audiorom.h.

Member Data Documentation

◆ _rom

Sample* ARDOUR::AudioRom::_rom
private

Definition at line 44 of file audiorom.h.

◆ _size

samplecnt_t ARDOUR::AudioRom::_size
private

Definition at line 45 of file audiorom.h.


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