meiControlSamplesToSeconds

Declaration
long meiControlSamplesToSeconds(MPIControl control, 
                                long       samples, 
                                float      *seconds)
Required Header stdmei.h
Description

ControlSamplesToSeconds writes to seconds the number of seconds it takes to process samples number of samples (at the current sample rate). Use this function to convert samples to seconds.

Return Values
MPIMessageOK if ControlSampleToSeconds successfully converts the samples to seconds.
See Also meiControlSecondstoSamples | meiControlSampleCounter