~ubuntu-branches/ubuntu/trusty/lmms/trusty

« back to all changes in this revision

Viewing changes to src/tracks/pattern.cpp

  • Committer: Charlie Smotherman
  • Date: 2012-12-05 22:08:38 UTC
  • mfrom: (33.1.7 lmms_0.4.13)
  • Revision ID: cjsmo@cableone.net-20121205220838-09pjfzew9m5023hr
* New  Upstream release.
  - Minor tweaking to ZynAddSubFX, CALF, SWH plugins  and Stefan Fendt's RC
    filters.
  - Added UI fixes: Magnentic effect of knobs and Piano-roll fixes
  - Updated German localization and copyright year
* debian/lmms-common.install:
  - added /usr/share/applications so the lmms.desktop file will correctly
    install (LP: #863366)
  - This should also fix the Software Center not displaying lmms in sound
    and video (LP: #824231)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * pattern.cpp - implementation of class pattern which holds notes
3
3
 *
4
 
 * Copyright (c) 2004-2009 Tobias Doerffel <tobydox/at/users.sourceforge.net>
 
4
 * Copyright (c) 2004-2012 Tobias Doerffel <tobydox/at/users.sourceforge.net>
5
5
 * Copyright (c) 2005-2007 Danny McRae <khjklujn/at/yahoo.com>
6
6
 *
7
7
 * This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
766
766
                m_statusDlg->setProgress( ppp * 100 / m_pattern->length() );
767
767
        }
768
768
        m_statusDlg->setProgress( 100 );
 
769
 
769
770
        // render tails
770
 
        while( engine::getMixer()->hasPlayHandles() &&
771
 
                                        m_pattern->m_freezeAborted == false )
 
771
        int count = 0;
 
772
        while( engine::getMixer()->hasNotePlayHandles() &&
 
773
                                        m_pattern->m_freezeAborted == false &&
 
774
                                        ++count < 2000 )
772
775
        {
773
776
                freeze_recorder->processNextBuffer();
774
777
        }