added meta information for pulse audio
moved latency retrieval code to its own function
some code refactoring

- moved the code to skip the first msecs of a stream to its own
loop and function to keep the main input loop clean
- added a sleep timer to the input loop to be a bit easier on the cpu
further performance improvements

- increased pulse buffer to avoid buffer overflows
- moved usleep in input thread, because it was obviously
  in the wrong spot
- decreased the sleep time a little