Method Audio.Codec.decoder()->from_file()

class Audio.Codec.decoder

Method from_file

this_program|zero from_file(Audio.Format.ANY file)

Description

Set codec type from file

It uses Audio.Format.ANY's method get_map() to determine which codec should be used.

Parameter file

The object Audio.Format.ANY.