removed buffer size from callback args, added waveforms example