Error in getting frames of IR stream with 320*240 @30fps

You need to first stop the color stream and then start the IR stream. See the SimpleStreamViewer-SFML sample to see how to switch IR on and off. (Push I to switch to IR, then C to switch to color.) Astra SDK v0.5.0 is out and you may want to update.

Unfortunately, 60 fps mode is not supported by any current cameras.