IMPL PARTIAL: desc_handler in mainloop
IMPL: setting the descriptor handler
IMPL: done poll for direct fds handler
TUNE: if this code mor eappropriate here?
IMPL PARTIAL: stream IO
IMPL: +pcm_format_from_pa_format()
FIX: assorted fixes