mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
spa: add audio.layout property
Makes it possible to define audio channels and position with a predefined layout string. It is easier and less error prone to say "5.1" than to spell out [ FL FR FC LFE RL RR ]. AUX channels have a special syntax. AUX<N> will make <N> AUX channels. Easier to say AUX128 than to write an array with the 128 AUX channels.
This commit is contained in:
parent
056f257058
commit
8ba08f3029
7 changed files with 151 additions and 0 deletions
|
|
@ -63,6 +63,7 @@
|
|||
#include <spa/param/audio/iec958-types.h>
|
||||
#include <spa/param/audio/iec958-utils.h>
|
||||
#include <spa/param/audio/layout.h>
|
||||
#include <spa/param/audio/layout-types.h>
|
||||
#include <spa/param/audio/mp3.h>
|
||||
#include <spa/param/audio/mp3-types.h>
|
||||
#include <spa/param/audio/mp3-utils.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue