summaryrefslogtreecommitdiff
path: root/src/audiobackend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/audiobackend.h')
-rw-r--r--src/audiobackend.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/audiobackend.h b/src/audiobackend.h
index 4c3232d..8e65a82 100644
--- a/src/audiobackend.h
+++ b/src/audiobackend.h
@@ -36,6 +36,11 @@ public:
virtual int read(char *pcm, size_t maxsize) = 0;
virtual int write(const char *pcm, size_t size) = 0;
+
+ /**
+ * Reimplement to use other buffersize
+ */
+ virtual int getBufferSize() { return 1024; }
};
// Declared in audiobackend.cc