mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-13 01:05:08 -04:00
Improve lmms::fastRand() and use it instead of std::rand() (#7741)
This commit is contained in:
@@ -66,7 +66,7 @@ PeakControllerEffect::PeakControllerEffect(
|
||||
Model * _parent,
|
||||
const Descriptor::SubPluginFeatures::Key * _key ) :
|
||||
Effect( &peakcontrollereffect_plugin_descriptor, _parent, _key ),
|
||||
m_effectId( rand() ),
|
||||
m_effectId(fastRand()),
|
||||
m_peakControls( this ),
|
||||
m_lastSample( 0 ),
|
||||
m_autoController( nullptr )
|
||||
|
||||
Reference in New Issue
Block a user