Skip to content

Commit d34beee

Browse files
committed
read resample factor on startup
1 parent e219af7 commit d34beee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/api/SnapOutput.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ class SnapOutput : public AudioInfoSupport {
246246
} else {
247247
// wait for the audio to become valid
248248
ESP_LOGI(TAG, "starting after %d ms", delay_ms);
249+
setPlaybackFactor(p_snap_time_sync->getFactor());
249250
// replaced delay(delay_ms); with timed_stream
250251
timed_stream.setStartMs(delay_ms);
251252
is_sync_started = true;

0 commit comments

Comments
 (0)