Add test that opens, prepares and closes the alsa pcm device in several threads simultaneously in an infinite loop.