mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 21:17:18 +03:00
idf overriding method to bring back SPDIF and fix SPI + new CSPOT (which crashes)
This commit is contained in:
@@ -4,13 +4,14 @@
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include "ProtoHelper.h"
|
||||
#include "Utils.h"
|
||||
#include "TimeProvider.h"
|
||||
#include "ConstantParameters.h"
|
||||
#include "CspotAssert.h"
|
||||
#include "TrackReference.h"
|
||||
#include "ConfigJSON.h"
|
||||
#include <NanoPBHelper.h>
|
||||
#include "protobuf/spirc.pb.h"
|
||||
|
||||
enum class PlaybackState {
|
||||
Playing,
|
||||
@@ -30,8 +31,8 @@ private:
|
||||
|
||||
void addCapability(CapabilityType typ, int intValue = -1, std::vector<std::string> stringsValue = std::vector<std::string>());
|
||||
public:
|
||||
Frame innerFrame = Frame();
|
||||
Frame remoteFrame = Frame();
|
||||
Frame innerFrame;
|
||||
Frame remoteFrame;
|
||||
|
||||
/**
|
||||
* @brief Player state represents the current state of player.
|
||||
@@ -41,6 +42,8 @@ public:
|
||||
* @param timeProvider synced time provider
|
||||
*/
|
||||
PlayerState(std::shared_ptr<TimeProvider> timeProvider);
|
||||
|
||||
~PlayerState();
|
||||
|
||||
/**
|
||||
* @brief Updates state according to current playback state.
|
||||
|
||||
Reference in New Issue
Block a user