[][src]Module replit_audio::audio

Everything you need to play audio in repl.it.

Structs

Audio

A struct providing access to some currently playing audio instance.

AudioBuilder

Used to play an audio file or tone and create an Audio instance.

AudioError

Custom error type for audio errors.

AudioUpdate

A struct with fields for updating a currently playing audio instance.

Enums

AudioType

Type of audio to play: audio file or tone.

FileType

Supported audio file formats.

ToneType

Supported tone types.

Functions

is_disabled

Get whether the repl.it audio playing program is running.

is_running

Get whether there are any audio instances playing.

Type Definitions

AudioResult

Custom result type for playing audio.