Do not apply FX mixer effects twice when playing frozen pattern

We must not process the FX mixer if we notice that currently a pattern
is frozen. Furthermore renamed some state-reading messages of the
pattern class.

Closes #3316495.
This commit is contained in:
Tobias Doerffel
2011-06-27 20:23:01 +02:00
parent d4684f3ab1
commit 1cc77b72e3
5 changed files with 30 additions and 18 deletions

View File

@@ -2,7 +2,7 @@
* pattern.h - declaration of class pattern, which contains all informations
* about a pattern
*
* Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
* Copyright (c) 2004-2011 Tobias Doerffel <tobydox/at/users.sourceforge.net>
*
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
*
@@ -94,17 +94,17 @@ public:
// functions which are part of freezing-feature
inline bool freezing() const
inline bool isFreezing() const
{
return m_freezing;
}
inline bool frozen() const
inline bool isFrozen() const
{
return m_frozenPattern != NULL;
}
sampleBuffer * frozenPattern()
sampleBuffer *frozenPattern()
{
return m_frozenPattern;
}

View File

@@ -104,6 +104,8 @@ public:
return m_playing && m_exporting == false;
}
bool isFreezingPattern() const;
inline bool isExporting() const
{
return m_exporting;