Page MenuHome

VSE breaks when I insert or remove headphones
Open, Needs TriagePublic

Description

System Information
Windows 7, Nvidia GeForce GTX 950

Blender Version
Broken: 2.79 5bd8ac9

Problem Description
I load up the VSE and then plug in or remove my USB headphones. After this, when I hit play (which I have bound to space), the Video Sequence Editor pane no longer runs at the correct FPS (it is much faster) and there is no audio out of either output. Returning the audio output device to the original state does not fix the problem.

Exact steps for others to reproduce the error
I don't know the make of my headset, but they are gaming headphones with an attached mic. The audio driver is called USB PnP Sound Device.

Details

Type
Bug

Event Timeline

just noting that it works fine here on linux with my headphones

Mets 3D (Mets) added a subscriber: Mets 3D (Mets).EditedFri, Jan 11, 4:11 PM

I can reproduce this in 2.7 and 2.8, although my Windows version isn't exactly cutting edge either. Don't even need to unplug headphones, just disable the active playback device.

Blender version
Broken: Blender 2.79b f4dc9f9d68b
Still broken: Blender 2.80 f98e4cbedbb7

System Info
Win10 v1607
Motherboard: ASUS Prime B350 Plus
Headphones: HyperX Cloud Alpha
GPU: GTX 1070

Some things to note:

  • Bug is not VSE related. Happens in a clean file without touching the VSE.
  • Once the bug occurs, even loading a brand new file doesn't fix it, Blender has to be restarted.
  • Only happens when 'Scene.sync_mode` is set to "AV Sync". "No Sync" and "Frame Dropping" settings are unaffected. This is also to say, the framerate setting under Properties->Render->Dimensions is not affected.
  • Bug does not occur when changing playback devices.
  • Bug does occur when disabling current playback device.

With your last two points you mean the playback device in the windows audio settings right? I guess you can recover if you go to the blender user settings and switch the audio device to None and back?

Mets 3D (Mets) added a comment.EditedSun, Jan 13, 6:26 PM

Yep, going into User Prefs->System->Audio Device, setting it to None and then back to OpenAL fixes it on both 2.7 and 2.8. Good news?

And yes, by playback devices I mean the stuff in here on Windows:

Which is accessed(among other ways) via right clicking the volume slider icon and clicking on Playback Devices.