track.h

00001 /***************************************************************************
00002  *
00003  *   ::::_audioeditor_::::
00004  *   a simple multitrack audio editor
00005  *
00006  *   track
00007  *   header file
00008  *
00009  *   begin                : Jan 2006
00010  *   copyright            : (C) 2006 by Georg Holzmann
00011  *   email                : grh@mur.at
00012  *
00013  *   This program is free software; you can redistribute it and/or modify
00014  *   it under the terms of the GNU General Public License as published by
00015  *   the Free Software Foundation; either version 2 of the License, or
00016  *   (at your option) any later version.
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__

Generated on Fri Jul 6 12:38:40 2007 for audioeditor.kdevelop by  doxygen 1.5.2