No description
Find a file
Carlo Capocasa 837a820e35 fix foreigndep
2021-01-22 10:44:02 +01:00
opus support windows mingw64 2021-01-21 12:02:06 +01:00
opus.nim fix incorrect size 2021-01-21 12:01:53 +01:00
opus.nimble fix foreigndep 2021-01-22 10:44:02 +01:00
README.md a little more readme 2021-01-01 23:54:57 +01:00

nim-opus

A nim wrapper for opus, the latest and greatest freely usable audio codec

Portable and liberally licensed

Usage


# Get data as an array-like structure from a demultiplexer
let encodedData = getMyEncodedData()

let decoder = newDecoder()
let samples = decoder.decode(encodedData)

for i in 0..<samples.len:
  echo $samples.data[i]

Documentation

Please see auto-generated documentation at https://capocasa.github.io/nim-opus/opus.html

Further information

For a full usage example of the opus decoder, see the lov video player, https://github.com/capocasa/lov

Design and project status also applies to nim-opus as well.