Get the caps associated with sample
the caps of sample or NULL when there is no caps. The caps remain valid as long as sample is valid. If you need to hold on to the caps for longer than that, take a ref to the caps with Caps.ref.
Get the caps associated with sample