diff options
| author | Carl Hetherington <cth@carlh.net> | 2017-12-29 22:51:50 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2017-12-29 22:51:50 +0000 |
| commit | a5ea5c0d2637dd41e3d356cb62cac75b8cadf8ce (patch) | |
| tree | 45ed553eeaf52a58dea79f66ab6345df1c1657d0 /src/lib/butler.h | |
| parent | 1701be8b9173c675169b5739fbd94f5e6f8d07d1 (diff) | |
Add basic memory-used stuff for butler and reduce minimum audio
readahead quite a bit. This in turn reduces the maximum butler memory
usage as it will keep getting audio (and hence video) until the
minimum audio readahead is hit.
Diffstat (limited to 'src/lib/butler.h')
| -rw-r--r-- | src/lib/butler.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/butler.h b/src/lib/butler.h index 8fad3614e..a61011f40 100644 --- a/src/lib/butler.h +++ b/src/lib/butler.h @@ -45,6 +45,8 @@ public: void disable_audio (); + std::pair<size_t, std::string> memory_used () const; + private: void thread (); void video (boost::shared_ptr<PlayerVideo> video, DCPTime time); |
