tuned getstream.c example