Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

23 Zeilen
517B

  1. #ifndef AudioControl_h_
  2. #define AudioControl_h_
  3. #include <stdint.h>
  4. // A base class for all Codecs, DACs and ADCs, so at least the
  5. // most basic functionality is consistent.
  6. #define AUDIO_INPUT_LINEIN 0
  7. #define AUDIO_INPUT_MIC 1
  8. class AudioControl
  9. {
  10. public:
  11. virtual bool enable(void) = 0;
  12. virtual bool disable(void) = 0;
  13. virtual bool volume(float volume) = 0; // volume 0.0 to 100.0
  14. virtual bool inputLevel(float volume) = 0; // volume 0.0 to 100.0
  15. virtual bool inputSelect(int n) = 0;
  16. };
  17. #endif