Skip to content

Commit

Permalink
slimproto alignment with 4.3 (decode_restore) - release
Browse files Browse the repository at this point in the history
  • Loading branch information
philippe44 committed Dec 24, 2021
1 parent fff5a6b commit 0d411d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/squeezelite/slimproto.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,11 +387,14 @@ static void process_strm(u8_t *pkt, int len) {
}
sendSTAT("STMc", 0);
sentSTMu = sentSTMo = sentSTMl = false;
LOCK_O;
#if EMBEDDED
// not protected so that restore can call synchronously sink handlers
if (output.external) decode_restore(output.external);
LOCK_O;
output.external = 0;
_buf_limit(outputbuf, 0);
#else
LOCK_O;
#endif
output.threshold = strm->output_threshold;
output.next_replay_gain = unpackN(&strm->replay_gain);
Expand Down

0 comments on commit 0d411d7

Please sign in to comment.