kwave  18.07.70
PlaybackSink.h
Go to the documentation of this file.
1 /***************************************************************************
2  PlaybackSink.h - multi-track Kwave compatible sink for playback
3  -------------------
4  begin : Sun Nov 04 2007
5  copyright : (C) 2007 by Thomas Eschenbacher
6  email : Thomas.Eschenbacher@gmx.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #ifndef PLAYBACK_SINK_H
19 #define PLAYBACK_SINK_H
20 
21 #include "config.h"
22 
23 #include <QObject>
24 
25 #include "libkwave/SampleArray.h"
26 #include "libkwave/SampleSink.h"
27 
28 namespace Kwave
29 {
30 
32  {
33  Q_OBJECT
34  public:
39  explicit PlaybackSink(unsigned int track);
40 
42  virtual ~PlaybackSink();
43 
44  signals:
46  void output(unsigned int track, Kwave::SampleArray data);
47 
48  public slots:
50  void input(Kwave::SampleArray data);
51 
52  private:
54  unsigned int m_track;
55  };
56 }
57 
58 #endif /* PLAYBACK_SINK_H */
59 
60 //***************************************************************************
61 //***************************************************************************
Definition: App.h:33
unsigned int m_track
Definition: PlaybackSink.h:54
void output(unsigned int track, Kwave::SampleArray data)
PlaybackSink(unsigned int track)
void input(Kwave::SampleArray data)