MCPcopy Create free account
hub / github.com/MusicPlayerDaemon/MPD / OnInputCacheAvailable

Method OnInputCacheAvailable

src/input/cache/Stream.cxx:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76void
77CacheInputStream::OnInputCacheAvailable(std::unique_lock<Mutex> &lock) noexcept
78{
79 assert(lock.mutex() == &GetCacheItem().mutex);
80
81 const ScopeUnlock unlock{lock};
82
83 const std::lock_guard protect{mutex};
84 InvokeOnAvailable();
85}

Callers 1

OnBufferAvailableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected