Home

Awesome

<div align="center"> <img src="assets/logo.svg" height=312> </div> <br/> <p align="center"> A C++20 pipewire-api wrapper </p>

๐Ÿ“ƒ Description

rohrkabel is a wrapper around the pipewire-api that embraces RAII and tries to simplify working with pipewire.

[!NOTE]
As of writing only a portion of the pipewire-api has been wrapped.
In case we're missing something you need feel free to open an issue.
More portions of the api might be covered in the future depending on personal demand as well as demand from Soundux.

๐Ÿ“ฆ Installation

๐Ÿงต Thread-Safety

The pw_main_loop is not thread-safe, but supplies a special loop implementation meant for threaded-usage. However said special loop is cumbersome to deal with, especially from a RAII perspective, thus rohrkabel uses a different, channel-based approach inspired by pipewire-rs.

The channel based approach greatly simplifies working with rohrkabel in multi-threaded environments.

For more information check out this example, or feel free to open a discussion.

๐ŸŒŽ Who's using rohrkabel?

<div align="center"> <br> <img src="https://avatars.githubusercontent.com/u/74979035?s=200&v=4" width=30/>

Soundux

<img src="https://raw.githubusercontent.com/maltejur/discord-screenaudio/master/assets/de.shorsh.discord-screenaudio.png" width=30/>

Discord Screenaudio

<img src="https://avatars.githubusercontent.com/u/113042587?s=200&v=4" width=30/>

Vencord

<img src="https://raw.githubusercontent.com/PolisanTheEasyNick/Crescendo/main/icon.svg" width=30/>

Crescendo

</div>