-
public class PLCModulePacket Loss Concealment (PLC) Module for VoIP Applications This module learns from previously decoded audio data and generates synthetic audio frames during packet loss scenarios.
-
-
Method Summary
Modifier and Type Method Description voidfeedNormalAudio(Array<short> audioData, int offset, int length)Feed normal decoded audio data to the PLC module for learning. intgeneratePLCAudio(Array<short> plcFrame, int offset, int length)Generate synthetic audio data when a packet is lost. voidreset()Resets the PLC module to its initial state. -
-
Method Detail
-
feedNormalAudio
void feedNormalAudio(Array<short> audioData, int offset, int length)
Feed normal decoded audio data to the PLC module for learning.
-
generatePLCAudio
int generatePLCAudio(Array<short> plcFrame, int offset, int length)
Generate synthetic audio data when a packet is lost.
-
reset
void reset()
Resets the PLC module to its initial state.
-
-
-
-