summaryrefslogtreecommitdiff
path: root/src/soundplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/soundplayer.h')
-rw-r--r--src/soundplayer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/soundplayer.h b/src/soundplayer.h
index 35138bd..3679fd2 100644
--- a/src/soundplayer.h
+++ b/src/soundplayer.h
@@ -35,9 +35,10 @@
#include <QSemaphore>
#include "frame.h"
+#include "mediaconfig.h"
-// Sixe of reingbuffer in samples (16KHz), delay will be half that value
-#define RINGBUFFER 16000
+// Size of ringbuffer in samples, delay will be half that value
+#define RINGBUFFER SAMPLERATE
class QueueItem {
public: