Track Class Reference

#include <track.h>

List of all members.

Public Member Functions

int process (unsigned long size, float *output)

Protected Attributes

Soundfilem_soundfile


Detailed Description

contains the widget and the audio data of one single track (mono)


Member Function Documentation

int Track::process ( unsigned long  size,
float *  output 
) [inline]

adds the audiodata of this track to the buffer output

Note:
everything here must be threadsafe !!!
Parameters:
size nr. of samples to write (bufsize)
output output buffer: always stereo !!! (see AudioCtl how to write into this buffer !)
Returns:
-1 if file is over, otherwise 0


Member Data Documentation

Soundfile* Track::m_soundfile [protected]

the soundfile data


The documentation for this class was generated from the following files:
Generated on Fri Jul 6 12:38:40 2007 for audioeditor.kdevelop by  doxygen 1.5.2