summaryrefslogtreecommitdiff
path: root/src/audio/manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/audio/manager.hpp')
-rw-r--r--src/audio/manager.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audio/manager.hpp b/src/audio/manager.hpp
index 5716fc5..56882fd 100644
--- a/src/audio/manager.hpp
+++ b/src/audio/manager.hpp
@@ -21,6 +21,7 @@
#endif
#include "devices.hpp"
+#include "jitterbuffer.hpp"
// clang-format on
class AudioManager {
@@ -136,7 +137,7 @@ private:
mutable std::mutex m_rnn_mutex;
#endif
- std::unordered_map<uint32_t, std::pair<std::deque<int16_t>, OpusDecoder *>> m_sources;
+ std::unordered_map<uint32_t, std::pair<JitterBuffer<int16_t>, OpusDecoder *>> m_sources;
OpusEncoder *m_encoder;