| Extracted from Pike v7.8 release 866 at 2018-02-09.

[Top]
Audio
Audio.Codec
Audio.Codec.decoder

# Method Audio.Codec.decoder()->create()

Method create

  `void Audio.Codec.decoder(string|void codecname, object|void _codec)`

Description

  Creates decoder object

Parameter `codecnum`

  Some of supported codec, like _Ffmpeg.CODEC_ID_*

Parameter `_codec`

  The low level object will be used for decoder. By default _Ffmpeg.ffmpeg object will be used.

Note

  Until additional library is implemented the second parameter _codec hasn't effect.

See also

  _Ffmpeg.ffmpeg , _Ffmpeg.CODEC_ID_MP2