Player interface. Player is used by
IncomingMessage
to play incoming data decoded by Decoder
.Methods
feed(audioData)
Send PCM data to play
Parameters:
Name | Type | Description |
---|---|---|
audioData |
Float32Array | PCM audio data to be played |
Example
player.feed(audioData);