mirror of
https://github.com/badaix/snapcast.git
synced 2025-09-17 09:50:56 +08:00
Add missing includes
This commit is contained in:
@ -38,6 +38,7 @@
|
||||
|
||||
// 3rd party headers
|
||||
#include <boost/asio/ip/host_name.hpp>
|
||||
#include <boost/asio/signal_set.hpp>
|
||||
|
||||
// standard headers
|
||||
#include <chrono>
|
||||
|
@ -23,6 +23,8 @@
|
||||
#include "common/aixlog.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
#include <boost/asio/read.hpp>
|
||||
#include <boost/asio/write.hpp>
|
||||
|
||||
// standard headers
|
||||
#include <iostream>
|
||||
|
@ -23,6 +23,7 @@
|
||||
#include "process_stream.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
#include <boost/asio/streambuf.hpp>
|
||||
// Expat is used in metadata parsing from Shairport-sync.
|
||||
// Without HAS_EXPAT defined no parsing will occur.
|
||||
#ifdef HAS_EXPAT
|
||||
@ -42,8 +43,6 @@ struct TageEntry
|
||||
int length{0}; ///< length
|
||||
};
|
||||
|
||||
/// Starts shairport-sync and reads PCM data from stdout
|
||||
|
||||
/**
|
||||
* Starts shairport-sync, reads PCM data from stdout, and passes the data to an encoder.
|
||||
* Implements EncoderListener to get the encoded data.
|
||||
|
@ -1,6 +1,6 @@
|
||||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2024 Johannes Pohl
|
||||
Copyright (C) 2014-2025 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -22,6 +22,9 @@
|
||||
// local headers
|
||||
#include "asio_stream.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
#include <boost/asio/posix/stream_descriptor.hpp>
|
||||
|
||||
namespace streamreader
|
||||
{
|
||||
|
||||
|
@ -35,6 +35,7 @@
|
||||
#include <boost/asio/io_context.hpp>
|
||||
#include <boost/asio/read_until.hpp>
|
||||
#include <boost/asio/steady_timer.hpp>
|
||||
#include <boost/asio/strand.hpp>
|
||||
|
||||
// standard headers
|
||||
#include <atomic>
|
||||
|
@ -1,6 +1,6 @@
|
||||
/***
|
||||
This file is part of snapcast
|
||||
Copyright (C) 2014-2024 Johannes Pohl
|
||||
Copyright (C) 2014-2025 Johannes Pohl
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -22,6 +22,10 @@
|
||||
// local headers
|
||||
#include "asio_stream.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
#include <boost/asio/posix/stream_descriptor.hpp>
|
||||
|
||||
|
||||
namespace streamreader
|
||||
{
|
||||
|
||||
|
@ -23,6 +23,11 @@
|
||||
#include "asio_stream.hpp"
|
||||
#include "watchdog.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
#include <boost/asio/posix/stream_descriptor.hpp>
|
||||
#include <boost/process/v1/child.hpp>
|
||||
#include <boost/process/v1/pipe.hpp>
|
||||
|
||||
// standard headers
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
Reference in New Issue
Block a user