| Modifier and Type | Method and Description |
|---|---|
static OpusMSDecoder |
OpusMSDecoder.create(int Fs,
int channels,
int streams,
int coupled_streams,
short[] mapping)
create.
|
static OpusMSEncoder |
OpusMSEncoder.Create(int Fs,
int channels,
int streams,
int coupled_streams,
short[] mapping,
OpusApplication application)
Create.
|
static OpusMSEncoder |
OpusMSEncoder.CreateSurround(int Fs,
int channels,
int mapping_family,
io.github.jaredmdobson.concentus.BoxedValueInt streams,
io.github.jaredmdobson.concentus.BoxedValueInt coupled_streams,
short[] mapping,
OpusApplication application)
CreateSurround.
|
int |
OpusDecoder.decode(byte[] in_data,
int in_data_offset,
int len,
byte[] out_pcm,
int out_pcm_offset,
int frame_size,
boolean decode_fec)
Decodes an Opus packet.
|
int |
OpusDecoder.decode(byte[] in_data,
int in_data_offset,
int len,
short[] out_pcm,
int out_pcm_offset,
int frame_size,
boolean decode_fec)
Decodes an Opus packet.
|
int |
OpusEncoder.encode(byte[] in_pcm,
int pcm_offset,
int frame_size,
byte[] out_data,
int out_data_offset,
int max_data_bytes)
Encodes an Opus frame, putting the output into a specified data buffer
|
int |
OpusEncoder.encode(short[] in_pcm,
int pcm_offset,
int frame_size,
byte[] out_data,
int out_data_offset,
int max_data_bytes)
Encodes an Opus frame, putting the output into a specified data buffer
|
static OpusPacketInfo |
OpusPacketInfo.parseOpusPacket(byte[] packet,
int packet_offset,
int len)
Parse an opus packet into a packetinfo object containing one or more frames.
|
| Constructor and Description |
|---|
OpusDecoder(int Fs,
int channels)
Allocates and initializes a decoder state.
|
OpusEncoder(int Fs,
int channels,
OpusApplication application)
Allocates and initializes an encoder state.
|
Copyright © 2024. All rights reserved.