-
public interface InputAudioFilterManipulates the audio data before it's fed into WebRTC.
-
-
Method Summary
Modifier and Type Method Description abstract UnitapplyFilter(Integer audioFormat, Integer channelCount, Integer sampleRate, ByteBuffer sampleData)Invoked after an audio sample is recorded. -
-
Method Detail
-
applyFilter
abstract Unit applyFilter(Integer audioFormat, Integer channelCount, Integer sampleRate, ByteBuffer sampleData)
Invoked after an audio sample is recorded. Can be used to manipulate the ByteBuffer before it's fed into WebRTC. Currently the audio in the ByteBuffer is always PCM 16bit and the buffer sample size is ~10ms.
- Parameters:
audioFormat- format in android.media.
-
-
-
-