~ubuntu-branches/ubuntu/gutsy/audacity/gutsy-backports

« back to all changes in this revision

Viewing changes to src/AudioIO.h

  • Committer: Bazaar Package Importer
  • Author(s): John Dong
  • Date: 2008-02-18 21:58:19 UTC
  • mfrom: (13.1.2 hardy)
  • Revision ID: james.westby@ubuntu.com-20080218215819-tmbcf1rx238r8gdv
Tags: 1.3.4-1.1ubuntu1~gutsy1
Automated backport upload; no source changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
class TimeTrack;
35
35
class AudioThread;
36
36
class Meter;
 
37
class TimeTrack;
37
38
 
38
39
extern AudioIO *gAudioIO;
39
40
 
41
42
void DeinitAudioIO();
42
43
wxString DeviceName(const PaDeviceInfo* info);
43
44
 
44
 
class AudioIOListener {
 
45
class AUDACITY_DLL_API AudioIOListener {
45
46
public:
46
47
   AudioIOListener() {}
47
48
   virtual ~AudioIOListener() {}
184
185
   static const int StandardRates[];
185
186
   static const int NumStandardRates;
186
187
 
 
188
   // Diagnostic information
 
189
   wxString GetDeviceInfo();
 
190
 
187
191
private:
188
192
   long GetBestRate(bool capturing, double sampleRate);
189
193
 
217
221
   double              mTime;
218
222
   double              mWarpedT1;
219
223
   double              mSeek;
220
 
   double              mPlaySpeed;
221
224
   double              mPlaybackRingBufferSecs;
222
225
   double              mCaptureRingBufferSecs;
223
226
   double              mMaxPlaybackSecsToCopy;
230
233
   volatile bool       mInCallbackFinishedState;
231
234
#endif
232
235
   bool                mSoftwarePlaythrough;
 
236
   bool                mPauseRec;
 
237
   float               mSilenceLevel;
233
238
   unsigned int        mNumCaptureChannels;
234
239
   unsigned int        mNumPlaybackChannels;
235
240
   sampleFormat        mCaptureFormat;
267
272
   friend void InitAudioIO();
268
273
   friend void DeinitAudioIO();
269
274
 
 
275
   TimeTrack *mTimeTrack;
 
276
   
270
277
#if USE_PORTAUDIO_V19
271
278
   friend int audacityAudioCallback(
272
279
                const void *inputBuffer, void *outputBuffer,