MicrophoneSourceFactory

class MicrophoneSourceFactory(effects: Set<UUID> = setOf( AudioEffect.EFFECT_TYPE_AEC, AudioEffect.EFFECT_TYPE_NS )) : 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> = setOf( AudioEffect.EFFECT_TYPE_AEC, AudioEffect.EFFECT_TYPE_NS ))

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.