You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ASIO: collecting output_devices() into Vec only returns the first device #1106
Hi @roderickvd — sorry for the late reply. I’ve been busy with my project and didn’t get a chance to follow up in time.
I retested on the latest master after the fix was merged:
cpal v0.18.0 (https://github.com/RustAudio/cpal.git#1c64e49c) (from cargo tree -i cpal)
Windows + ASIO
On my side, the enumeration is still missing one device, and now it happens both when iterating directly and when collecting into a Vec first (so the behavior is consistent, but still incomplete).
@roderickvd, I've tested the new fix and confirmed it works well both when iterating and when collecting into a Vec on the minimal reproducible example. I've also tested it in my music player, and it works perfectly there too. Thanks for the fix!
Activity
roderickvd commentedon Feb 18, 2026
Thanks for the report. This is due to ASIO only allowing one driver being loaded at a time. Please try out #1107.
roderickvd commentedon Feb 23, 2026
@mikai233 sorry, I went ahead merging #1107 because I mistakenly thought that you had already confirmed it works. Let me know if it does or doesn't.
mikai233 commentedon Feb 24, 2026
Hi @roderickvd — sorry for the late reply. I’ve been busy with my project and didn’t get a chance to follow up in time.
I retested on the latest master after the fix was merged:
cpal v0.18.0 (https://github.com/RustAudio/cpal.git#1c64e49c) (from cargo tree -i cpal)Windows + ASIO
On my side, the enumeration is still missing one device, and now it happens both when iterating directly and when collecting into a Vec first (so the behavior is consistent, but still incomplete).
Current output:
fix(asio): enumerate devices without known sample rate
roderickvd commentedon Feb 24, 2026
No worries, thanks for the feedback. Please try #1112.
(I don't have ASIO so I am doing this purely from a code standpoint, please bear with me.)
mikai233 commentedon Feb 25, 2026
@roderickvd, I've tested the new fix and confirmed it works well both when iterating and when collecting into a Vec on the minimal reproducible example. I've also tested it in my music player, and it works perfectly there too. Thanks for the fix!
fix(asio): enumerate devices without known sample rate (RustAudio#1112)