Page MenuHomeFeedback Tracker

Disconnecting audio device breaks the game
Closed, ResolvedPublic

Description

If I unplug my usb headset while in the game

  1. The sound is gone forever until the game is restarted. Simply pluging headset back doesn't do anything.
  1. If I have AI driver in my tank, there is suddenly 10 or more seconds delay between me giving orders and the message appearing in radio channel and AI reacting to it. So if I press go forward it might take 10 or more seconds before the tank moves.

This is very strange and points to some serious game engine problem.

Details

Legacy ID
2446281903
Severity
None
Resolution
Fixed
Reproducibility
Always
Operating System
Windows 7
Category
Engine

Event Timeline

Killzone_Kid edited Additional Information. (Show Details)
Killzone_Kid set Category to Engine.
Killzone_Kid set Reproducibility to Always.
Killzone_Kid set Severity to None.
Killzone_Kid set Resolution to Open.
Killzone_Kid set Legacy ID to 2446281903.May 7 2016, 5:41 PM
Bohemia added a subscriber: rogerx.Jan 1 2014, 1:18 AM

"soundplayed" Event handler also breaks. It executes 1 time and then breaks if audio output device has been unplugged, usb headset in my case.

Also, screen goes black when an HDMI resource is disconnected from the computer. This issue I just stated, seems to be a O/S related bug as I do not see it present within Linux, or an HDMI implementation related bug.

On Windows, I've disabled all drivers related to HDMI, HDMI display, NVIDIA HDMI Audio, etc. It helps, but does not solve the issue.

X39 added a subscriber: X39.May 7 2016, 5:41 PM
X39 added a comment.Jan 13 2014, 1:24 AM

seconds thing should be related with custom scripts
test it in editor without anything else running (should solve your issue there)

the first part is more or less expected behaviour as the AudioDevice gets removed and windows removes the logical device for it too
pluging it in again wont work as ArmA will still work with the old, non existing device
the only way to fix this would be to check if the device is still available and take a new one after OR to allow the device change in options

test it in editor without anything else running (should solve your issue there)

Appreciate your input but this solves nothing.

Suggested fix: Add the option to configure the audio output device.
It happens to me when my Foobar2000 take exclusive control over the audio device, the game is broken after I stopped using it.

dedmen claimed this task.May 18 2020, 11:12 AM
dedmen raised the priority of this task from Wishlist to High.
LouMontana closed this task as Resolved.May 3 2021, 11:23 AM
LouMontana updated the task description. (Show Details)
LouMontana changed Resolution from Open to Fixed.
LouMontana edited Steps To Reproduce. (Show Details)
LouMontana edited Additional Information. (Show Details)
LouMontana set Operating System to Windows 7.