Player::playlist_content_change will call setup_pieces() regardless v2.15.5
authorCarl Hetherington <cth@carlh.net>
Wed, 15 May 2019 22:52:15 +0000 (23:52 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 15 May 2019 22:52:15 +0000 (23:52 +0100)
commitc68cf49367957b49a99a9cc04013e9ee5a8c5bfc
tree1cb36ca02f32de05102b1ee603b0ef8c47d0595c
parentd2ce97f930b53ec7d50c22a11dd03b7264b25039
Player::playlist_content_change will call setup_pieces() regardless
of the state of frequent, so Butler::player_change must always seek
regardless of the state of frequent.  Otherwise setup_pieces() results
in the next pass() output being at position 0, which causes problems
when the audio from that output is pushed into the audio ring buffers.
src/lib/butler.cc
src/lib/butler.h