This PR moves the save config functionality to the top of the audio processing callback, we skip processing the audio packet if we need to save. This frees up a load of cycles for writing to flash. If no audio is playing we save immediately as we might not get a callback at all.
This PR moves the save config functionality to the top of the audio processing callback, we skip processing the audio packet if we need to save. This frees up a load of cycles for writing to flash. If no audio is playing we save immediately as we might not get a callback at all.