-
Committer:
Aaron Brethorst
-
Date:
2010-10-01 22:02:50 UTC
-
Revision ID:
aaron@mactacular.local-20101001220250-uofx2sl27ng1kozu
I THINK this solves the resource contention issue. Here are the three things I changed: 1) new AudioStreamer class from the original author. 2) Simplify the teardown/creation codepath for starting a new audio stream in order to prevent several unnecessary AudioStreamer objects from being created. 3) Fix a really nasty bug in the AudioStreamer class where it doesn't always cancel a background thread that was holding on to hardware resources.