diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-03-26 14:17:49 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2024-03-26 14:36:16 +0100 |
commit | bf7cb30a61bbb59790dd7a3dfa81945f9f1b0e61 (patch) | |
tree | d482c452a4a92d872d0e2e902bef907f3767d2f2 /src/audiocacheeventhandler.h | |
parent | 6e461de50e73c0c957af73e5ee7a25f4d0293490 (diff) |
Linter fixes for audiocacheeventhendler.cc and audiocacheidmanager.cc
Diffstat (limited to 'src/audiocacheeventhandler.h')
-rw-r--r-- | src/audiocacheeventhandler.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/audiocacheeventhandler.h b/src/audiocacheeventhandler.h index 8de812b..e676f6e 100644 --- a/src/audiocacheeventhandler.h +++ b/src/audiocacheeventhandler.h @@ -36,7 +36,7 @@ #include "audiocachefile.h" #include "audiocacheidmanager.h" -class CacheEvent; +struct CacheEvent; class AudioCacheEventHandler : protected Thread @@ -71,7 +71,7 @@ public: void pushLoadNextEvent(AudioCacheFile* afile, size_t channel_index, size_t pos, sample_t* buffer, volatile bool* ready); - void pushCloseEvent(cacheid_t id); + void pushCloseEvent(cacheid_t cacheid); void setChunkSize(size_t chunksize); size_t getChunkSize() const; @@ -81,13 +81,13 @@ public: protected: void clearEvents(); - void handleLoadNextEvent(CacheEvent& cache_event); + void handleLoadNextEvent(CacheEvent& cache_event) const; //! Lock the mutex and calls handleCloseCache void handleCloseEvent(CacheEvent& cache_event); //! Close decrease the file ref and release the cache id. - void handleCloseCache(cacheid_t id); + void handleCloseCache(cacheid_t cacheid); void handleEvent(CacheEvent& cache_event); |