Interface Decoder
access this type via: media.audio.Decoder (provides, requires or uses)
--- semantic variants: oggvorbis, mp3
Simple audio decoder API.
Functions
int4[] decode(int frames)
Create a new audio decoder instance with a given audio output format. The provided content should be an entire encoded audio entity (such as the content a file)
int4[] decode(int frames)
Decode a number of frames of ebcoded audio into raw int4 values suitable for playout. The frame count is the number of complete frames, where one complete frame includes one sample for each channel.