- allow sample buffer access

- getAudioPort() is required
- removed slots, moved playing to samplePlayHandle


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@313 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Javier Serrano Polo
2006-08-13 14:02:30 +00:00
parent d550dfbddc
commit 69663a5890

View File

@@ -77,6 +77,11 @@ public:
return( "sampletco" );
}
sampleBuffer * getSampleBuffer( void )
{
return( &m_sampleBuffer );
}
public slots:
void setSampleFile( const QString & _sf );
@@ -146,19 +151,15 @@ public:
virtual void FASTCALL loadTrackSpecificSettings( const QDomElement &
_this );
#ifdef LADSPA_SUPPORT
inline audioPort * getAudioPort( void )
{
return( m_audioPort );
}
#endif
public slots:
virtual QString nodeName( void ) const
{
return( "sampletrack" );
}
void setVolume( float _new_volume );
private:
@@ -170,7 +171,6 @@ private:
audioPort * m_audioPort;
volumeKnob * m_volumeKnob;
float m_volume;
} ;