From 6ed3918317cb9b20ece88a46daaccc52d974b7bd Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Mon, 4 May 2015 11:16:28 +0200 Subject: Replace boost by C++11 std::thread doesn't support interruption like boost::thread, which was used in the ALSA input. Everything else should be equivalent. --- src/VLCInput.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/VLCInput.h') diff --git a/src/VLCInput.h b/src/VLCInput.h index ec7c80e..048c931 100644 --- a/src/VLCInput.h +++ b/src/VLCInput.h @@ -27,9 +27,10 @@ #include #include #include +#include +#include #include -#include #include "SampleQueue.h" @@ -93,7 +94,7 @@ class VLCInput std::vector m_current_buf; - boost::mutex m_queue_mutex; + mutable std::mutex m_queue_mutex; std::deque m_queue; std::string m_uri; -- cgit v1.2.3