rename some files to snake_case

This commit is contained in:
badaix 2019-10-12 14:34:00 +02:00
parent 484cd5e672
commit ea3921d8b7
14 changed files with 19 additions and 19 deletions

View file

@ -1,9 +1,9 @@
set(CLIENT_SOURCES set(CLIENT_SOURCES
clientConnection.cpp client_connection.cpp
controller.cpp controller.cpp
snapClient.cpp snapclient.cpp
stream.cpp stream.cpp
timeProvider.cpp time_provider.cpp
decoder/pcmDecoder.cpp decoder/pcmDecoder.cpp
player/player.cpp) player/player.cpp)

View file

@ -36,7 +36,7 @@ DEBUG=-O3
CXXFLAGS += $(ADD_CFLAGS) -std=c++0x -Wall -Wpedantic -Wno-unused-function $(DEBUG) -DHAS_FLAC -DHAS_OGG -DVERSION=\"$(VERSION)\" -I. -I.. -I../common CXXFLAGS += $(ADD_CFLAGS) -std=c++0x -Wall -Wpedantic -Wno-unused-function $(DEBUG) -DHAS_FLAC -DHAS_OGG -DVERSION=\"$(VERSION)\" -I. -I.. -I../common
LDFLAGS = $(ADD_LDFLAGS) -logg -lFLAC LDFLAGS = $(ADD_LDFLAGS) -logg -lFLAC
OBJ = snapClient.o stream.o clientConnection.o timeProvider.o player/player.o decoder/pcmDecoder.o decoder/oggDecoder.o decoder/flacDecoder.o controller.o ../common/sampleFormat.o OBJ = snapclient.o stream.o client_connection.o time_provider.o player/player.o decoder/pcmDecoder.o decoder/oggDecoder.o decoder/flacDecoder.o controller.o ../common/sampleFormat.o
ifneq (,$(TARGET)) ifneq (,$(TARGET))

View file

@ -16,7 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include "clientConnection.h" #include "client_connection.hpp"
#include "common/aixlog.hpp" #include "common/aixlog.hpp"
#include "common/snapException.h" #include "common/snapException.h"
#include "common/strCompat.h" #include "common/strCompat.h"

View file

@ -16,7 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include "controller.h" #include "controller.hpp"
#include "decoder/pcmDecoder.h" #include "decoder/pcmDecoder.h"
#include <iostream> #include <iostream>
#include <memory> #include <memory>
@ -31,7 +31,7 @@
#include "common/snapException.h" #include "common/snapException.h"
#include "message/hello.h" #include "message/hello.h"
#include "message/time.h" #include "message/time.h"
#include "timeProvider.h" #include "time_provider.hpp"
using namespace std; using namespace std;

View file

@ -33,9 +33,9 @@
#elif HAS_COREAUDIO #elif HAS_COREAUDIO
#include "player/coreAudioPlayer.h" #include "player/coreAudioPlayer.h"
#endif #endif
#include "clientConnection.h" #include "client_connection.hpp"
#include "metadata.h" #include "metadata.hpp"
#include "stream.h" #include "stream.hpp"
/// Forwards PCM data to the audio player /// Forwards PCM data to the audio player

View file

@ -22,7 +22,7 @@
#include "common/aixlog.hpp" #include "common/aixlog.hpp"
#include "common/endian.hpp" #include "common/endian.hpp"
#include "pcmDevice.h" #include "pcmDevice.h"
#include "stream.h" #include "stream.hpp"
#include <atomic> #include <atomic>
#include <string> #include <string>
#include <thread> #include <thread>

View file

@ -21,7 +21,7 @@
#include "browseZeroConf/browsemDNS.h" #include "browseZeroConf/browsemDNS.h"
#include "common/popl.hpp" #include "common/popl.hpp"
#include "controller.h" #include "controller.hpp"
#ifdef HAS_ALSA #ifdef HAS_ALSA
#include "player/alsaPlayer.h" #include "player/alsaPlayer.h"
@ -33,7 +33,7 @@
#include "common/signalHandler.h" #include "common/signalHandler.h"
#include "common/strCompat.h" #include "common/strCompat.h"
#include "common/utils.h" #include "common/utils.h"
#include "metadata.h" #include "metadata.hpp"
using namespace std; using namespace std;
@ -117,7 +117,7 @@ int main(int argc, char** argv)
if (versionSwitch->is_set()) if (versionSwitch->is_set())
{ {
cout << "snapclient v" << VERSION << "\n" cout << "snapclient v" << VERSION << "\n"
<< "Copyright (C) 2014-2018 BadAix (snapcast@badaix.de).\n" << "Copyright (C) 2014-2019 BadAix (snapcast@badaix.de).\n"
<< "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n" << "License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.\n"
<< "This is free software: you are free to change and redistribute it.\n" << "This is free software: you are free to change and redistribute it.\n"
<< "There is NO WARRANTY, to the extent permitted by law.\n\n" << "There is NO WARRANTY, to the extent permitted by law.\n\n"

View file

@ -16,9 +16,9 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include "stream.h" #include "stream.hpp"
#include "common/aixlog.hpp" #include "common/aixlog.hpp"
#include "timeProvider.h" #include "time_provider.hpp"
#include <cmath> #include <cmath>
#include <iostream> #include <iostream>
#include <string.h> #include <string.h>

View file

@ -27,7 +27,7 @@
#include "common/queue.h" #include "common/queue.h"
#include "common/sampleFormat.h" #include "common/sampleFormat.h"
#include "doubleBuffer.h" #include "double_buffer.hpp"
#include "message/message.h" #include "message/message.h"
#include "message/pcmChunk.h" #include "message/pcmChunk.h"
#include <deque> #include <deque>

View file

@ -16,7 +16,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
***/ ***/
#include "timeProvider.h" #include "time_provider.hpp"
#include "common/aixlog.hpp" #include "common/aixlog.hpp"

View file

@ -20,7 +20,7 @@
#define TIME_PROVIDER_H #define TIME_PROVIDER_H
#include "common/timeDefs.h" #include "common/timeDefs.h"
#include "doubleBuffer.h" #include "double_buffer.hpp"
#include "message/message.h" #include "message/message.h"
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>