Skip to content

Commit

Permalink
0.2.0.8
Browse files Browse the repository at this point in the history
add aarch64
  • Loading branch information
philippe44 committed May 9, 2018
1 parent e9500ce commit 09d363e
Show file tree
Hide file tree
Showing 25 changed files with 31 additions and 15 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
@@ -1,3 +1,6 @@
0.2.0.8
- add aarch64

0.2.0.7
- loglimit was not used in airupnp

Expand Down
10 changes: 10 additions & 0 deletions aircast/Makefile.aarch64
@@ -0,0 +1,10 @@
CC = aarch64-cross-linux-gnueabi-gcc
CFLAGS ?= -Wall -fPIC -ggdb -O2 $(OPTS) $(INCLUDE) $(DEFINES)
LDFLAGS ?= -s -lpthread -lssl -lcrypto -ldl -lm -lrt -L.
# for LD debug -s

OBJ = bin/aarch64
EXECUTABLE = ../bin/aircast-aarch64

include Makefile

2 changes: 1 addition & 1 deletion aircast/src/aircast.c
Expand Up @@ -35,7 +35,7 @@
#include "raopcore.h"
#include "config_cast.h"

#define VERSION "v0.2.0.7"" ("__DATE__" @ "__TIME__")"
#define VERSION "v0.2.0.8"" ("__DATE__" @ "__TIME__")"

#define DISCOVERY_TIME 20

Expand Down
11 changes: 11 additions & 0 deletions airupnp/Makefile.aarch64
@@ -0,0 +1,11 @@
CC = aarch64-cross-linux-gnueabi-gcc
CFLAGS ?= -Wall -fPIC -ggdb -O2 $(OPTS) $(INCLUDE) $(DEFINES)
LDFLAGS ?= -s -lpthread -lssl -lcrypto -ldl -lm -lrt -L.

# for LD debug -s

OBJ = bin/aarch64
EXECUTABLE = ../bin/airupnp-aarch64

include Makefile

2 changes: 1 addition & 1 deletion airupnp/src/airupnp.c
Expand Up @@ -37,7 +37,7 @@
#include "mr_util.h"
#include "log_util.h"

#define VERSION "v0.2.0.7"" ("__DATE__" @ "__TIME__")"
#define VERSION "v0.2.0.8"" ("__DATE__" @ "__TIME__")"

#define AV_TRANSPORT "urn:schemas-upnp-org:service:AVTransport"
#define RENDERING_CTRL "urn:schemas-upnp-org:service:RenderingControl"
Expand Down
Binary file added bin/aircast-aarch64
Binary file not shown.
Binary file modified bin/aircast-arm
Binary file not shown.
Binary file modified bin/aircast-arm5
Binary file not shown.
Binary file modified bin/aircast-bsd-x64
Binary file not shown.
Binary file modified bin/aircast-i86pc-solaris
Binary file not shown.
Binary file modified bin/aircast-osx-multi
Binary file not shown.
Binary file modified bin/aircast-win.exe
Binary file not shown.
Binary file modified bin/aircast-x86
Binary file not shown.
Binary file modified bin/aircast-x86-64
Binary file not shown.
Binary file added bin/airupnp-aarch64
Binary file not shown.
Binary file modified bin/airupnp-arm
Binary file not shown.
Binary file modified bin/airupnp-arm5
Binary file not shown.
Binary file modified bin/airupnp-bsd-x64
Binary file not shown.
Binary file modified bin/airupnp-i86pc-solaris
Binary file not shown.
Binary file modified bin/airupnp-osx-multi
Binary file not shown.
Binary file modified bin/airupnp-win.exe
Binary file not shown.
Binary file modified bin/airupnp-x86
Binary file not shown.
Binary file modified bin/airupnp-x86-64
Binary file not shown.
6 changes: 3 additions & 3 deletions common/hairtunes.c
Expand Up @@ -48,10 +48,10 @@
#include "util.h"

#define NTP2MS(ntp) ((((ntp) >> 10) * 1000L) >> 22)
#define MS2NTP(ms) (((((__u64) (ms)) << 22) / 1000) << 10)
#define MS2NTP(ms) (((((u64_t) (ms)) << 22) / 1000) << 10)
#define NTP2TS(ntp, rate) ((((ntp) >> 16) * (rate)) >> 16)
#define TS2NTP(ts, rate) (((((__u64) (ts)) << 16) / (rate)) << 16)
#define MS2TS(ms, rate) ((((__u64) (ms)) * (rate)) / 1000)
#define TS2NTP(ts, rate) (((((u64_t) (ts)) << 16) / (rate)) << 16)
#define MS2TS(ms, rate) ((((u64_t) (ms)) * (rate)) / 1000)
#define TS2MS(ts, rate) NTP2MS(TS2NTP(ts,rate))

#define GAP_THRES 8
Expand Down
12 changes: 2 additions & 10 deletions tools/platform.h
Expand Up @@ -148,17 +148,9 @@ int gettimeofday(struct timeval *tv, struct timezone *tz);

#endif

typedef u8_t __u8;
typedef u16_t __u16;
typedef u32_t __u32;
typedef u64_t __u64;
typedef s16_t __s16;
typedef s32_t __s32;
typedef s64_t __s64;

typedef struct ntp_s {
__u32 seconds;
__u32 fraction;
u32_t seconds;
u32_t fraction;
} ntp_t;

u64_t timeval_to_ntp(struct timeval tv, struct ntp_s *ntp);
Expand Down

0 comments on commit 09d363e

Please sign in to comment.