steam3d / MagicPods-Windows

Add little magic to your Airpods
https://magicpods.app
286 stars 11 forks source link

Audio streaming stutters #336

Closed alejandro5042 closed 3 months ago

alejandro5042 commented 1 year ago

Experiencing a lot of sutter listening to a podcast from my iPhone, and streaming it to my PC using the "Audio streaming" feature.

HW requirements are definitely not an issue here (32 cores, 128 GB RAM, etc), with <5% CPU usage.

What could be going on? A buffering issue with the app?

steam3d commented 1 year ago

Hi. Everything works right on your PC. It's common Bluetooth Classic behavior when use multiple connections. By my tests I notised that Bluetooth Bandwidth or Transmitter Power can effect.

My iPhone also has stutters sometimes, but on Samsung I never gut any stutters.

wsy commented 10 months ago

I have the same issue. MyPC: Core i7 6700k, 32GB RAM, and Intel AX200. Device: AirPods Pro, Sony XR-55X90J TV

Step1: When I connected AirPods Pro to my PC, everything was working.

Step2: When I started streaming from my Sony TV to my PC, audio began to stutter.

Step3: I stopped streaming from my Sony TV to my PC. If it were caused by Bluetooth bandwidth issue, audio stuttering issue should be gone by now. However, the sound in my AirPods Pro still stutters.

Step4: I disconnect and recconnect my AirPods Pro, everything works again.

steam3d commented 10 months ago

@wsy The Bluetooth driver manages connections. I do not have access directly to Bluetooth driver, therefore, this is not a problem, but a feature of the operation of a specific Bluetooth driver.

For my part, I can’t do anything, but you can safely share your opinions and possible solutions to the driver’s operation.

wsy commented 9 months ago

OK. now I understand.

  1. This is caused by the Bluetooth bandwidth issue.
  2. It's the driver's behavior that my AirPods Pro remains stuttering after I stopped streaming from my TV to my PC.

Is this correct?

By the way, I'm curious: When you developed this feature, what configuration did you use? Did you come across this audio-stutter issue?

steam3d commented 9 months ago

@wsy when I used on PC everything was fine, but when I switch to laptop the audio-stutter began. The way to resolve issue - create custom Bluetooth driver and reduce audio quality.

You could also switch to internal speaker and back to AirPods, it will force the Bluetooth driver to update audio channel, it could remove audio-stutter without disconnecting AirPods.