wildicv/cAudio — Issue #8: Threading not working as expected on Linux
Author: d-Pixie
Created: 2012-02-17 19:03:45+00:00
State: open

# Problem

When building on Linux the variable for threading gets set to 1 all through the CMake config, CMake headers and generated headers. No warnings or errors during compile but the audioManager does not get updated automatically as expected on a threaded version of the library.

## Symptoms

All the examples, where the threaded library should make music play through to the end, requires an additional line of `audioMgr->update()` in the `while(mysound->isPlaying())` block to work as expected.

## Investigation

I followed the code to the point that I'm sure it's configured correctly and that pthreads gets included in the build. However I think the assistance of a main developer on this issue might get us to a resolution faster.

# Solution

I'm prepared to spend time and effort on fixing this issue, seams logical since I'm building on Linux anyways, but would request the help of a developer to get into the code faster (no point in floundering around for a week ;o). Contact me if you can help. I'll get stuck in in the meanwhile...