Logic to make portaudio stream

This is not in the thread, but the function that makes it:
putting it in the thread means we can't indicate failure.