idf overriding method to bring back SPDIF and fix SPI + new CSPOT (which crashes)

This commit is contained in:
Philippe G
2022-01-04 00:15:33 -08:00
parent cf1315e6a4
commit 06b637c55b
43 changed files with 2955 additions and 402 deletions

View File

@@ -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.