Skip to content

Audio Sync Offset not working until UI control is touched (or randomly) #5356

Open

Description

@MasterZap

Operating System Info

Windows 10

Other OS

No response

OBS Studio Version

27.1.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/iHiQko3ymupq9Im9

OBS Studio Crash Log URL

No response

Expected Behavior

Sync Offset should always work

Current Behavior

Sync offset does NOT work until you touch the UI control.

Steps to Reproduce

  1. Set up an Audio Sync Offset (in my case 280ms to compensate for a really slow camera)
  2. Add an Audio Visualizer of some kind, add a render delay of 280ms
  3. Exit and re-start OBS
  4. Record or Stream, do some noises. You should see your audio visualizer obviously delayed as you do this
  5. Look back at recording - audio will NOT be in sync
  6. Go to Advanced Audio Options
  7. Touch the Audio Sync Offset value
  8. Record again - AUDIO IS IN SYNC
  9. Exit and restart OBS
  10. Record again. Audio is back out of sync
    ...

You can even see this within a single recording session. I can

  1. Launch OBS
  2. Start a recording (this will be out of sync)
  3. Open advanced audio settings, touch the value
  4. From here, the audio WILL be in sync

See video demo

2021-10-01.00-50-13.mp4

Anything else we should know?

The problem seems to be offsets are not applied until the dialog is shown... or in some other case..... seems random.... but in a freshly launched OBS, for sure they are not.

Activity

  1. MasterZap commented on Sep 30, 2021

    @MasterZap
    Author

    Originally found in 27.0.0 but I tested in 27.1.1 - problem still there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions