spa: add audio.position support in null sink

This commit is contained in:
Wim Taymans 2020-12-02 12:59:50 +01:00
parent 4c486c7ae3
commit 57886c1198
2 changed files with 42 additions and 11 deletions

View file

@ -223,6 +223,8 @@ struct spa_audio_info_raw {
* Ex. "FL" */
#define SPA_KEY_AUDIO_CHANNELS "audio.channels" /**< an audio channel count as int */
#define SPA_KEY_AUDIO_RATE "audio.rate" /**< an audio sample rate as int */
#define SPA_KEY_AUDIO_POSITION "audio.position" /**< channel positions as comma separated list
* of channels ex. "FL,FR" */
struct spa_audio_info_dsp {
enum spa_audio_format format; /*< format, one of the DSP formats in enum spa_audio_format_dsp */