Hi
What is the best way to convert a float to int in the following please?
//I want to set myBuf.pos to a percentage of myBuf.samples()...
//Start playing at say 40% through the total number of samples.
40.0 => float pctPosInit;
pctPosInit/100*myBuf.samples() => myBuf.pos;
This throws the error argument types don't match.
I'm not seeing how to convert the float to an int here.
Thanks for your help!
Micheal