Hello,
I just added three new functions to make LibVLC route decoded audio samples to custom application functions: libvlc_audio_set_format, libvlc_audio_set_format_callbacks, libvlc_audio_set_callbacks. They are conceptually very similar to the existing video callbacks.
Currently, this is limited to signed 16-bits native endian samples, and the number of channels cannot be changed. But there is room for fixing that without breaking the interface. Nevertheless, if you think you'd need something else, or this is not an acceptable limitation, or you found bugs, please let me know. We still have time to adjust the interface until it gets frozen in stone with the VLC 1.2.0 release.