Skip to content

Initial stream synchronization does not work #12

Open
@h3ndrik

Description

@h3ndrik

No matter what I set in the SnapTimeSyncDynamic synch(CONFIG_PROCESSING_TIME_MS, 10) or SnapTimeSyncFixed, it doesn't have any effect. However, if I reintroduce the delay() in line 251 below, that has an effect. I verified the TimedStream::isPlaying() now spends some time returning false, but that's not it.

// wait for the audio to become valid
ESP_LOGI(TAG, "starting after %d ms", delay_ms);
setPlaybackFactor(p_snap_time_sync->getFactor());
// replaced delay(delay_ms); with timed_stream
timed_stream.setStartMs(delay_ms);
timed_stream.begin();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions