spa: reorganize params

Split files into separate files.
Move type annotations to a matching -types.h files.
Move helpers to matching -utils.h files.
Add helpers to parse generic audio and video info.
This commit is contained in:
Wim Taymans 2023-01-13 10:59:35 +01:00
parent 4e9c3b26d9
commit 00ae289a14
41 changed files with 2768 additions and 1337 deletions

View file

@ -306,13 +306,6 @@ struct spa_audio_info_raw {
* of channels ex. "FL,FR" */
#define SPA_KEY_AUDIO_ALLOWED_RATES "audio.allowed-rates" /**< a list of allowed samplerates
* ex. "[ 44100 48000 ]" */
struct spa_audio_info_dsp {
enum spa_audio_format format; /*< format, one of the DSP formats in enum spa_audio_format_dsp */
};
#define SPA_AUDIO_INFO_DSP_INIT(...) ((struct spa_audio_info_dsp) { __VA_ARGS__ })
/**
* \}
*/