Fix get buffer time return type

Fix get buffer time return type
(int to float)