package opus

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module OpusSource

Sourceexception Buffer_too_small
Sourceexception Internal_error
Sourceexception Invalid_packet
Sourceexception Unimplemented
Sourceexception Invalid_state
Sourceexception Alloc_fail

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

Sourceval version_string : string
Sourcetype max_bandwidth = [
  1. | `Narrow_band
  2. | `Medium_band
  3. | `Wide_band
  4. | `Super_wide_band
  5. | `Full_band
]
Sourcetype bandwidth = [
  1. | `Auto
  2. | max_bandwidth
]
Sourcetype generic_control = [
  1. | `Reset_state
  2. | `Get_final_range of int ref
  3. | `Get_pitch of int ref
  4. | `Get_bandwidth of bandwidth ref
  5. | `Set_lsb_depth of int
  6. | `Get_lsb_depth of int ref
  7. | `Set_phase_inversion_disabled of bool
]
Sourcemodule Decoder : sig ... end
Sourcemodule Encoder : sig ... end