|
libmixed
|
#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 |
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.
| unsigned char* mixed_pack::_data |
Bip buffer internals
| mixed_channel_t mixed_pack::channels |
The number of channels that are packed into the array.
| enum mixed_encoding mixed_pack::encoding |
The sample encoding in the byte array.
| uint32_t mixed_pack::read |
| uint32_t mixed_pack::reserved |
| uint32_t mixed_pack::samplerate |
The sample rate at which data is encoded in Hz.
| uint32_t mixed_pack::size |
| uint32_t mixed_pack::write |