text: Abstract base class for audio interfaces. More...
  #include <audiobase.h>
  Abstract base class for audio interfaces.
  This class defines the basics properties of an audio input or output interface. It defines the sampling rate, the number of used channels and the name of the audio device. Moreover, it defines the basic data type used by the EPT to represent PCM audio signals.
  Definition at line 43 of file audiobase.h.
  Type definition of a PCM packet (vector of PCM values).
  Definition at line 51 of file audiobase.h.
  Floating point data type for a single PCM Value. The PCM values are assumed to be in [-1,1].
  Definition at line 48 of file audiobase.h.
  Constructor.
  The constructor initializes the default values for the default sampling rate (44100) and the channels count (1). The device name is set to "unknown".
  Definition at line 36 of file audiobase.cpp.
  Destructor (no functionality).
  Definition at line 55 of file audiobase.h.
  Destroy the audio device.
  Implemented in AudioPlayerAdapter, AudioRecorderForQt, and AudioPlayerForQt.
  Get the actual number of channels (1=mono, 2=stereo).
  Definition at line 109 of file audiobase.cpp.
  Get a readable string of the name of the audio device.
  Definition at line 52 of file audiobase.cpp.
  Get the actual sampling rate.
  Definition at line 78 of file audiobase.cpp.
  Inizialize the audio device.
  Implemented in AudioRecorderForQt, and AudioPlayerForQt.
  Set the number of channels (1=mono, 2=stereo).
  Definition at line 122 of file audiobase.cpp.
  Set the device name.
  Definition at line 65 of file audiobase.cpp.
  Allow the implementation to change the sampling rate during operation.
  Some audio devices do not support arbitrary sampling rates. Therefore, the actual implementation of the audio device should be able to change the sampling rate if necessary. This function stores the new sampling rate in the local member variable.
  Reimplemented in AudioRecorderAdapter.
  Definition at line 96 of file audiobase.cpp.
  Start/restart the audio device.
  Implemented in AudioRecorderForQt, and AudioPlayerForQt.
  Stop the audio device.
  Implemented in AudioRecorderForQt, and AudioPlayerForQt.
  User-readable string of the used audio device.
  Definition at line 71 of file audiobase.h.
  Current channel count.
  Definition at line 73 of file audiobase.h.
  Current sampling rate.
  Definition at line 72 of file audiobase.h.