Opus

# Module Opus

    module Opus: sig .. end

    exception Buffer_too_small

    exception Internal_error

    exception Invalid_packet

    exception Unimplemented

    exception Invalid_state

    exception Alloc_fail

    val recommended_frame_size : int

Recommended size of a frame in sample. Buffers for decoding are typically of this size.

    val version_string : string

    type max_bandwidth = [ `Full_band | `Medium_band | `Narrow_band | `Super_wide_band | `Wide_band ]

    type bandwidth = [ `Auto
           | `Full_band
           | `Medium_band
           | `Narrow_band
           | `Super_wide_band
           | `Wide_band ]

    type generic_control = [ `Get_bandwidth of bandwidth Stdlib.ref
           | `Get_final_range of int Stdlib.ref
           | `Get_lsb_depth of int Stdlib.ref
           | `Get_pitch of int Stdlib.ref
           | `Reset_state
           | `Set_lsb_depth of int
           | `Set_phase_inversion_disabled of bool ]

    module Decoder: sig .. end

    module Encoder: sig .. end