You can search for identifiers within the package.
in-package search v0.2.0
ffmpeg-avutil
Avutil.Sample_format
Formats for audio samples.
type t = [
| `None
| `U8
| `S16
| `S32
| `Flt
| `Dbl
| `U8p
| `S16p
| `S32p
| `Fltp
| `Dblp
| `S64
| `S64p
]
Audio sample formats.
val get_name : t -> string option
Return the name of the sample format if it exists.
val find : string -> t
Find a sample format by its name. Raises Not_found when none exist.
Not_found
val get_id : t -> int
Return the internal ID of the sample format.
val find_id : int -> t
Find a sample format from its ID. Raises Not_found when none exist.