diff base/PlayParameters.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 70a232b1f12a
children 1f98e28f70c6
line wrap: on
line diff
--- a/base/PlayParameters.h	Thu Mar 13 12:41:20 2008 +0000
+++ b/base/PlayParameters.h	Thu Mar 13 14:06:03 2008 +0000
@@ -28,6 +28,7 @@
     PlayParameters() : m_playMuted(false), m_playPan(0.0), m_playGain(1.0) { }
 
     virtual bool isPlayMuted() const { return m_playMuted; }
+    virtual bool isPlayAudible() const { return !m_playMuted; }
     virtual float getPlayPan() const { return m_playPan; } // -1.0 -> 1.0
     virtual float getPlayGain() const { return m_playGain; }