Code: Select all
libvlc_audio_set_format_callbacks
Currently it depends on the codec. But for integrating libvlc into Open Frameworks I need a buffersize with a power of two (128, 256, 512, 1024, etc.) for passing it to the sound device.
Currently .mkv with .aac audio is the only format (that I found so far) that has an audio buffersize of 1024 and works perfectly well, all other codecs audio has artifacts because the buffersize is not a power of two (1152 (.mp3) or 2205(.wav) for example).