public float total_ms(int streamsize) { return (max_number_of_frames(streamsize) * ms_per_frame()); }