module Speex:sig
..end
Author(s): Romain Beauxis
exception Invalid_frame_size
type
mode =
| |
Narrowband |
| |
Wideband |
| |
Ultra_wideband |
type
control =
| |
SPEEX_RESET_STATE |
(* | Set/get enhancement on/off (decoder only) | *) |
| |
SPEEX_SET_ENH |
|||
| |
SPEEX_GET_ENH |
(* | Obtain frame size used by encoder/decoder | *) |
| |
SPEEX_GET_FRAME_SIZE |
(* | Set/get quality value | *) |
| |
SPEEX_SET_QUALITY |
(* | Set/get sub-mode to use | *) |
| |
SPEEX_SET_MODE |
|||
| |
SPEEX_GET_MODE |
(* | Set/get low-band sub-mode to use (wideband only) | *) |
| |
SPEEX_SET_LOW_MODE |
|||
| |
SPEEX_GET_LOW_MODE |
(* | Set/get high-band sub-mode to use (wideband only) | *) |
| |
SPEEX_SET_HIGH_MODE |
|||
| |
SPEEX_GET_HIGH_MODE |
(* | Set/get VBR on (1) or off (0) | *) |
| |
SPEEX_SET_VBR |
|||
| |
SPEEX_GET_VBR |
(* | Set/get quality value for VBR encoding (0-10) | *) |
| |
SPEEX_SET_VBR_QUALITY |
|||
| |
SPEEX_GET_VBR_QUALITY |
(* | Set/get complexity of the encoder (0-10) | *) |
| |
SPEEX_SET_COMPLEXITY |
|||
| |
SPEEX_GET_COMPLEXITY |
(* | Set/get bitrate | *) |
| |
SPEEX_SET_BITRATE |
|||
| |
SPEEX_GET_BITRATE |
(* | Set/get sampling rate | *) |
| |
SPEEX_SET_SAMPLING_RATE |
|||
| |
SPEEX_GET_SAMPLING_RATE |
(* | Set/get VAD status (1 for on, 0 for off) | *) |
| |
SPEEX_SET_VAD |
|||
| |
SPEEX_GET_VAD |
(* | Set/get Average Bit-Rate (ABR) to n bits per seconds | *) |
| |
SPEEX_SET_ABR |
|||
| |
SPEEX_GET_ABR |
(* | Set/get DTX status (1 for on, 0 for off) | *) |
| |
SPEEX_SET_DTX |
|||
| |
SPEEX_GET_DTX |
(* | Set/get submode encoding in each frame (1 for yes, 0 for no, setting to no breaks the standard) | *) |
| |
SPEEX_SET_SUBMODE_ENCODING |
|||
| |
SPEEX_GET_SUBMODE_ENCODING |
(* | Set/get tuning for packet-loss concealment (expected loss rate) | *) |
| |
SPEEX_SET_PLC_TUNING |
|||
| |
SPEEX_GET_PLC_TUNING |
(* | Set/get the max bit-rate allowed in VBR mode | *) |
| |
SPEEX_SET_VBR_MAX_BITRATE |
|||
| |
SPEEX_GET_VBR_MAX_BITRATE |
(* | Turn on/off input/output high-pass filtering | *) |
| |
SPEEX_SET_HIGHPASS |
|||
| |
SPEEX_GET_HIGHPASS |
(* | Get "activity level" of the last decoded frame, i.e. how much damage we cause if we remove the frame | *) |
| |
SPEEX_GET_ACTIVITY |
module Header:sig
..end
module Encoder:sig
..end
module Decoder:sig
..end
module Wrapper:sig
..end
module Skeleton:sig
..end