package opus
Module Opus.EncoderSource
Source
type control = [ | generic_control| `Set_complexity of int| `Get_complexity of int ref| `Set_bitrate of bitrate| `Get_bitrate of bitrate ref| `Set_vbr of bool| `Get_vbr of bool ref| `Set_vbr_constraint of bool| `Get_vbr_constraint of bool ref| `Set_force_channels of bool| `Get_force_channels of bool ref| `Set_max_bandwidth of max_bandwidth| `Get_max_bandwidth of max_bandwidth| `Set_bandwidth of bandwidth| `Set_signal of signal| `Get_signal of signal ref| `Set_application of application| `Get_application of application| `Get_samplerate of int| `Get_lookhead of int| `Set_inband_fec of bool| `Get_inband_fec of bool ref| `Set_packet_loss_perc of int| `Get_packet_loss_perc of int ref| `Set_dtx of bool| `Get_dtx of bool ref
]Source
val create :
?pre_skip:int ->
?comments:(string * string) list ->
?gain:int ->
samplerate:int ->
channels:int ->
application:application ->
Ogg.Stream.stream ->
tSource
val encode_float_ba :
?frame_size:float ->
t ->
(float, Bigarray.float32_elt, Bigarray.c_layout) Bigarray.Array1.t array ->
int ->
int ->
int