mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-17 21:48:23 -04:00
Drumsynth: make rendering use the mixer samplerate instead of hard coded 44100.
This commit is contained in:
@@ -593,7 +593,7 @@ f_cnt_t SampleBuffer::decodeSampleDS( const char * _f,
|
||||
sample_rate_t & _samplerate )
|
||||
{
|
||||
DrumSynth ds;
|
||||
f_cnt_t frames = ds.GetDSFileSamples( _f, _buf, _channels );
|
||||
f_cnt_t frames = ds.GetDSFileSamples( _f, _buf, _channels, _samplerate );
|
||||
|
||||
if ( frames > 0 && _buf != NULL )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user