Skip to content

bodhi-realtime-agent / mulawEncode

Function: mulawEncode()

mulawEncode(sample): number

Defined in: telephony/audio-codec.ts:31

Encode a 16-bit PCM sample to a single mulaw byte.

Parameters

sample

number

Returns

number

Built with VitePress