From b7b5b9ee2a9d6cefe9b83589122cedb89c22279c Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Sat, 6 May 2017 15:41:43 +0200 Subject: Remove old (obsolete) Mutex class and replace all uses with std::mutex. --- src/audiocachefile.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/audiocachefile.h') diff --git a/src/audiocachefile.h b/src/audiocachefile.h index 01625a7..66a6529 100644 --- a/src/audiocachefile.h +++ b/src/audiocachefile.h @@ -30,16 +30,15 @@ #include #include #include - #include -#include "mutex.h" #include #include //! Channel data container in the cache world. -class CacheChannel { +class CacheChannel +{ public: size_t channel; //< Channel number sample_t* samples; //< Sample buffer pointer. @@ -52,7 +51,8 @@ using CacheChannels = std::list; //! This class is used to encapsulate reading from a single file source. //! The access is ref counted so that the file is only opened once and closed //! when it is no longer required. -class AudioCacheFile { +class AudioCacheFile +{ friend class AudioCacheFiles; friend class TestableAudioCacheFiles; public: @@ -82,7 +82,8 @@ private: std::vector& read_buffer; }; -class AudioCacheFiles { +class AudioCacheFiles +{ public: //! Get the CacheAudioFile object corresponding to filename. //! If it does not exist it will be created. -- cgit v1.2.3