From 7e227c5c6a74fe951d4455dd91bac4cc1e65b9fe Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 30 Mar 2022 17:11:51 +0200 Subject: [PATCH] fmtconvert: we support U16 format as well --- spa/plugins/audioconvert/fmtconvert.c | 1 + 1 file changed, 1 insertion(+) diff --git a/spa/plugins/audioconvert/fmtconvert.c b/spa/plugins/audioconvert/fmtconvert.c index e056bb9be..d1d52ad48 100644 --- a/spa/plugins/audioconvert/fmtconvert.c +++ b/spa/plugins/audioconvert/fmtconvert.c @@ -617,6 +617,7 @@ static int calc_width(struct spa_audio_info *info) case SPA_AUDIO_FORMAT_S16P: case SPA_AUDIO_FORMAT_S16: case SPA_AUDIO_FORMAT_S16_OE: + case SPA_AUDIO_FORMAT_U16: return 2; case SPA_AUDIO_FORMAT_S24P: case SPA_AUDIO_FORMAT_S24: