View Source NxAudio.IO.Encoding (nx_audio v0.2.0)

Represents the supported audio encodings

Summary

Functions

Converts a codec name to an encoding

Checks if the encoding is PCM

Functions

codec_name_to_encoding(codec_name)

@spec codec_name_to_encoding(String.t()) :: NxAudio.IO.Encoding.Type.t()

Converts a codec name to an encoding

is_pcm?(encoding)

(macro)

Checks if the encoding is PCM