Parse an available query and get the metadata API at index
of the metadata API array.
this |
a GST_QUERY_ALLOCATION type query Query |
index |
position in the metadata API array to read |
params |
API specific parameters |
a Type of the metadata API at |