mirror of
https://github.com/badaix/snapcast.git
synced 2025-06-05 12:21:43 +02:00
compiles@raspi
git-svn-id: svn://elaine/murooma/trunk@331 d8a302eb-03bc-478d-80e4-98257eca68ef
This commit is contained in:
parent
abf70b4030
commit
7a5483a101
3 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
VERSION = 0.01
|
||||
CC = /usr/bin/g++
|
||||
CFLAGS = -std=gnu++0x -Wall -Wno-unused-function -D_REENTRANT -DVERSION=\"$(VERSION)\" -I..
|
||||
LDFLAGS = -lrt -lpthread -lboost_system -lboost_program_options -lvorbis -lvorbisenc -logg -lFLAC
|
||||
LDFLAGS = -lrt -lpthread -lboost_system -lboost_program_options -lvorbis -lvorbisenc -logg
|
||||
|
||||
OBJ = snapServer.o controlServer.o pcmEncoder.o oggEncoder.o serverSession.o ../common/log.o ../message/pcmChunk.o ../message/sampleFormat.o
|
||||
BIN = snapserver
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
using namespace std;
|
||||
|
||||
|
||||
OggEncoder::OggEncoder(const msg::SampleFormat& format) : Encoder(format)
|
||||
OggEncoder::OggEncoder(const msg::SampleFormat& format) : Encoder(format), eos(0)
|
||||
{
|
||||
init();
|
||||
lastGranulepos = -1;
|
||||
|
|
|
@ -31,7 +31,7 @@ private:
|
|||
|
||||
ogg_int64_t lastGranulepos;
|
||||
|
||||
int eos=0,ret;
|
||||
int eos, ret;
|
||||
int i, founddata;
|
||||
|
||||
int32_t tv_sec;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue