[GH-ISSUE #93] add support for jack audio connection kit #84

Closed
opened 2026-02-27 19:28:44 +03:00 by kerem · 1 comment
Owner

Originally created by @sashahilton00 on GitHub (Jan 29, 2018).
Original GitHub issue: https://github.com/librespot-org/librespot/issues/93

Issue by loblik
Thursday Oct 05, 2017 at 19:19 GMT
Originally opened as https://github.com/plietar/librespot/pull/260


Hi, I've created simple JACK backend for librespot. It's just a simple initial implementation. But it works quite good. It seems to be better than
using portaudio (to access JACK) or pipe backend with jack-stdin.

Commit message follows.

This is initial support for JACK. It creates ports at startup and
keeps it connected while librespot is running. So when librespot
playback is stoped it writes silence (zeroes).

It uses jack crate (rust-jack) which needs libjack. To compile in
jack support use --features jackaudio-backend. And run librespot
with --backend jackaudio.


loblik included the following code: https://github.com/plietar/librespot/pull/260/commits

Originally created by @sashahilton00 on GitHub (Jan 29, 2018). Original GitHub issue: https://github.com/librespot-org/librespot/issues/93 <a href="https://github.com/loblik"><img src="https://avatars2.githubusercontent.com/u/1986927?v=4" align="left" width="96" height="96" hspace="10"></img></a> **Issue by [loblik](https://github.com/loblik)** _Thursday Oct 05, 2017 at 19:19 GMT_ _Originally opened as https://github.com/plietar/librespot/pull/260_ ---- Hi, I've created simple JACK backend for librespot. It's just a simple initial implementation. But it works quite good. It seems to be better than using portaudio (to access JACK) or pipe backend with jack-stdin. Commit message follows. This is initial support for JACK. It creates ports at startup and keeps it connected while librespot is running. So when librespot playback is stoped it writes silence (zeroes). It uses jack crate (rust-jack) which needs libjack. To compile in jack support use --features jackaudio-backend. And run librespot with --backend jackaudio. ---- _**[loblik](https://github.com/loblik)** included the following code: https://github.com/plietar/librespot/pull/260/commits_
kerem 2026-02-27 19:28:44 +03:00
Author
Owner

@ComlOnline commented on GitHub (Jan 29, 2018):

@loblik could you create a pull request for this against this repo?

<!-- gh-comment-id:361321602 --> @ComlOnline commented on GitHub (Jan 29, 2018): @loblik could you create a pull request for this against this repo?
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/librespot#84
No description provided.