Restricting ALSA buffer size (24 second default size? madness).
Using standard encoding values for vorbis and aac. Fixing division by zero for missing total time in vorbis.