fixed a bug where sounds in the audioplayer were not being stopped before thread object destructed
fixed bug in audioplayer where sources used by sounds cannot be used by
streams
added an #if #endif for emscripten for streaming of audio