mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
alsa-pcm: allow setting number of channels
Allow passing the number of channels when creating a device to restrict the negotiated channels.
This commit is contained in:
parent
267eabaf69
commit
8168dfdbc1
5 changed files with 15 additions and 0 deletions
|
|
@ -221,6 +221,8 @@ struct spa_audio_info_raw {
|
|||
|
||||
#define SPA_KEY_AUDIO_CHANNEL "audio.channel" /**< an audio channel as string,
|
||||
* Ex. "FL" */
|
||||
#define SPA_KEY_AUDIO_CHANNELS "audio.channels" /**< an audio channel count as int */
|
||||
|
||||
struct spa_audio_info_dsp {
|
||||
enum spa_audio_format format; /*< format, one of the DSP formats in enum spa_audio_format_dsp */
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue