Here is a patch I started a couple of months ago. I don't really have
the time to finish it up. The basics work, at least -100% for
playback, but not all editing operations are safe. I am providing it
in case someone more familiar with the code wants to take it on.