Add basic memory-used stuff for butler and reduce minimum audio
authorCarl Hetherington <cth@carlh.net>
Fri, 29 Dec 2017 22:51:50 +0000 (22:51 +0000)
committerCarl Hetherington <cth@carlh.net>
Fri, 29 Dec 2017 22:51:50 +0000 (22:51 +0000)
commita5ea5c0d2637dd41e3d356cb62cac75b8cadf8ce
tree45ed553eeaf52a58dea79f66ab6345df1c1657d0
parent1701be8b9173c675169b5739fbd94f5e6f8d07d1
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.
15 files changed:
src/lib/butler.cc
src/lib/butler.h
src/lib/image.cc
src/lib/image.h
src/lib/image_proxy.h
src/lib/j2k_image_proxy.cc
src/lib/j2k_image_proxy.h
src/lib/magick_image_proxy.cc
src/lib/magick_image_proxy.h
src/lib/player_video.cc
src/lib/player_video.h
src/lib/raw_image_proxy.cc
src/lib/raw_image_proxy.h
src/lib/video_ring_buffers.cc
src/lib/video_ring_buffers.h