mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 05:27:01 +03:00
big merge
This commit is contained in:
18
components/spotify/cspot/include/AudioSink.h
Normal file
18
components/spotify/cspot/include/AudioSink.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef AUDIOSINK_H
|
||||
#define AUDIOSINK_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <vector>
|
||||
|
||||
class AudioSink
|
||||
{
|
||||
public:
|
||||
AudioSink() {}
|
||||
virtual ~AudioSink() {}
|
||||
virtual void feedPCMFrames(std::vector<uint8_t> &data) = 0;
|
||||
virtual void volumeChanged(uint16_t volume) {}
|
||||
bool softwareVolumeControl = true;
|
||||
bool usign = false;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user