Sample.getCaps

Get the caps associated with sample

class Sample
getCaps
()

Return Value

Type: Caps

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.