Mercurial > hg > svcore
comparison base/ViewManagerBase.h @ 1338:8541563f1fd3 3.0-integration
Wire up record monitoring
author | Chris Cannam |
---|---|
date | Wed, 04 Jan 2017 16:03:12 +0000 |
parents | fe39581d249b |
children | ec9e65fcf749 |
comparison
equal
deleted
inserted
replaced
1337:3dcd83595bc8 | 1338:8541563f1fd3 |
---|---|
19 #include <QObject> | 19 #include <QObject> |
20 | 20 |
21 #include "Selection.h" | 21 #include "Selection.h" |
22 | 22 |
23 class AudioPlaySource; | 23 class AudioPlaySource; |
24 class AudioRecordTarget; | |
24 | 25 |
25 /** | 26 /** |
26 * Base class for ViewManager, with no GUI content. This should | 27 * Base class for ViewManager, with no GUI content. This should |
27 * define all of the ViewManager interface that e.g. audio I/O classes | 28 * define all of the ViewManager interface that e.g. audio I/O classes |
28 * need to refer to. | 29 * need to refer to. |
34 | 35 |
35 public: | 36 public: |
36 virtual ~ViewManagerBase(); | 37 virtual ~ViewManagerBase(); |
37 | 38 |
38 virtual void setAudioPlaySource(AudioPlaySource *source) = 0; | 39 virtual void setAudioPlaySource(AudioPlaySource *source) = 0; |
40 virtual void setAudioRecordTarget(AudioRecordTarget *target) = 0; | |
39 | 41 |
40 virtual sv_frame_t alignPlaybackFrameToReference(sv_frame_t) const = 0; | 42 virtual sv_frame_t alignPlaybackFrameToReference(sv_frame_t) const = 0; |
41 virtual sv_frame_t alignReferenceToPlaybackFrame(sv_frame_t) const = 0; | 43 virtual sv_frame_t alignReferenceToPlaybackFrame(sv_frame_t) const = 0; |
42 | 44 |
43 virtual const MultiSelection &getSelection() const = 0; | 45 virtual const MultiSelection &getSelection() const = 0; |