Interface AudioFilter
-
- All Implemented Interfaces:
public interface AudioFilter
-
-
Method Summary
-
-
Method Detail
-
filter
abstract Unit filter(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.
-
-
-
-