Dota-2 icon indicating copy to clipboard operation
Dota-2 copied to clipboard

dota 2 and AirPods hiccups

Open one2gov opened this issue 8 years ago • 9 comments
trafficstars

If match is already started and I am starting to use AirPods, sometimes it doesn't gets picked up by a game. Other applications like discord starting to play sound from AirPods, but dota 2 continues to use MacBook speakers. Most of the times it could be solved by going in sound options in game. But if I am actually need to choose AirPods in sound menu, it will freeze screen and disconnect me from the match 9 times out of 10.

MacBook Pro 15' 2015, Mac OS X 10.12.5 (16F73).

one2gov avatar Jul 18 '17 18:07 one2gov

Dota on Mac uses SDL for audio support, assigning to the SDL dev.

gdrewb-valve avatar Jul 18 '17 19:07 gdrewb-valve

This seems to happen with any Bluetooth headset and SDL, even those that don't have a microphone. Sound played to the desktop audio device (including Dota) goes to the headphones, but Dota also attempts to play the same sound to the SDL device directly, resulting in very messed up sound or wrong device usage (from what I can tell). This ticket can probably be renamed to "SDL Issues with Bluetooth Headsets on Mac" or something.

FlaminSarge avatar Aug 15 '17 11:08 FlaminSarge

I can also add that seems to only be an issue if the "Input" sound device for the Mac is the Bluetooth headset, rather than the Mac Internal Microphone. It seems any time the microphone on the headset is being used, SDL does some weird things when outputting audio to the headset.

This is occurring in all Source Engine games (e.g. TF2, L4D2).

FlaminSarge avatar Aug 16 '17 02:08 FlaminSarge

@one2gov d'you mind going into your Mac "Sound" options, going to the "Input" tab, and clicking on "Internal Microphone" and seeing if that helps? I wanted to see if it's the same problem.

FlaminSarge avatar Aug 16 '17 04:08 FlaminSarge

@one2gov I launched tutorial and started to use AirPods. Dota didn't saw AirPods. I switched to internal mic, back and forth and sound outputs also.

Lately, I changed my habits and now I am starting to use AirPods before I am launching the game, to bypass all these problems.

one2gov avatar Aug 16 '17 06:08 one2gov

@FlaminSarge Just checked: with the Mac input device set to "internal", this issue doesn't happen indeed.

monkeyphysics avatar Dec 16 '17 14:12 monkeyphysics

After some quick research, the issue may not be related to SDL. More specifically, it seems to be an issue with AirPods and desktop/laptop Apple systems in general. The explanation being that the codec for both output and input is changed to an inferior codec upon activation of the microphone. More information in this thread + post: https://apple.stackexchange.com/a/293066

monkeyphysics avatar Dec 16 '17 14:12 monkeyphysics

^Not only airpods, but yes, two way Bluetooth audio on Macs isn't great.

FlaminSarge avatar Dec 17 '17 14:12 FlaminSarge

Got the same issues, and I found out MS Teams has audio driver in the list. After I tried to get rid of MS Teams and all its crap that was installed on mac I was able to fix the issue. Seems Teams took control of driver and was freezing related apps.

ffind avatar Jun 17 '24 00:06 ffind