added sample-rate check for pstream-queue, added sample-to-rate util
fix bug in rs-equal?
fix test and error message
fix bug in inexact frame-rate rs-write