frame2sample function
Converts frame count to sample count.
Inverse of sample2frame.
Implementation
int frame2sample(int x) => (x * 270) + 721;
Converts frame count to sample count.
Inverse of sample2frame.
int frame2sample(int x) => (x * 270) + 721;