mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
26 lines
465 B
C++
26 lines
465 B
C++
#ifndef AC101AUDIOSINK_H
|
|
#define AC101AUDIOSINK_H
|
|
|
|
#include <vector>
|
|
#include <iostream>
|
|
#include "BufferedAudioSink.h"
|
|
#include <stdio.h>
|
|
#include <string.h>
|
|
#include <sys/unistd.h>
|
|
#include <sys/stat.h>
|
|
#include "esp_err.h"
|
|
#include "esp_log.h"
|
|
#include "ac101.h"
|
|
#include "adac.h"
|
|
|
|
class AC101AudioSink : public BufferedAudioSink
|
|
{
|
|
public:
|
|
AC101AudioSink();
|
|
~AC101AudioSink();
|
|
void volumeChanged(uint16_t volume);
|
|
private:
|
|
adac_s *dac;
|
|
};
|
|
|
|
#endif |