mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 15:46:42 +02:00
Rename PcmListener to PcmStream::Listener
Reorganize include order
This commit is contained in:
parent
c49841cf6f
commit
d326252268
30 changed files with 227 additions and 144 deletions
|
@ -16,14 +16,16 @@
|
|||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
***/
|
||||
|
||||
#include <fcntl.h>
|
||||
#include <memory>
|
||||
#include <sys/stat.h>
|
||||
// prototype/interface header file
|
||||
#include "file_stream.hpp"
|
||||
|
||||
// local headers
|
||||
#include "common/aixlog.hpp"
|
||||
#include "common/snap_exception.hpp"
|
||||
#include "encoder/encoder_factory.hpp"
|
||||
#include "file_stream.hpp"
|
||||
|
||||
// 3rd party headers
|
||||
#include <memory>
|
||||
|
||||
|
||||
using namespace std;
|
||||
|
@ -34,7 +36,7 @@ namespace streamreader
|
|||
static constexpr auto LOG_TAG = "FileStream";
|
||||
|
||||
|
||||
FileStream::FileStream(PcmListener* pcmListener, boost::asio::io_context& ioc, const ServerSettings& server_settings, const StreamUri& uri)
|
||||
FileStream::FileStream(PcmStream::Listener* pcmListener, boost::asio::io_context& ioc, const ServerSettings& server_settings, const StreamUri& uri)
|
||||
: PosixStream(pcmListener, ioc, server_settings, uri)
|
||||
{
|
||||
struct stat buffer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue