Samplebuffer changes - we can just directly read floats from libsndfile, seems to work (faster) this way

This commit is contained in:
Vesa
2014-04-05 00:56:21 +03:00
parent afa1275af9
commit 55f678b80d
2 changed files with 12 additions and 25 deletions

View File

@@ -270,7 +270,7 @@ private:
void convertIntToFloat ( int_sample_t * & _ibuf, f_cnt_t _frames, int _channels);
void directFloatWrite ( sample_t * & _fbuf, f_cnt_t _frames, int _channels);
f_cnt_t decodeSampleSF( const char * _f, int_sample_t * & _buf,
f_cnt_t decodeSampleSF( const char * _f, sample_t * & _buf,
ch_cnt_t & _channels,
sample_rate_t & _sample_rate );
#ifdef LMMS_HAVE_OGGVORBIS