AnalyzerExamples/HD44780Analyzer/HD44780Analyzer.cpp
U32 HD44780Analyzer::TimeToSamplesOrMore(double AS)
{
  AS*=mSampleRateHz;
  if (((U32)AS)==AS)
    return (U32)AS;
  else return (U32)AS+1;
}
//converts time to samples going one more when necessary

converts time to samples going one more when necessary
converts time to samples going one more when necessary
U32 HD44780Analyzer::TimeToSamplesOrMore(double AS)
{
  AS*=mSampleRateHz;
  if (((U32)AS)==AS)
    return (U32)AS;
  else return (U32)AS+1;
}
U32 HD44780Analyzer :: TimeToSamplesOrMore ( double AS ) { AS *= mSampleRateHz ; if ( ( ( U32 ) AS ) == AS ) return ( U32 ) AS ; else return ( U32 ) AS + 1 ; }
converts time to samples going one more when necessary
converts time to samples going one more when necessary