bodhi-realtime-agent / decodeMulawToPcm
Function: decodeMulawToPcm()
decodeMulawToPcm(
mulawBuf):Buffer
Defined in: telephony/audio-codec.ts:52
Decode a mulaw buffer to PCM L16 (16-bit signed LE). Output has 2x the byte length of input (1 mulaw byte → 2 PCM bytes).
Parameters
mulawBuf
Buffer
Returns
Buffer