comparison data/model/DenseTimeValueModel.h @ 391:5858cc462d0a

* Fix #1628781 changes to layer visibility and mute should use a command * Also use a command for changes to layer playback pan, gain, plugin settings * Refactor PlayParameterRepository to remove dependency on audioio from base * Fix failure to save play parameters for main model in session file
author Chris Cannam
date Thu, 13 Mar 2008 14:06:03 +0000
parents 0e30c8ec15a0
children 33fca917c800
comparison
equal deleted inserted replaced
390:21e79997e80f 391:5858cc462d0a
29 { 29 {
30 Q_OBJECT 30 Q_OBJECT
31 31
32 public: 32 public:
33 DenseTimeValueModel(); 33 DenseTimeValueModel();
34
35 virtual ~DenseTimeValueModel();
34 36
35 /** 37 /**
36 * Return the minimum possible value found in this model type. 38 * Return the minimum possible value found in this model type.
37 * (That is, the minimum that would be valid, not the minimum 39 * (That is, the minimum that would be valid, not the minimum
38 * actually found in a particular model). 40 * actually found in a particular model).
78 */ 80 */
79 virtual size_t getData(size_t fromchannel, size_t tochannel, 81 virtual size_t getData(size_t fromchannel, size_t tochannel,
80 size_t start, size_t count, 82 size_t start, size_t count,
81 float **buffers) const = 0; 83 float **buffers) const = 0;
82 84
85 virtual bool canPlay() const { return true; }
86 virtual QString getDefaultPlayPluginId() const { return ""; }
87 virtual QString getDefaultPlayPluginConfiguration() const { return ""; }
88
83 QString getTypeName() const { return tr("Dense Time-Value"); } 89 QString getTypeName() const { return tr("Dense Time-Value"); }
84 }; 90 };
85 91
86 #endif 92 #endif