Marsyas  0.5.0-beta1
Public Member Functions | Data Fields
AbsSoundFileSource Class Reference

Abstract Interface for SoundFileSource of various formats. More...

#include <AbsSoundFileSource.h>

Inherits MarSystem.

Inherited by AuFileSource, CollectionFileSource, GStreamerSource, MP3FileSource, OggFileSource, RawFileSource, and WavFileSource.

Public Member Functions

 AbsSoundFileSource (std::string type, std::string name)
 AbsSoundFileSource (const AbsSoundFileSource &a)
virtual void getHeader (std::string filename)=0
virtual void myProcess (realvec &in, realvec &out)=0
 Processes data.
virtual ~AbsSoundFileSource ()

Data Fields

MarControlPtr ctrl_currentHasData_
MarControlPtr ctrl_currentLabel_
MarControlPtr ctrl_currentLastTickWithData_
MarControlPtr ctrl_currentlyPlaying_
MarControlPtr ctrl_labelNames_
MarControlPtr ctrl_nLabels_
MarControlPtr ctrl_previousLabel_
MarControlPtr ctrl_previouslyPlaying_
MarControlPtr ctrl_regression_
mrs_real durFull_
mrs_bool hasData_
mrs_bool lastTickWithData_
mrs_natural pos_
mrs_natural rewindpos_

Detailed Description

Abstract Interface for SoundFileSource of various formats.

Definition at line 34 of file AbsSoundFileSource.h.


Constructor & Destructor Documentation

AbsSoundFileSource ( std::string  type,
std::string  name 
)

Definition at line 24 of file AbsSoundFileSource.cpp.

~AbsSoundFileSource ( ) [virtual]

Definition at line 34 of file AbsSoundFileSource.cpp.

Definition at line 28 of file AbsSoundFileSource.cpp.


Member Function Documentation

virtual void getHeader ( std::string  filename) [pure virtual]
virtual void myProcess ( realvec in,
realvec out 
) [pure virtual]

Processes data.

Parameters:
inInput data to read.
outOutput data to write.

Implement this method in subclass to define specific data processing.

Implements MarSystem.

Implemented in MP3FileSource, AuFileSource, WavFileSource, GStreamerSource, CollectionFileSource, RawFileSource, and OggFileSource.


Field Documentation

Definition at line 58 of file AbsSoundFileSource.h.

Definition at line 54 of file AbsSoundFileSource.h.

Definition at line 59 of file AbsSoundFileSource.h.

Definition at line 51 of file AbsSoundFileSource.h.

Definition at line 57 of file AbsSoundFileSource.h.

Definition at line 56 of file AbsSoundFileSource.h.

Definition at line 55 of file AbsSoundFileSource.h.

Definition at line 52 of file AbsSoundFileSource.h.

Definition at line 53 of file AbsSoundFileSource.h.

Definition at line 49 of file AbsSoundFileSource.h.

Definition at line 47 of file AbsSoundFileSource.h.

Definition at line 48 of file AbsSoundFileSource.h.

Definition at line 45 of file AbsSoundFileSource.h.

Definition at line 46 of file AbsSoundFileSource.h.


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