libmixed
Loading...
Searching...
No Matches
Data Fields
mixed_pack Struct Reference

#include <mixed.h>

Data Fields

unsigned char * _data
 
uint32_t size
 
uint32_t read
 
uint32_t write
 
uint32_t reserved
 
enum mixed_encoding encoding
 
mixed_channel_t channels
 
uint32_t samplerate
 

Detailed Description

Information struct to encapsulate a "channel"

Channels are representing external audio sources or drains. If you have a sound system or some kind of sound file reader, you will want to represent them using this struct.

Using this struct you can then create a converter segment to include the external audio into the mix.

Field Documentation

◆ _data

unsigned char* mixed_pack::_data

Bip buffer internals

◆ channels

mixed_channel_t mixed_pack::channels

The number of channels that are packed into the array.

◆ encoding

enum mixed_encoding mixed_pack::encoding

The sample encoding in the byte array.

◆ read

uint32_t mixed_pack::read

◆ reserved

uint32_t mixed_pack::reserved

◆ samplerate

uint32_t mixed_pack::samplerate

The sample rate at which data is encoded in Hz.

◆ size

uint32_t mixed_pack::size

◆ write

uint32_t mixed_pack::write

The documentation for this struct was generated from the following file: