diff data/model/SparseTimeValueModel.h @ 952:ad14e7ed096d

Make sparse time-value layers inaudible by default (user must un-mute them) for compatibility with earlier versions
author Chris Cannam
date Mon, 11 Aug 2014 11:30:18 +0100
parents 59e7fe1b1003
children cc27f35aa75c
line wrap: on
line diff
--- a/data/model/SparseTimeValueModel.h	Fri Jul 25 17:02:44 2014 +0100
+++ b/data/model/SparseTimeValueModel.h	Mon Aug 11 11:30:18 2014 +0100
@@ -111,6 +111,7 @@
     QString getTypeName() const { return tr("Sparse Time-Value"); }
 
     virtual bool canPlay() const { return true; }
+    virtual bool getDefaultPlayAudible() const { return false; } // user must unmute
 
     /**
      * TabularModel methods.