mirror of
https://github.com/cookiengineer/audacity
synced 2025-08-01 16:39:30 +02:00
... Should have no effect on generated code, except perhaps some slight faster virtual function calls. Mostly useful as documentation of design intent. Tried to mark every one of our classes that inherits from another, or is a base for others, or has abstract virtual functions, and a few others besides.
32 lines
751 B
C++
32 lines
751 B
C++
/**********************************************************************
|
|
|
|
Audacity: A Digital Audio Editor
|
|
|
|
AudioIOListener.h
|
|
|
|
Dominic Mazzoni
|
|
|
|
Use the PortAudio library to play and record sound
|
|
|
|
**********************************************************************/
|
|
|
|
#ifndef __AUDACITY_AUDIO_IO_LISTENER__
|
|
#define __AUDACITY_AUDIO_IO_LISTENER__
|
|
|
|
#include <wx/string.h>
|
|
|
|
class AutoSaveFile;
|
|
|
|
class AUDACITY_DLL_API AudioIOListener /* not final */ {
|
|
public:
|
|
AudioIOListener() {}
|
|
virtual ~AudioIOListener() {}
|
|
|
|
virtual void OnAudioIORate(int rate) = 0;
|
|
virtual void OnAudioIOStartRecording() = 0;
|
|
virtual void OnAudioIOStopRecording() = 0;
|
|
virtual void OnAudioIONewBlockFiles(const AutoSaveFile & blockFileLog) = 0;
|
|
};
|
|
|
|
#endif
|