# InternalAudioSource

@RequiresApi(value = 29)
class InternalAudioSource(mediaProjection: MediaProjection, mediaProjectionCallback: MediaProjection.Callback? = null) : AudioSource, GetMicrophoneData

## Constructors

InternalAudioSource
Link copied to clipboard
constructor(mediaProjection: MediaProjection, mediaProjectionCallback: MediaProjection.Callback? = null)

## Properties

created
Link copied to clipboard
var created: Boolean
echoCanceler
Link copied to clipboard
var echoCanceler: Boolean
internalVolume
Link copied to clipboard
var internalVolume: Float
isStereo
Link copied to clipboard
var isStereo: Boolean
noiseSuppressor
Link copied to clipboard
var noiseSuppressor: Boolean
sampleRate
Link copied to clipboard
var sampleRate: Int

## Functions

init
Link copied to clipboard
fun init(sampleRate: Int, isStereo: Boolean, echoCanceler: Boolean, noiseSuppressor: Boolean): Boolean
inputPCMData
Link copied to clipboard
open override fun inputPCMData(frame: Frame)
isMuted
Link copied to clipboard
fun isMuted(): Boolean
isRunning
Link copied to clipboard
open override fun isRunning(): Boolean
mute
Link copied to clipboard
fun mute()
release
Link copied to clipboard
open override fun release()
setAudioEffect
Link copied to clipboard
fun setAudioEffect(effect: CustomAudioEffect)
start
Link copied to clipboard
open override fun start(getMicrophoneData: GetMicrophoneData)
stop
Link copied to clipboard
open override fun stop()
unMute
Link copied to clipboard
fun unMute()