public interface AudioEncoder
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
encode(ByteBuffer audioPkt,
ByteBuffer buf)
Encodes audio sample data in from the provided 'audioPkt'.
|
ByteBuffer encode(ByteBuffer audioPkt, ByteBuffer buf)
audioPkt
- Raw bytes containing sample data.buf
- Buffer to use as a storage for the output audio frame.Copyright © 2019. All rights reserved.