From c559c71dd9abff1f0e8d0175b3feac792f337670 Mon Sep 17 00:00:00 2001 From: Alex Marshall Date: Mon, 16 Mar 2009 20:49:04 -0700 Subject: Added player. It's in XCode project format. If anyone wants to write a makefile for it, please do, it'd be appreciated. Player doesn't play at the moment, but it does read BRLAN into a nice format, and set up SDL. --- player/endian.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 player/endian.h (limited to 'player/endian.h') diff --git a/player/endian.h b/player/endian.h new file mode 100644 index 0000000..b7ac8ba --- /dev/null +++ b/player/endian.h @@ -0,0 +1,23 @@ +/* + * endian.h + * BannerPlayer + * + * Created by Alex Marshall on 09/03/16. + * Copyright 2009 __MyCompanyName__. All rights reserved. + * + */ + +#ifndef _ENDIAN_H_ +#define _ENDIAN_H_ + +#include "types.h" + +#define le16 be16 +#define le32 be32 +#define le64 be64 + +u16 be16(u16 x); +u32 be32(u32 x); +u64 be64(u64 x); + +#endif //_ENDIAN_H_ -- cgit v1.3.1