mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-23 19:38:31 +02:00
error handling
This commit is contained in:
parent
3fe88b7440
commit
943df9bb03
2 changed files with 26 additions and 3 deletions
|
@ -21,6 +21,11 @@
|
|||
|
||||
#include "decoder.h"
|
||||
|
||||
#include <FLAC/stream_decoder.h>
|
||||
#include <atomic>
|
||||
#include <memory>
|
||||
|
||||
|
||||
|
||||
struct CacheInfo
|
||||
{
|
||||
|
@ -50,6 +55,7 @@ public:
|
|||
virtual SampleFormat setHeader(msg::CodecHeader* chunk);
|
||||
|
||||
CacheInfo cacheInfo_;
|
||||
std::unique_ptr<FLAC__StreamDecoderErrorStatus> lastError_;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue