mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-01 22:58:50 -04:00
fmtconvert: we support U16 format as well
This commit is contained in:
parent
2f5bba112f
commit
7e227c5c6a
1 changed files with 1 additions and 0 deletions
|
|
@ -617,6 +617,7 @@ static int calc_width(struct spa_audio_info *info)
|
||||||
case SPA_AUDIO_FORMAT_S16P:
|
case SPA_AUDIO_FORMAT_S16P:
|
||||||
case SPA_AUDIO_FORMAT_S16:
|
case SPA_AUDIO_FORMAT_S16:
|
||||||
case SPA_AUDIO_FORMAT_S16_OE:
|
case SPA_AUDIO_FORMAT_S16_OE:
|
||||||
|
case SPA_AUDIO_FORMAT_U16:
|
||||||
return 2;
|
return 2;
|
||||||
case SPA_AUDIO_FORMAT_S24P:
|
case SPA_AUDIO_FORMAT_S24P:
|
||||||
case SPA_AUDIO_FORMAT_S24:
|
case SPA_AUDIO_FORMAT_S24:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue