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

#include <ltc_file_reader.h>

Classes

struct  LTCMap
 

Public Member Functions

 LTCFileReader (std::string path, double expected_fps, LTC_TV_STANDARD tv_standard=LTC_TV_FILM_24)
 
 ~LTCFileReader ()
 
uint32_t channels () const
 
std::vector< LTCMapread_ltc (uint32_t channel, uint32_t max_frames=1)
 

Private Member Functions

int open ()
 
void close ()
 

Private Attributes

std::string _path
 
double _expected_fps
 
LTC_TV_STANDARD _ltc_tv_standard
 
SNDFILE * _sndfile
 
SF_INFO _info
 
LTCReader_reader
 
float * _interleaved_audio_buffer
 
samplecnt_t _samples_read
 
float _apv
 

Detailed Description

Definition at line 47 of file ltc_file_reader.h.

Constructor & Destructor Documentation

◆ LTCFileReader()

ARDOUR::LTCFileReader::LTCFileReader ( std::string  path,
double  expected_fps,
LTC_TV_STANDARD  tv_standard = LTC_TV_FILM_24 
)

◆ ~LTCFileReader()

ARDOUR::LTCFileReader::~LTCFileReader ( )

Member Function Documentation

◆ channels()

uint32_t ARDOUR::LTCFileReader::channels ( ) const
inline

Definition at line 63 of file ltc_file_reader.h.

◆ close()

void ARDOUR::LTCFileReader::close ( )
private

◆ open()

int ARDOUR::LTCFileReader::open ( )
private

◆ read_ltc()

std::vector<LTCMap> ARDOUR::LTCFileReader::read_ltc ( uint32_t  channel,
uint32_t  max_frames = 1 
)

Member Data Documentation

◆ _apv

float ARDOUR::LTCFileReader::_apv
private

Definition at line 81 of file ltc_file_reader.h.

◆ _expected_fps

double ARDOUR::LTCFileReader::_expected_fps
private

Definition at line 72 of file ltc_file_reader.h.

◆ _info

SF_INFO ARDOUR::LTCFileReader::_info
private

Definition at line 76 of file ltc_file_reader.h.

◆ _interleaved_audio_buffer

float* ARDOUR::LTCFileReader::_interleaved_audio_buffer
private

Definition at line 79 of file ltc_file_reader.h.

◆ _ltc_tv_standard

LTC_TV_STANDARD ARDOUR::LTCFileReader::_ltc_tv_standard
private

Definition at line 73 of file ltc_file_reader.h.

◆ _path

std::string ARDOUR::LTCFileReader::_path
private

Definition at line 70 of file ltc_file_reader.h.

◆ _reader

LTCReader* ARDOUR::LTCFileReader::_reader
private

Definition at line 78 of file ltc_file_reader.h.

◆ _samples_read

samplecnt_t ARDOUR::LTCFileReader::_samples_read
private

Definition at line 80 of file ltc_file_reader.h.

◆ _sndfile

SNDFILE* ARDOUR::LTCFileReader::_sndfile
private

Definition at line 75 of file ltc_file_reader.h.


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