init version of pcm capture, cannot handle xrun case. debugging