Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type audio_params = {
sample_rate : int;
channel_layout : Avutil.Channel_layout.t;
sample_format : Avutil.Sample_format.t;
}
val init_audio_converter :
?out_params:audio_params ->
?out_frame_size:int ->
in_time_base:Avutil.rational ->
in_params:audio_params ->
unit ->
audio_converter
val time_base : audio_converter -> Avutil.rational
val convert_audio :
audio_converter ->
(Avutil.audio Avutil.frame -> unit) ->
[ `Frame of Avutil.audio Avutil.frame | `Flush ] ->
unit