[Mono-osx] Poor Tao.OpenAL performance on Mac OS X.

holyfuzz walt at waltdestler.com
Mon Jul 13 16:17:39 EDT 2009

Hi all,

This probably occurs when using Tao.OpenAL, though I doubt that it's
specifically a Tao issue.

The problem I'm having is that (on Mac OS X) whenever Mono performs a
garbage collection, any audio sources being played by OpenAL stop for the
duration of the garbage collection, resulting in audible "hiccups" whenever
a GC occurs. I'm guessing that Mono is for some reason suspending OpenAL's
threads during the garbage collection. (The issue here is *not* that my
buffers aren't getting filled fast enough -- they are several seconds large
and the GC periods are a fraction of a second.)

This problem does *not* occur on either Windows (.Net 3.5) or Linux (OpenAl
Soft) using the exact same binaries.

Does anyone have any ideas for how to deal with this issue?

The OpenAL version I'm using is the one available for Mac OS X at

Mac OS X version 10.5.7.

Mono version is 2.4.

View this message in context: http://www.nabble.com/Poor-Tao.OpenAL-performance-on-Mac-OS-X.-tp24468209p24468209.html
Sent from the Mono - OSX mailing list archive at Nabble.com.

More information about the Mono-osx mailing list