added singerbot plugin
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@452 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* note_play_handle.h - declaration of class notePlayHandle which is needed
|
||||
* by LMMS-Play-Engine
|
||||
*
|
||||
* Copyright (c) 2004-2006 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2004-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -207,6 +207,18 @@ public:
|
||||
m_instrumentTrack->m_instrument->waitForWorkerThread();
|
||||
}
|
||||
|
||||
#if SINGERBOT_SUPPORT
|
||||
int patternIndex( void )
|
||||
{
|
||||
return( m_patternIndex );
|
||||
}
|
||||
|
||||
void setPatternIndex( int _i )
|
||||
{
|
||||
m_patternIndex = _i;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
private:
|
||||
instrumentTrack * m_instrumentTrack; // needed for calling
|
||||
@@ -232,6 +244,9 @@ private:
|
||||
// sub-note)
|
||||
bool m_muted; // indicates whether note is muted
|
||||
bbTrack * m_bbTrack; // related BB track
|
||||
#if SINGERBOT_SUPPORT
|
||||
int m_patternIndex; // position among relevant notes
|
||||
#endif
|
||||
|
||||
|
||||
private slots:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* sample_buffer.h - container-class sampleBuffer
|
||||
*
|
||||
* Copyright (c) 2005-2006 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
* Copyright (c) 2005-2007 Tobias Doerffel <tobydox/at/users.sourceforge.net>
|
||||
*
|
||||
* This file is part of Linux MultiMedia Studio - http://lmms.sourceforge.net
|
||||
*
|
||||
@@ -130,7 +130,7 @@ public:
|
||||
return( m_data );
|
||||
}
|
||||
|
||||
void FASTCALL deleteResamplingData( void * * _ptr );
|
||||
static void FASTCALL deleteResamplingData( void * * _ptr );
|
||||
|
||||
QString openAudioFile( void ) const;
|
||||
|
||||
@@ -232,7 +232,7 @@ private:
|
||||
void initResampling( void );
|
||||
void quitResampling( void );
|
||||
SRC_STATE * createResamplingContext( void );
|
||||
void FASTCALL destroyResamplingContext( SRC_STATE * _context );
|
||||
static void FASTCALL destroyResamplingContext( SRC_STATE * _context );
|
||||
|
||||
SRC_DATA m_srcData;
|
||||
SRC_STATE * m_srcState;
|
||||
|
||||
@@ -50,6 +50,7 @@ public:
|
||||
template<class T>
|
||||
static T * ref( T * _object )
|
||||
{
|
||||
// TODO: Use QShared
|
||||
_object->m_reference_mutex.lock();
|
||||
++_object->m_reference_count;
|
||||
_object->m_reference_mutex.unlock();
|
||||
|
||||
Reference in New Issue
Block a user