Skip to content

ASIO: Add COM initialization#1118

Merged
roderickvd merged 3 commits intoRustAudio:masterfrom
Sin-tel:asio_com
Mar 8, 2026
Merged

ASIO: Add COM initialization#1118
roderickvd merged 3 commits intoRustAudio:masterfrom
Sin-tel:asio_com

Conversation

@Sin-tel
Copy link
Contributor

@Sin-tel Sin-tel commented Mar 2, 2026

Add COM initialization code to ASIO, which was already available in WASAPI.

TODO: figure out where exactly we need to sprinkle com::com_initialized() to make everything work correctly.

Fixes #798

@Sin-tel Sin-tel changed the title share com init between WASAPI and ASIO [ASIO] Add COM initialization Mar 2, 2026
@Sin-tel Sin-tel changed the title [ASIO] Add COM initialization ASIO: Add COM initialization Mar 2, 2026
@roderickvd
Copy link
Member

Thanks for sorting this out. Just give me a sign when you've completed that todo.

@roderickvd roderickvd marked this pull request as draft March 2, 2026 21:38
@Sin-tel
Copy link
Contributor Author

Sin-tel commented Mar 2, 2026

Adding them to stream should cover all cases. Not necessary in Device since all data is cached anyway.

@Sin-tel Sin-tel marked this pull request as ready for review March 2, 2026 23:33
@roderickvd roderickvd merged commit 7a4d350 into RustAudio:master Mar 8, 2026
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ASIO] bug/strange behaviour with threads - only one thread can access devices

2 participants