mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 17:24:03 +02:00
PipeWire: Finish work on removing the SPA dependency.
This commit is contained in:
@@ -1,23 +1,3 @@
|
||||
/*
|
||||
The PipeWire backend depends on the libspa development packages. On Debian-based distributions,
|
||||
this can be installed with:
|
||||
|
||||
sudo apt install libspa-0.2-dev
|
||||
|
||||
If using Ubuntu, this may install it in a "spa-0.2" subfolder. In this case, you might need
|
||||
to add the following to your build command:
|
||||
|
||||
-I/usr/include/spa-0.2
|
||||
|
||||
Unfortunately PipeWire has a hard dependency on the above package, and because it's made up
|
||||
entirely of non-trivial inlined code, it's not practical to avoid this dependency. It's for
|
||||
this reason the PipeWire backend cannot be included in miniaudio.h since it has a requirement
|
||||
that it does not depend on external development packages. To use the PipeWire backend, you
|
||||
need to plug it in as a custom backend. See the custom_backend example for how to do this.
|
||||
|
||||
The PipeWire backend cannot be used with `-std=c89`. This is because the SPA headers do not
|
||||
support it.
|
||||
*/
|
||||
#ifndef miniaudio_backend_pipewire_h
|
||||
#define miniaudio_backend_pipewire_h
|
||||
|
||||
|
||||
Reference in New Issue
Block a user