mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 23:56:43 +02:00
server compiles under OpenWrt
This commit is contained in:
parent
b75bb77fd4
commit
212c9c1c6b
9 changed files with 65 additions and 16 deletions
|
@ -16,10 +16,11 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include "common/utils.h"
|
||||
#include "streamManager.h"
|
||||
#include "pipeStream.h"
|
||||
#include "fileStream.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/compat.h"
|
||||
#include "common/log.h"
|
||||
#include "common/snapException.h"
|
||||
|
||||
|
@ -43,7 +44,7 @@ PcmStream* StreamManager::addStream(const std::string& uri)
|
|||
streamUri.query["codec"] = codec_;
|
||||
|
||||
if (streamUri.query.find("buffer_ms") == streamUri.query.end())
|
||||
streamUri.query["buffer_ms"] = to_string(readBufferMs_);
|
||||
streamUri.query["buffer_ms"] = cpt::to_string(readBufferMs_);
|
||||
|
||||
// logD << "\nURI: " << streamUri.uri << "\nscheme: " << streamUri.scheme << "\nhost: "
|
||||
// << streamUri.host << "\npath: " << streamUri.path << "\nfragment: " << streamUri.fragment << "\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue