message-params: Add read functions for arrays
authorGeorg Chini <georg@chini.tk>
Tue, 14 Jan 2020 19:50:24 +0000 (20:50 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 3 Dec 2020 14:41:39 +0000 (14:41 +0000)
commitff64defc137f61f1376653f523b5aa17f139ae2c
tree6e6634aca9b080cd2b407f0565c9908af8cc219f
parent8140932afdccbe29e7b03456f965b28a0abf24bb
message-params: Add read functions for arrays

The following new functions have been added:

pa_message_params_read_double_array() - read an array of double from list
pa_message_params_read_int64_array() - read an array of int64 from list
pa_message_params_read_uint64_array() - read an array of uint64 from list
pa_message_params_read_string_array() - read an array of strings from list

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/51>
src/map-file
src/pulse/message-params.c
src/pulse/message-params.h