MSC++ (VS 9) compilation stops in TimeTextCtrl.cpp - sampleCount type undefined

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

MSC++ (VS 9) compilation stops in TimeTextCtrl.cpp - sampleCount type undefined

Christoph Kukulies
  Error    7    error C2065: 'sampleCount' : undeclared identifier  
  c:\Users\kuku\audacity-read-only\src\widgets\TimeTextCtrl.cpp  
  1318    Audacity

Surrounding code is:

void TimeConverter::ValueToControls( double RawTime )
{
    RawTime = (double)((sampleCount)floor(RawTime * mSampleRate + 0.5))
/ mSampleRate; // put on a sample
    double theValue = RawTime * mScalingFactor + .000001; // what's this
.000001 for?


I would consider sampleCount a very "popular" typedef in audacity, so I
wonder if something is essentially wrong with my setup?

--

Christoph



------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Audacity-bugs mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/audacity-bugs