fixed airplay

This commit is contained in:
philippe44
2019-08-19 20:25:04 -07:00
parent 9caf8deca6
commit 49dcfdc758
8 changed files with 40 additions and 23 deletions

View File

@@ -371,7 +371,10 @@ static void process_strm(u8_t *pkt, int len) {
sendSTAT("STMc", 0);
sentSTMu = sentSTMo = sentSTMl = false;
LOCK_O;
output.external = false;
if (output.external) {
output.external = false;
_buf_resize(outputbuf, output.init_size);
}
output.threshold = strm->output_threshold;
output.next_replay_gain = unpackN(&strm->replay_gain);
output.fade_mode = strm->transition_type - '0';