[][src]Crate miniaudio

Modules

band_pass_filtering
biquad_filtering
high_pass_filtering
high_shelf_filter
low_pass_filtering
low_shelf_filter
notching_filter
peaking_eq_filter

Structs

ChannelConverter

channel conversion is used for channel rearrangement and conversion from one channel count to another. The ChannelConverter API is used for channel conversion.

ChannelConverterConfig

Configuration for ChannelConverter.

Context
ContextConfig
DataConverter
DataConverterConfig
Device
DeviceCapture
DeviceConfig
DeviceConfigCapture
DeviceConfigPlayback
DeviceConfigUserData
DeviceId
DeviceInfo
DevicePlayback
DeviceUserData
Frames
FramesMut
LCG
LinearResampler
LinearResamplerConfig
Noise
NoiseConfig
PCMRingBufferDeprecated
Resampler
ResamplerConfig
RingBuffer
Waveform
WaveformConfig

Enums

Backend
Channel
ChannelMixMode
DeviceType
DitherMode
Error
Format
IOSSessionCategory
IOSSessionCategoryOption
NoiseType
PerformanceProfile
ResampleAlgorithm

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.

ResampleAlgorithmType
ShareMode
StandardChannelMap
StreamFormat
StreamLayout
ThreadPriority
WaveformType

Constants

MAX_CHANNELS

Maximum number of channels in a channel map.

MAX_FILTER_ORDER
MAX_SAMPLE_RATE
MIN_CHANNELS

Minimum number of channels in a channel map.

MIN_SAMPLE_RATE
SAMPLE_RATE_8000
SAMPLE_RATE_11025
SAMPLE_RATE_16000
SAMPLE_RATE_22050
SAMPLE_RATE_24000
SAMPLE_RATE_32000
SAMPLE_RATE_44100
SAMPLE_RATE_48000
SAMPLE_RATE_88200
SAMPLE_RATE_96000
SAMPLE_RATE_176400
SAMPLE_RATE_192000
SAMPLE_RATE_352800
SAMPLE_RATE_384000

Type Definitions

ConvertFn