Package-level declarations

Functions

Link copied to clipboard
fun AudioPermissionButton(state: RecorderState, modifier: Modifier = Modifier)

Material 3 icon button that reflects microphone permission state and requests access when needed.

Link copied to clipboard
fun ErrorDialog(error: AudioError, onDismiss: () -> Unit)

Displays an AudioError in a Material 3 alert dialog with a dismiss action.

Link copied to clipboard
fun PlayAudioButton(recording: AudioRecording, modifier: Modifier = Modifier, state: PlayerState = rememberPlayerState(recording), showWaveform: Boolean = true)

Material 3 play button with pause, restart, and error handling for an AudioRecording.

Link copied to clipboard
fun RecordAudioButton(modifier: Modifier = Modifier, state: RecorderState = rememberRecorderState(), showWaveform: Boolean = true)

Material 3 record button with optional live waveform and permission handling.