ump: Add a function to provide the packet word length of a UMP type

Add a helper function to return the number of words of a given UMP
packet type.  Used for parsing MIDI Clip File stream, for example.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2024-07-04 09:53:20 +02:00
parent ade099fab7
commit 568b2ac1db
3 changed files with 19 additions and 0 deletions

View file

@ -212,5 +212,6 @@ ALSA_1.2.13 {
@SYMBOL_PREFIX@snd_ump_endpoint_info_set_*;
@SYMBOL_PREFIX@snd_ump_block_info_clear;
@SYMBOL_PREFIX@snd_ump_block_info_set_*;
@SYMBOL_PREFIX@snd_ump_packet_length;
#endif
} ALSA_1.2.10;