[GH-ISSUE #70] Dependency on Alsa libs but Rodio is default? #957

Closed
opened 2026-03-14 12:39:26 +03:00 by kerem · 2 comments
Owner

Originally created by @braheezy on GitHub (Aug 6, 2022).
Original GitHub issue: https://github.com/aome510/spotify-player/issues/70

Just curious why the alsa system library is needed when rodio-backend is the default audio choice? Thanks!

Originally created by @braheezy on GitHub (Aug 6, 2022). Original GitHub issue: https://github.com/aome510/spotify-player/issues/70 Just curious why the `alsa` system library is needed when `rodio-backend` is the default audio choice? Thanks!
kerem closed this issue 2026-03-14 12:39:31 +03:00
Author
Owner

@aome510 commented on GitHub (Aug 6, 2022):

rodio uses cpal for playback control. cpal uses alsa to do audio I/O on Linux. That's the reason why alsa lib is needed, at least for Linux. cpal also supports jack, but rn for spotify-player, it's not configurable.

<!-- gh-comment-id:1207144463 --> @aome510 commented on GitHub (Aug 6, 2022): `rodio` uses [`cpal`](https://github.com/RustAudio/cpal) for playback control. `cpal` uses `alsa` to do audio I/O on Linux. That's the reason why `alsa` lib is needed, at least for Linux. `cpal` also supports `jack`, but rn for `spotify-player`, it's not configurable.
Author
Owner

@braheezy commented on GitHub (Aug 9, 2022):

Gotcha. Thanks for the info!

<!-- gh-comment-id:1208827215 --> @braheezy commented on GitHub (Aug 9, 2022): Gotcha. Thanks for the info!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify-player#957
No description provided.