ReadSource Class Reference

A class for (buffered) reading of audio files. More...

Inheritance diagram for ReadSource:

AudioSource

List of all members.

Public Types

enum  ReadSourceError { COULD_NOT_OPEN_FILE = -1, INVALID_CHANNEL_COUNT = -2, ZERO_CHANNELS = -3, FILE_DOES_NOT_EXIST = -4 }

Signals

void stateChanged ()

Public Member Functions

 ReadSource (const QDomNode node)
 ReadSource (const QString &dir, const QString &name)
 ReadSource (const QString &dir, const QString &name, int channelCount)
ReadSourcedeep_copy ()
int set_state (const QDomNode &node)
QDomNode get_state (QDomDocument doc)
int rb_read (audio_sample_t **dest, TimeRef &start, nframes_t cnt)
void rb_seek_to_file_position (TimeRef &position)
int file_read (DecodeBuffer *buffer, const TimeRef &start, nframes_t cnt) const
int file_read (DecodeBuffer *buffer, nframes_t start, nframes_t cnt)
int init ()
int get_error () const
QString get_error_string () const
int set_file (const QString &filename)
void set_active (bool active)
void set_audio_clip (AudioClip *clip)
void set_diskio (DiskIO *diskio)
nframes_t get_nframes () const
int get_file_rate () const
int get_output_rate () const
const TimeRef & get_length () const
void sync (DecodeBuffer *buffer)
void process_ringbuffer (DecodeBuffer *buffer, bool seeking=false)
void prepare_rt_buffers ()
BufferStatus * get_buffer_status ()
void set_output_rate (int rate)

Friends

class ResourcesManager
class ProjectConverter


Detailed Description

A class for (buffered) reading of audio files.
The documentation for this class was generated from the following files:

Generated on Sun Mar 8 12:44:05 2009 for traverso by  doxygen 1.5.5