Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SteelSeries Xbox Headsets #60

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

DieHertz
Copy link

@DieHertz DieHertz commented Jan 6, 2025

This PR adds the vendor ID for SteelSeries ApS 0x1038

My device, the Arctis Nova Pro Wireless, did not work out of the box even with the vendor ID.

The headset.c code assumes that it's safe to call gip_headset_register after receiving the first audio_volume op, seemingly relying on the fact that audio_ready always arrives before it.
In my case the audio_volume arrives before audio_readt and it results in gip_init_audio_out to allocate a 0-byte buffer (client.audio_config_out being not yet initialized).

I'm not sure what is the best way to fix this, for now I've added two flags indicating the receipt of audio_volume and audio_ready and call register only upon receiving both. Feel free to propose a better solution 😉

This is a copy of dlundqvist#25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant