audioconvert: add f64 support

Fixes #1990
This commit is contained in:
Wim Taymans 2022-01-10 13:14:23 +01:00
parent 9f5caa6358
commit 7b1c5cd6dd
4 changed files with 28 additions and 3 deletions

View file

@ -520,6 +520,10 @@ static int calc_width(struct spa_audio_info *info)
case SPA_AUDIO_FORMAT_S24_OE:
case SPA_AUDIO_FORMAT_U24:
return 3;
case SPA_AUDIO_FORMAT_F64P:
case SPA_AUDIO_FORMAT_F64:
case SPA_AUDIO_FORMAT_F64_OE:
return 8;
default:
return 4;
}