From 53384e6bf1d810103bd2c586c12e5292b9c8c5f7 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Fri, 22 Aug 2008 17:30:52 +0000 Subject: [PATCH] made oscillator::userWaveSample() const git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1460 0778d3d1-df1d-0410-868b-ea421aaaa00d --- include/oscillator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/oscillator.h b/include/oscillator.h index 54f657384..9901514aa 100644 --- a/include/oscillator.h +++ b/include/oscillator.h @@ -150,7 +150,7 @@ public: return( 1.0f - fast_rand() * 2.0f / FAST_RAND_MAX ); } - inline sample_t userWaveSample( const float _sample ) + inline sample_t userWaveSample( const float _sample ) const { return( m_userWave->userWaveSample( _sample ) ); }