mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-30 22:59:51 +02:00
Add missing includes
This commit is contained in:
parent
0de502f565
commit
7c27acb3c7
7 changed files with 19 additions and 4 deletions
|
@ -38,6 +38,7 @@
|
||||||
|
|
||||||
// 3rd party headers
|
// 3rd party headers
|
||||||
#include <boost/asio/ip/host_name.hpp>
|
#include <boost/asio/ip/host_name.hpp>
|
||||||
|
#include <boost/asio/signal_set.hpp>
|
||||||
|
|
||||||
// standard headers
|
// standard headers
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
|
|
||||||
// 3rd party headers
|
// 3rd party headers
|
||||||
|
#include <boost/asio/read.hpp>
|
||||||
|
#include <boost/asio/write.hpp>
|
||||||
|
|
||||||
// standard headers
|
// standard headers
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
#include "process_stream.hpp"
|
#include "process_stream.hpp"
|
||||||
|
|
||||||
// 3rd party headers
|
// 3rd party headers
|
||||||
|
#include <boost/asio/streambuf.hpp>
|
||||||
// Expat is used in metadata parsing from Shairport-sync.
|
// Expat is used in metadata parsing from Shairport-sync.
|
||||||
// Without HAS_EXPAT defined no parsing will occur.
|
// Without HAS_EXPAT defined no parsing will occur.
|
||||||
#ifdef HAS_EXPAT
|
#ifdef HAS_EXPAT
|
||||||
|
@ -42,8 +43,6 @@ struct TageEntry
|
||||||
int length{0}; ///< length
|
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.
|
* Starts shairport-sync, reads PCM data from stdout, and passes the data to an encoder.
|
||||||
* Implements EncoderListener to get the encoded data.
|
* Implements EncoderListener to get the encoded data.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***
|
/***
|
||||||
This file is part of snapcast
|
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
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -22,6 +22,9 @@
|
||||||
// local headers
|
// local headers
|
||||||
#include "asio_stream.hpp"
|
#include "asio_stream.hpp"
|
||||||
|
|
||||||
|
// 3rd party headers
|
||||||
|
#include <boost/asio/posix/stream_descriptor.hpp>
|
||||||
|
|
||||||
namespace streamreader
|
namespace streamreader
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
#include <boost/asio/io_context.hpp>
|
#include <boost/asio/io_context.hpp>
|
||||||
#include <boost/asio/read_until.hpp>
|
#include <boost/asio/read_until.hpp>
|
||||||
#include <boost/asio/steady_timer.hpp>
|
#include <boost/asio/steady_timer.hpp>
|
||||||
|
#include <boost/asio/strand.hpp>
|
||||||
|
|
||||||
// standard headers
|
// standard headers
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***
|
/***
|
||||||
This file is part of snapcast
|
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
|
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
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -22,6 +22,10 @@
|
||||||
// local headers
|
// local headers
|
||||||
#include "asio_stream.hpp"
|
#include "asio_stream.hpp"
|
||||||
|
|
||||||
|
// 3rd party headers
|
||||||
|
#include <boost/asio/posix/stream_descriptor.hpp>
|
||||||
|
|
||||||
|
|
||||||
namespace streamreader
|
namespace streamreader
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,11 @@
|
||||||
#include "asio_stream.hpp"
|
#include "asio_stream.hpp"
|
||||||
#include "watchdog.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
|
// standard headers
|
||||||
#include <memory>
|
#include <memory>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue