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:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -104,6 +104,8 @@ public:
|
||||
return m_playing && m_exporting == false;
|
||||
}
|
||||
|
||||
bool isFreezingPattern() const;
|
||||
|
||||
inline bool isExporting() const
|
||||
{
|
||||
return m_exporting;
|
||||
|
||||
Reference in New Issue
Block a user