RootEncoder
Toggle table of contents
androidJvm
Platform filter
androidJvm
Switch theme
Search in API
RootEncoder
encoder
/
com.pedro.encoder.input.audio
/
AmplitudeEffect
Amplitude
Effect
class
AmplitudeEffect
(
listener
:
AmplitudeEffect.Listener
)
:
CustomAudioEffect
Calculate the amplitude in each buffer and return the result
Members
Constructors
Amplitude
Effect
Link copied to clipboard
constructor
(
listener
:
AmplitudeEffect.Listener
)
Types
Listener
Link copied to clipboard
interface
Listener
Functions
is
Running
Link copied to clipboard
fun
isRunning
(
)
:
Boolean
process
Link copied to clipboard
open
override
fun
process
(
pcmBuffer
:
ByteArray
)
:
ByteArray
start
Link copied to clipboard
fun
start
(
)
stop
Link copied to clipboard
fun
stop
(
)