AC101AudioSink.h 465 B

1234567891011121314151617181920212223242526
  1. #ifndef AC101AUDIOSINK_H
  2. #define AC101AUDIOSINK_H
  3. #include <vector>
  4. #include <iostream>
  5. #include "BufferedAudioSink.h"
  6. #include <stdio.h>
  7. #include <string.h>
  8. #include <sys/unistd.h>
  9. #include <sys/stat.h>
  10. #include "esp_err.h"
  11. #include "esp_log.h"
  12. #include "ac101.h"
  13. #include "adac.h"
  14. class AC101AudioSink : public BufferedAudioSink
  15. {
  16. public:
  17. AC101AudioSink();
  18. ~AC101AudioSink();
  19. void volumeChanged(uint16_t volume);
  20. private:
  21. adac_s *dac;
  22. };
  23. #endif