summaryrefslogtreecommitdiff
path: root/src/audio/manager.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2024-04-04 03:03:45 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2024-04-04 03:03:45 -0400
commit72b6c3a35287ced9cd02e3c937dee5abb5970749 (patch)
tree62ad3e336a43bb85819a902ee93fce917111aaf8 /src/audio/manager.hpp
parentfda687eaa8b33899648e97798a7fbcaa9edda12b (diff)
downloadabaddon-portaudio-72b6c3a35287ced9cd02e3c937dee5abb5970749.tar.gz
abaddon-portaudio-72b6c3a35287ced9cd02e3c937dee5abb5970749.zip
Revert "add jitter buffer for voice"
This reverts commit 3306edc514a996a7c61986d4851c9e6cfa323fca.
Diffstat (limited to 'src/audio/manager.hpp')
-rw-r--r--src/audio/manager.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/audio/manager.hpp b/src/audio/manager.hpp
index 56882fd..5716fc5 100644
--- a/src/audio/manager.hpp
+++ b/src/audio/manager.hpp
@@ -21,7 +21,6 @@
#endif
#include "devices.hpp"
-#include "jitterbuffer.hpp"
// clang-format on
class AudioManager {
@@ -137,7 +136,7 @@ private:
mutable std::mutex m_rnn_mutex;
#endif
- std::unordered_map<uint32_t, std::pair<JitterBuffer<int16_t>, OpusDecoder *>> m_sources;
+ std::unordered_map<uint32_t, std::pair<std::deque<int16_t>, OpusDecoder *>> m_sources;
OpusEncoder *m_encoder;