arduino-audio-tools
Loading...
Searching...
No Matches
Classes | Namespaces | Macros | Enumerations
CodecOpusMultiStream.h File Reference
#include "AudioTools/AudioCodecs/AudioCodecsBase.h"
#include "Print.h"
#include "opus.h"
#include "opus/opus_multistream.h"

Go to the source code of this file.

Classes

class  OpusMultiStreamAudioDecoder
 Decoder for the Opus multistream audio format. Supports up to 255 channels by combining multiple Opus streams into a single packet. Each Opus frame must be provided with one write() call. More...
 
class  OpusMultiStreamAudioEncoder
 Encoder for Opus multistream audio. Supports up to 255 channels by combining multiple Opus streams into a single packet. Each fully encoded frame is written to the output stream. More...
 
struct  OpusMultiStreamEncoderSettings
 Settings for Opus MultiStream Encoder. More...
 
struct  OpusMultiStreamSettings
 Settings for Opus MultiStream Decoder. More...
 

Namespaces

namespace  audio_tools
 Generic Implementation of sound input and output for desktop environments using portaudio.
 

Macros

#define OPUS_DEC_MAX_BUFFER_SIZE   4 * 1024
 
#define OPUS_ENC_MAX_BUFFER_SIZE   2048
 

Enumerations

enum  opus_channel_mapping_enum_t { OPUS_CHANNEL_MAPPING_COMBINED = 0 , OPUS_CHANNEL_MAPPING_SEPARATE = 1 , OPUS_CHANNEL_MAPPING_CUSTOM = 2 }
 Defines the channel mapping scenarios for Opus MultiStream: default is OPUS_CHANNEL_MAPPING_COMBINED which treats the channels as a single stream (e.g. stereo). OPUS_CHANNEL_MAPPING_SEPARATE treats each channel as a separate stream (e.g. 2 mono channels). OPUS_CHANNEL_MAPPING_CUSTOM allows for a custom mapping of channels to streams. More...
 

Macro Definition Documentation

◆ OPUS_DEC_MAX_BUFFER_SIZE

#define OPUS_DEC_MAX_BUFFER_SIZE   4 * 1024

◆ OPUS_ENC_MAX_BUFFER_SIZE

#define OPUS_ENC_MAX_BUFFER_SIZE   2048