Fix the samplerate constant. Stupid mistake. I wondered why everything played too fast.
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "RageUtil.h"
|
||||
|
||||
const unsigned channels = 2;
|
||||
const unsigned samplerate = 441000;
|
||||
const unsigned samplerate = 44100;
|
||||
const unsigned samplesize = channels*2;
|
||||
const unsigned buffersize_frames = 1024; /* in samples */
|
||||
const unsigned buffersize = buffersize_frames * samplesize;
|
||||
|
||||
Reference in New Issue
Block a user