Added include of stdint.h for uint8_t on linux and two functions to obtain number of buffered frames
Merge pull request #4 from brendor/master

Added include of stdint.h for uint8_t on linux and two functions