summaryrefslogtreecommitdiff
path: root/src/soundplayer.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2014-09-21 20:41:25 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2014-09-21 20:41:25 +0200
commit8cb96bb66d3de04a3dae3e2c886c4a49736f1b65 (patch)
treeb43b358f6313bae8f24fa290c0badb963409d2ae /src/soundplayer.h
parent05449ea487649e14ef02ca88f48ca3de5ab1f909 (diff)
Centralise all media configuration values in mediaconfig.h
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: