mirror of
https://github.com/badaix/snapcast.git
synced 2025-05-10 15:46:42 +02:00
move base64 into streamreader
This commit is contained in:
parent
b26bd41aff
commit
08906403d1
7 changed files with 7 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
|||
#ifndef ENDIAN_HPP
|
||||
#define ENDIAN_HPP
|
||||
|
||||
#include <cstdint>
|
||||
|
||||
#ifdef IS_BIG_ENDIAN
|
||||
# define SWAP_16(x) (__builtin_bswap16(x))
|
||||
# define SWAP_32(x) (__builtin_bswap32(x))
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <stdexcept>
|
||||
#include <vector>
|
||||
#include <fstream>
|
||||
#include "common/utils/string_utils.h"
|
||||
#include "string_utils.h"
|
||||
|
||||
|
||||
namespace utils
|
||||
|
|
|
@ -8,6 +8,7 @@ set(SERVER_SOURCES
|
|||
streamSession.cpp
|
||||
encoder/encoderFactory.cpp
|
||||
encoder/pcmEncoder.cpp
|
||||
streamreader/base64.cpp
|
||||
streamreader/streamUri.cpp
|
||||
streamreader/streamManager.cpp
|
||||
streamreader/pcmStream.cpp
|
||||
|
|
|
@ -36,7 +36,7 @@ DEBUG=-O3
|
|||
|
||||
CXXFLAGS += $(ADD_CFLAGS) -std=c++0x -Wall -Wno-unused-function $(DEBUG) -DHAS_FLAC -DHAS_OGG -DHAS_VORBIS -DHAS_VORBIS_ENC -DASIO_STANDALONE -DVERSION=\"$(VERSION)\" -I. -I.. -isystem ../externals/asio/asio/include -I../externals/popl/include -I../externals/aixlog/include -I../externals -I../common
|
||||
LDFLAGS = -lvorbis -lvorbisenc -logg -lFLAC
|
||||
OBJ = snapServer.o config.o controlServer.o controlSession.o jsonrp.o streamServer.o streamSession.o streamreader/streamUri.o streamreader/streamManager.o streamreader/pcmStream.o streamreader/pipeStream.o streamreader/fileStream.o streamreader/processStream.o streamreader/airplayStream.o streamreader/spotifyStream.o streamreader/watchdog.o encoder/encoderFactory.o encoder/flacEncoder.o encoder/pcmEncoder.o encoder/oggEncoder.o ../common/sampleFormat.o ../common/base64.o
|
||||
OBJ = snapServer.o config.o controlServer.o controlSession.o jsonrp.o streamServer.o streamSession.o streamreader/streamUri.o streamreader/base64.o streamreader/streamManager.o streamreader/pcmStream.o streamreader/pipeStream.o streamreader/fileStream.o streamreader/processStream.o streamreader/airplayStream.o streamreader/spotifyStream.o streamreader/watchdog.o encoder/encoderFactory.o encoder/flacEncoder.o encoder/pcmEncoder.o encoder/oggEncoder.o ../common/sampleFormat.o
|
||||
|
||||
ifneq (,$(TARGET))
|
||||
CXXFLAGS += -D$(TARGET)
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "common/snapException.h"
|
||||
#include "common/utils/string_utils.h"
|
||||
#include "common/utils.h"
|
||||
#include "common/base64.h"
|
||||
#include "base64.h"
|
||||
#include "aixlog.hpp"
|
||||
|
||||
using namespace std;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
René Nyffenegger rene.nyffenegger@adp-gmbh.ch
|
||||
|
||||
*/
|
||||
#include <common/base64.h>
|
||||
#include "base64.h"
|
||||
|
||||
static const std::string base64_chars =
|
||||
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
Loading…
Add table
Add a link
Reference in a new issue