Crate audio_master

Crate audio_master 

Source

Structs§

AudioAnalyser
AudioAnalysis
Volume metrics, clipping information, and FFT analysis data.
AudioBuffer
AudioBufferInterleaved
AudioEffect
Shared pointer to an audio effect, using Arc for thread-safe access.
AudioMaster
Shared pointer to the audio master.
AudioProcessor
Shared pointer to an audio processor.
AudioStream
Shared pointer to an audio stream. NOTE: This is a virtual in-runtime object, not a system-level stream.
AudioStreamContext
AudioStreamSettings
Settings for creating an audio stream, including sample rate and channel layout.
Device

Enums§

AudioChannel
Represents individual audio channels in a multi-channel setup, with repr(usize) for indexing.
AudioChannelLayout
Represents common audio channel layouts, where the enum variant’s repr(usize) corresponds to the number of channels in that layout.
AudioEffectState
Represents the state of an audio effect after processing or parameter operations. This enum is used to indicate success or various error conditions in audio effect handling.
AudioMasterError
Error types for the audio master system.
AudioStreamState
Represents the state of an audio stream after processing. This indicates whether the stream processed normally or encountered issues.
EffectParamValue
Represents the value of an effect parameter, supporting various numeric and string types.
ResamplerQuality

Traits§

AudioBufferImpl
Trait for planar audio buffer operations, where each channel has its own separate buffer.
AudioBufferInterleavedImpl
Trait for interleaved audio buffer operations, where samples from all channels are stored in a single contiguous buffer (e.g., LRLRLR… for stereo).
AudioBufferMathImpl
AudioEffectImpl
Public API trait for audio effects. NOTE: Uses raw pointers internally for reference exposure; not read/write secured for get_name() and get_params().
AudioEffectTrait
Trait for implementing audio effects. NOTE: Parameter names are validated against ParamPropDesk, so no additional name checks are needed.
AudioMasterImpl
Public API trait for the audio master, which manages devices and streams.
AudioProcessorImpl
Public API trait for audio processors. This manages a sequence of effects and global processing settings.
AudioStreamFeederTrait
Trait for feeders that provide audio data to streams. Implementors process input buffers based on the provided context.
AudioStreamImpl
Public API trait for audio streams. This manages stream properties like volume, speed, and filtering.

Type Aliases§

ParamPropDesk
Alias for parameter property descriptions. This is an array of tuples, each containing a parameter name and its type. The const generic N specifies the number of parameters.