Lines Matching refs:cnt
121 off_t cnt) const // byte count in Bytes_to_Time()
123 if ((cnt == AUDIO_UNKNOWN_SIZE) || (Validate() != AUDIO_SUCCESS)) in Bytes_to_Time()
127 cnt -= (cnt % (bytes_per_unit * channels)); in Bytes_to_Time()
129 return (Double) ((double)cnt / in Bytes_to_Time()
158 off_t& cnt) const in Bytes_to_Bytes()
164 cnt -= (cnt % (bytes_per_unit * channels)); in Bytes_to_Bytes()
165 return (cnt); in Bytes_to_Bytes()
171 size_t& cnt) const in Bytes_to_Bytes()
177 cnt -= (cnt % (bytes_per_unit * channels)); in Bytes_to_Bytes()
178 return (cnt); in Bytes_to_Bytes()
185 unsigned long cnt) const // sample frame count in Samples_to_Time()
187 if ((cnt == AUDIO_UNKNOWN_SIZE) || (Validate() != AUDIO_SUCCESS)) in Samples_to_Time()
190 return ((Double)(((double)cnt * (double)samples_per_unit) / in Samples_to_Time()