mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-04 03:41:43 +02:00
added pcmReaderFactory
This commit is contained in:
parent
48627f2ec0
commit
b46b5efde4
10 changed files with 172 additions and 7 deletions
|
@ -22,6 +22,7 @@
|
|||
#include <thread>
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
#include <map>
|
||||
#include "../encoder/encoder.h"
|
||||
#include "message/sampleFormat.h"
|
||||
#include "message/header.h"
|
||||
|
@ -42,6 +43,26 @@ public:
|
|||
};
|
||||
|
||||
|
||||
struct ReaderUri
|
||||
{
|
||||
ReaderUri(const std::string& uri);
|
||||
std::string uri;
|
||||
std::string scheme;
|
||||
/* struct Authority
|
||||
{
|
||||
std::string username;
|
||||
std::string password;
|
||||
std::string host;
|
||||
size_t port;
|
||||
};
|
||||
Authority authority;
|
||||
*/
|
||||
std::string host;
|
||||
std::string path;
|
||||
std::map<std::string, std::string> query;
|
||||
std::string fragment;
|
||||
};
|
||||
|
||||
|
||||
/// Reads and decodes PCM data
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue