spdif glitch at track transition

This commit is contained in:
philippe44
2024-03-20 22:36:22 -07:00
parent 4b1f8a8d4b
commit 787a5d9a6e
3 changed files with 3 additions and 3 deletions

View File

@@ -141,8 +141,8 @@ static FLAC__StreamDecoderWriteStatus write_cb(const FLAC__StreamDecoder *decode
FLAC__int32 *rptr = (FLAC__int32 *)buffer[channels > 1 ? 1 : 0];
if (decode.new_stream) {
LOG_INFO("setting track_start");
LOCK_O;
LOG_INFO("setting track_start");
output.track_start = outputbuf->writep;
decode.new_stream = false;