Modules§
Structs§
- channel conversion is used for channel rearrangement and conversion from one channel count to another. The ChannelConverter API is used for channel conversion.
- Configuration for
ChannelConverter
. - An atomically reference counted context.
- Like device info but only contains the ID and name of a device info. use Context::device_info(ID) in order to get more information about the device that this refers to.
- Be aware that it is not safe to have this being written to from multiple threads. This is part of a single producer single consumer ring buffer.
- Be aware that it is not safe to have this being written to from multiple threads. This is part of a single producer single consumer ring buffer.
- A decoder with synchronization. This will use a spinlock to synchronize access to the decoder on each function call. The decoder may have multiple readers or one writer. Cloning this decoder will simply return another reference to the same decoder.
Enums§
- The choice of resampling algorithm depends on your situation and requirements. The linear resampler is the most efficient and has the least amount of latency, but at the expense of poorer quality. The Speex resampler is higher quality, but slower with more latency. It also performs several heap allocations internally for memory management.
Constants§
- Maximum number of channels in a channel map.
- Minimum number of channels in a channel map.
Traits§
Functions§
- Create a sender/receiver pair for a single producer single consumer ring buffer.
subbfer_len
is the number of items that should be contained in each subbffer, andsubbuffer_count
is the number of subbffers that are used to swap data between the sender and receiver. - Create a sender/receiver pair for a single producer single consumer ring buffer using a preallocated buffer for items.
subbfer_len
is the number of items that should be contained in each subbffer, andsubbuffer_count
is the number of subbffers that are used to swap data between the sender and receiver.