00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef TRACK_H__
00021 #define TRACK_H__
00022
00023 #include <QObject>
00024 #include "portaudio.h"
00025 #include "soundfile.h"
00026
00033 class Track : public QObject
00034 {
00035 Q_OBJECT
00036
00037 public:
00038 Track();
00039 virtual ~Track();
00040
00049 inline int process(unsigned long size, float *output)
00050 {
00051 return m_soundfile->process(size, output);
00052 }
00053
00054 protected:
00056 Soundfile *m_soundfile;
00057 };
00058
00059 #endif // TRACK_H__