mbuffer port for Max OS X. Original project: http://www.maier-komor.de/mbuffer.html