add debug info to libs
session :P
non-interleaved
garbled but audio comes out, sorta
possibly unneeded, and seemingly unhelpful, thread safety
cast to int
slightly more working
separate detection from decoding a little