Skip to content

Conversation

@marcin-serwin
Copy link
Contributor

@marcin-serwin marcin-serwin commented Aug 1, 2025

The cubeb_stream_get_current_device function is considered for deletion, see mozilla/cubeb#822. Other than an outdated Firefox workaround, this is the only other place where I was able to find it being used. As far as I can tell, the alternative detection would not find anything more than the GetDevice function so I'm not exactly sure what was its purpose.

Is there actually some platform where the fallback function works while the default device is not found using the enumerate_devices?

@Megamouse
Copy link
Contributor

@Vestrel care to take a look?

@Megamouse Megamouse added the Audio label Aug 1, 2025
@Vestrel
Copy link
Contributor

Vestrel commented Aug 1, 2025

Well, if data is the same as in enumeration, then i don't mind removing it. My assumption was that some backends may not implement enumeration, so i wrote this fallback.

Please also delete function declaration from header file.

@marcin-serwin
Copy link
Contributor Author

More backends support enumeration than the fallback so it doesn't buy you anything at the moment.

@AniLeo AniLeo merged commit e5537c1 into RPCS3:master Aug 4, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants