title: Best cross-platform audio library for synchronizing audio playback
body: <p>I'm writing a cross-platform program that involves scrolling a waveform along with uncompressed wav/aiff audio playback. Low latency and accuracy are pretty important. What is the best cross-platform audio library for audio playback when synchronizing to an external clock? By that I mean that I would like to be able to write the playback code so it sends events to a listener many times per second that includes the "hearing frame" at the moment of the notification.
  That's all I need to do. No recording, no mixing, no 3d audio, nothing. Just playback with the best possible hearing frame notifications available.</p>
  
  <p>Right now I am considering RTAudio and PortAudio, mostly the former since it uses ALSA.
  The target platforms, in order of importance, are Mac OSX 10.5/6, Ubuntu 10.11, Windows XP/7.
  C/C++ are both fine.</p>
  
  <p>Thanks for your help!</p>