diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-05-04 11:16:28 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-05-04 11:16:59 +0200 |
commit | 6ed3918317cb9b20ece88a46daaccc52d974b7bd (patch) | |
tree | f95bf412f06260e20c62aa7fa799f42554105283 /src/AlsaInput.cpp | |
parent | 957f67c0a5bf831ff743d03548e515ddc450e8cc (diff) | |
download | ODR-AudioEnc-6ed3918317cb9b20ece88a46daaccc52d974b7bd.tar.gz ODR-AudioEnc-6ed3918317cb9b20ece88a46daaccc52d974b7bd.tar.bz2 ODR-AudioEnc-6ed3918317cb9b20ece88a46daaccc52d974b7bd.zip |
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.
Diffstat (limited to 'src/AlsaInput.cpp')
-rw-r--r-- | src/AlsaInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AlsaInput.cpp b/src/AlsaInput.cpp index 4b0da93..492ff62 100644 --- a/src/AlsaInput.cpp +++ b/src/AlsaInput.cpp @@ -128,7 +128,7 @@ void AlsaInputThreaded::start() } else { m_running = true; - m_thread = boost::thread(&AlsaInputThreaded::process, this); + m_thread = std::thread(&AlsaInputThreaded::process, this); } } |