Expand description
Provides audio device control, configuration, wav format utilities and so on.
Modules§
- buffer
- An audio buffer
AudioBuffer<T>
with a format, sample rates, numbers of channels and a buffer. It can be convert into another format and mix by the specified volume. - event
- An event related on an audio device.
- format
- Type definitions for a format of audio data.
- queue
- Structures to use an audio device by pushing methods.
- spec
- Provides tools to make a specification to require what an audio device is.
- status
- A status of an audio device.
- stream
- An audio stream allows to read and write by streaming method.
- wav
- A structure for wav format.
Structs§
- Audio
Device Lock - A lock to prevent an audio device from calling the callback
spec::AudioCallback
. - Audio
Device Property - A property of an audio device.
- Microphone
Device - An audio device to input sound.
- Speaker
Device - An audio device to output sound.
Traits§
- Audio
Device - Common methods for an audio device, such as a speaker and a microphone.
Functions§
- all_
audio_ drivers - Returns all of audio driver names recognized on now.
- current_
driver - Returns the current audio driver name, or
None
if it does not exist. - device_
name - Returns the device name of the id
device_id
. Please setis_microphone
according to what type you want to.