pub type ope_packet_func = Option<unsafe extern "C" fn(user_data: *mut c_void, packet_ptr: *const c_uchar, packet_len: opus_int32, flags: opus_uint32)>;Expand description
Called on every packet encoded (including header).
§Arguments
user_data- user-defined data passed to the callbackpacket_ptr- packet datapacket_len- number of bytes in the packetflags- optional flags (none defined for now so zero)
Aliased Type§
enum ope_packet_func {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: *const u8, _: i32, _: u32)),
}