comparison data/model/DenseTimeValueModel.cpp @ 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 3e6fee4e4257
children 33fca917c800
comparison
equal deleted inserted replaced
390:21e79997e80f 391:5858cc462d0a
16 #include "DenseTimeValueModel.h" 16 #include "DenseTimeValueModel.h"
17 #include "base/PlayParameterRepository.h" 17 #include "base/PlayParameterRepository.h"
18 18
19 DenseTimeValueModel::DenseTimeValueModel() 19 DenseTimeValueModel::DenseTimeValueModel()
20 { 20 {
21 PlayParameterRepository::getInstance()->addModel(this); 21 PlayParameterRepository::getInstance()->addPlayable(this);
22 }
23
24 DenseTimeValueModel::~DenseTimeValueModel()
25 {
26 PlayParameterRepository::getInstance()->removePlayable(this);
22 } 27 }
23 28