Avutil.Channel_layout
Formats for channels layouts.
type layout = Channel_layout.t
Channel layout formats.
val standard_layouts : t list
List of standard channel layouts.
val stereo : t
val mono : t
val five_point_one : t
val find : string -> t
Return a channel layout id that matches name. Raises Not_found
otherwise. name can be one or several of the following notations, separated by '+' or '|':
val get_description : t -> string
Return a description of the channel layout.
val get_nb_channels : t -> int
Return the number of channels in the channel layout.
val get_default : int -> t
Return default channel layout for a given number of channels. Raises Not_found
if not found.
val get_native_id : t -> int64 option
Return a native channel layout ID, suitable for filters channel_layout.