mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-03 11:21:41 +02:00
rename files to snake_case
This commit is contained in:
parent
b4a1ddcd5c
commit
0b21a5daee
29 changed files with 44 additions and 44 deletions
|
@ -20,7 +20,7 @@
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "common/snap_exception.hpp"
|
#include "common/snap_exception.hpp"
|
||||||
#include "common/str_compat.hpp"
|
#include "common/str_compat.hpp"
|
||||||
#include "message/hello.h"
|
#include "message/hello.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define CLIENT_CONNECTION_H
|
#define CLIENT_CONNECTION_H
|
||||||
|
|
||||||
#include "common/time_defs.hpp"
|
#include "common/time_defs.hpp"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
|
|
|
@ -29,8 +29,8 @@
|
||||||
#endif
|
#endif
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "common/snap_exception.hpp"
|
#include "common/snap_exception.hpp"
|
||||||
#include "message/hello.h"
|
#include "message/hello.hpp"
|
||||||
#include "message/time.h"
|
#include "message/time.hpp"
|
||||||
#include "time_provider.hpp"
|
#include "time_provider.hpp"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -20,9 +20,9 @@
|
||||||
#define CONTROLLER_H
|
#define CONTROLLER_H
|
||||||
|
|
||||||
#include "decoder/decoder.hpp"
|
#include "decoder/decoder.hpp"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include "message/serverSettings.h"
|
#include "message/server_settings.hpp"
|
||||||
#include "message/streamTags.h"
|
#include "message/stream_tags.hpp"
|
||||||
#include "player/pcm_device.hpp"
|
#include "player/pcm_device.hpp"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
|
@ -6,7 +6,7 @@ Upstream Author: Johannes Pohl <snapcast@badaix.de>
|
||||||
|
|
||||||
Copyright:
|
Copyright:
|
||||||
|
|
||||||
<Copyright (C) 2014-2018 Johannes Pohl>
|
<Copyright (C) 2014-2019 Johannes Pohl>
|
||||||
|
|
||||||
License:
|
License:
|
||||||
|
|
||||||
|
@ -28,7 +28,7 @@ Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
||||||
|
|
||||||
The Debian packaging is:
|
The Debian packaging is:
|
||||||
|
|
||||||
Copyright (C) 2014-2018 Johannes Pohl <snapcast@badaix.de>
|
Copyright (C) 2014-2019 Johannes Pohl <snapcast@badaix.de>
|
||||||
|
|
||||||
and is licensed under the GPL version 3, see above.
|
and is licensed under the GPL version 3, see above.
|
||||||
|
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
#ifndef DECODER_H
|
#ifndef DECODER_H
|
||||||
#define DECODER_H
|
#define DECODER_H
|
||||||
#include "common/sample_format.hpp"
|
#include "common/sample_format.hpp"
|
||||||
#include "message/codecHeader.h"
|
#include "message/codec_header.hpp"
|
||||||
#include "message/pcmChunk.h"
|
#include "message/pcm_chunk.hpp"
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#include "common/queue.h"
|
#include "common/queue.h"
|
||||||
#include "common/sample_format.hpp"
|
#include "common/sample_format.hpp"
|
||||||
#include "double_buffer.hpp"
|
#include "double_buffer.hpp"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include "message/pcmChunk.h"
|
#include "message/pcm_chunk.hpp"
|
||||||
#include <deque>
|
#include <deque>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "common/time_defs.hpp"
|
#include "common/time_defs.hpp"
|
||||||
#include "double_buffer.hpp"
|
#include "double_buffer.hpp"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef CODEC_HEADER_MESSAGE_H
|
#ifndef CODEC_HEADER_MESSAGE_H
|
||||||
#define CODEC_HEADER_MESSAGE_H
|
#define CODEC_HEADER_MESSAGE_H
|
||||||
|
|
||||||
#include "message.h"
|
#include "message.hpp"
|
||||||
|
|
||||||
namespace msg
|
namespace msg
|
||||||
{
|
{
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
#include "common/str_compat.hpp"
|
#include "common/str_compat.hpp"
|
||||||
#include "common/utils.hpp"
|
#include "common/utils.hpp"
|
||||||
#include "jsonMessage.h"
|
#include "json_message.hpp"
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define JSON_MESSAGE_H
|
#define JSON_MESSAGE_H
|
||||||
|
|
||||||
#include "common/json.hpp"
|
#include "common/json.hpp"
|
||||||
#include "message.h"
|
#include "message.hpp"
|
||||||
|
|
||||||
|
|
||||||
using json = nlohmann::json;
|
using json = nlohmann::json;
|
|
@ -20,8 +20,8 @@
|
||||||
#define PCM_CHUNK_H
|
#define PCM_CHUNK_H
|
||||||
|
|
||||||
#include "common/sample_format.hpp"
|
#include "common/sample_format.hpp"
|
||||||
#include "message.h"
|
#include "message.hpp"
|
||||||
#include "wireChunk.h"
|
#include "wire_chunk.hpp"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef SERVER_SETTINGS_H
|
#ifndef SERVER_SETTINGS_H
|
||||||
#define SERVER_SETTINGS_H
|
#define SERVER_SETTINGS_H
|
||||||
|
|
||||||
#include "jsonMessage.h"
|
#include "json_message.hpp"
|
||||||
|
|
||||||
|
|
||||||
namespace msg
|
namespace msg
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef STREAMTAGS_H
|
#ifndef STREAMTAGS_H
|
||||||
#define STREAMTAGS_H
|
#define STREAMTAGS_H
|
||||||
|
|
||||||
#include "jsonMessage.h"
|
#include "json_message.hpp"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Due to the PCM pipe implementation of snapcast input we cannot know track start/end
|
* Due to the PCM pipe implementation of snapcast input we cannot know track start/end
|
|
@ -19,7 +19,7 @@
|
||||||
#ifndef TIME_MSG_H
|
#ifndef TIME_MSG_H
|
||||||
#define TIME_MSG_H
|
#define TIME_MSG_H
|
||||||
|
|
||||||
#include "message.h"
|
#include "message.hpp"
|
||||||
|
|
||||||
namespace msg
|
namespace msg
|
||||||
{
|
{
|
|
@ -20,7 +20,7 @@
|
||||||
#define WIRE_CHUNK_H
|
#define WIRE_CHUNK_H
|
||||||
|
|
||||||
#include "common/time_defs.hpp"
|
#include "common/time_defs.hpp"
|
||||||
#include "message.h"
|
#include "message.hpp"
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
#include <cstring>
|
#include <cstring>
|
|
@ -24,7 +24,7 @@
|
||||||
#include "control_session_http.hpp"
|
#include "control_session_http.hpp"
|
||||||
#include "control_session_tcp.hpp"
|
#include "control_session_tcp.hpp"
|
||||||
#include "jsonrpcpp.hpp"
|
#include "jsonrpcpp.hpp"
|
||||||
#include "message/time.h"
|
#include "message/time.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
|
@ -30,9 +30,9 @@
|
||||||
#include "common/queue.h"
|
#include "common/queue.h"
|
||||||
#include "common/sample_format.hpp"
|
#include "common/sample_format.hpp"
|
||||||
#include "control_session.hpp"
|
#include "control_session.hpp"
|
||||||
#include "message/codecHeader.h"
|
#include "message/codec_header.hpp"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include "message/serverSettings.h"
|
#include "message/server_settings.hpp"
|
||||||
#include "server_settings.hpp"
|
#include "server_settings.hpp"
|
||||||
|
|
||||||
using boost::asio::ip::tcp;
|
using boost::asio::ip::tcp;
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define CONTROL_SESSION_H
|
#define CONTROL_SESSION_H
|
||||||
|
|
||||||
#include "common/queue.h"
|
#include "common/queue.h"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include "server_settings.hpp"
|
#include "server_settings.hpp"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include "control_session_http.hpp"
|
#include "control_session_http.hpp"
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "message/pcmChunk.h"
|
#include "message/pcm_chunk.hpp"
|
||||||
#include <boost/beast/http/file_body.hpp>
|
#include <boost/beast/http/file_body.hpp>
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
#include "control_session_tcp.hpp"
|
#include "control_session_tcp.hpp"
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "message/pcmChunk.h"
|
#include "message/pcm_chunk.hpp"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "common/sample_format.hpp"
|
#include "common/sample_format.hpp"
|
||||||
#include "message/codecHeader.h"
|
#include "message/codec_header.hpp"
|
||||||
#include "message/pcmChunk.h"
|
#include "message/pcm_chunk.hpp"
|
||||||
|
|
||||||
|
|
||||||
class Encoder;
|
class Encoder;
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
#include "common/time_defs.hpp"
|
#include "common/time_defs.hpp"
|
||||||
#include "common/utils/string_utils.hpp"
|
#include "common/utils/string_utils.hpp"
|
||||||
#include "encoder/encoder_factory.hpp"
|
#include "encoder/encoder_factory.hpp"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include "server_settings.hpp"
|
#include "server_settings.hpp"
|
||||||
#include "stream_server.hpp"
|
#include "stream_server.hpp"
|
||||||
#if defined(HAS_AVAHI) || defined(HAS_BONJOUR)
|
#if defined(HAS_AVAHI) || defined(HAS_BONJOUR)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
/***
|
/***
|
||||||
This file is part of snapcast
|
This file is part of snapcast
|
||||||
Copyright (C) 2014-2018 Johannes Pohl
|
Copyright (C) 2014-2019 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
|
||||||
|
@ -19,9 +19,9 @@
|
||||||
#include "stream_server.hpp"
|
#include "stream_server.hpp"
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
#include "message/hello.h"
|
#include "message/hello.hpp"
|
||||||
#include "message/streamTags.h"
|
#include "message/stream_tags.hpp"
|
||||||
#include "message/time.h"
|
#include "message/time.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
|
@ -31,9 +31,9 @@
|
||||||
#include "common/sample_format.hpp"
|
#include "common/sample_format.hpp"
|
||||||
#include "control_server.hpp"
|
#include "control_server.hpp"
|
||||||
#include "jsonrpcpp.hpp"
|
#include "jsonrpcpp.hpp"
|
||||||
#include "message/codecHeader.h"
|
#include "message/codec_header.hpp"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include "message/serverSettings.h"
|
#include "message/server_settings.hpp"
|
||||||
#include "server_settings.hpp"
|
#include "server_settings.hpp"
|
||||||
#include "stream_session.hpp"
|
#include "stream_session.hpp"
|
||||||
#include "streamreader/stream_manager.hpp"
|
#include "streamreader/stream_manager.hpp"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#include "stream_session.hpp"
|
#include "stream_session.hpp"
|
||||||
|
|
||||||
#include "common/aixlog.hpp"
|
#include "common/aixlog.hpp"
|
||||||
#include "message/pcmChunk.h"
|
#include "message/pcm_chunk.hpp"
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
#define STREAM_SESSION_H
|
#define STREAM_SESSION_H
|
||||||
|
|
||||||
#include "common/queue.h"
|
#include "common/queue.h"
|
||||||
#include "message/message.h"
|
#include "message/message.hpp"
|
||||||
#include "streamreader/stream_manager.hpp"
|
#include "streamreader/stream_manager.hpp"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <boost/asio.hpp>
|
#include <boost/asio.hpp>
|
||||||
|
|
|
@ -22,8 +22,8 @@
|
||||||
#include "common/json.hpp"
|
#include "common/json.hpp"
|
||||||
#include "common/sample_format.hpp"
|
#include "common/sample_format.hpp"
|
||||||
#include "encoder/encoder.hpp"
|
#include "encoder/encoder.hpp"
|
||||||
#include "message/codecHeader.h"
|
#include "message/codec_header.hpp"
|
||||||
#include "message/streamTags.h"
|
#include "message/stream_tags.hpp"
|
||||||
#include "stream_uri.hpp"
|
#include "stream_uri.hpp"
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue