flowgraph: fix getSampleRate()

Also add some warning comments.
2 files changed