MicrophoneSourceFactory

class MicrophoneSourceFactory(effects: Set<UUID> = defaultAudioEffects) : AudioRecordSourceFactory

A factory to create a MicrophoneSource.

Parameters

effects

a set of audio effects to apply to the audio source

Constructors

Link copied to clipboard
constructor(effects: Set<UUID> = defaultAudioEffects)

Functions

Link copied to clipboard
open suspend override fun create(context: Context): IAudioSourceInternal

Creates an IAudioSourceInternal instance.

Link copied to clipboard
open override fun isSourceEquals(source: IAudioSourceInternal?): Boolean

Whether the source that will be created by create is equal to another source.