December 17, 2016
here[1] is $subj. it is as close to the original C source as possible. it also includes partial vorbisfile port, so it is completely self-contained and doesn't require any C library besides libc.

there is also sample ALSA player[2]. it requires ALSA bindins[3].

grab it now while it's hot, 'cause i will probably mutilate it later. so if you want almost 1:1 C port... hurry up! the time is short!


p.s.: it compiles for x86_64 arch, but i didn't tested if it really works with 64 bits.

p.p.s.: why? because i can. and no, i won't port Opus decoder. at least not for free. ;-)


[1] http://repo.or.cz/iv.d.git/blob_plain/HEAD:/xogg/tremor.d
[2] http://repo.or.cz/iv.d.git/blob_plain/HEAD:/xogg/trest.d
[3] http://repo.or.cz/iv.d.git/blob_plain/HEAD:/alsa.d