Package-level declarations
Voice codecs for 20 ms mono PCM16 frames: app.tether.audio.OpusCodec (Concentus, pure Java) and app.tether.audio.PcmuCodec (G.711 µ-law), plus a linear resampler.
Types
Link copied to clipboard
Opus through Concentus (a pure-Java port of libopus): encode/decode are synchronous calls on the audio thread, so a frame leaves the moment it is encoded. MediaCodec added 5–6 ms of IPC per frame and could hand back a frame one call late (a full extra 20 ms), and it exposes none of the voice settings.
Link copied to clipboard
Link copied to clipboard
interface VoiceCodec
Encodes / decodes 20 ms mono PCM16 frames.