mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-29 11:08:40 -05:00
audio: remove layout from audio
Make special format types for planar and interleaved instead of having a field. Add enum for audio channel positions Add some default audio channel layouts Place the channel layout in the audio format when possible alsa: place audio channel positions in format Add sse optimized channel mixing for some common cases Remove name from port info, it's not mandatory and in the properties Add direction to port info
This commit is contained in:
parent
fb3379e587
commit
5196f7f053
38 changed files with 981 additions and 369 deletions
|
|
@ -88,12 +88,11 @@ enum spa_format {
|
|||
|
||||
/* Audio format keys */
|
||||
SPA_FORMAT_START_Audio,
|
||||
SPA_FORMAT_AUDIO_format,
|
||||
SPA_FORMAT_AUDIO_format, /**< audio format, one of enum spa_audio_format */
|
||||
SPA_FORMAT_AUDIO_flags,
|
||||
SPA_FORMAT_AUDIO_layout,
|
||||
SPA_FORMAT_AUDIO_rate,
|
||||
SPA_FORMAT_AUDIO_channels,
|
||||
SPA_FORMAT_AUDIO_channelMask,
|
||||
SPA_FORMAT_AUDIO_channels, /**< number of audio channels */
|
||||
SPA_FORMAT_AUDIO_position, /**< channel positions one of enum spa_audio_position */
|
||||
|
||||
/* Video Format keys */
|
||||
SPA_FORMAT_START_Video = 0x10000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue