mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
merge endian.h (bug #3867)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@6005 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -24,11 +24,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
#define RATE_40 0
|
||||
#define RATE_32 1
|
||||
|
@@ -25,11 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -25,11 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
#include "msgsm.h"
|
||||
|
||||
/* Some Ideas for this code came from makegsme.c by Jeffrey Chilton */
|
||||
|
@@ -25,11 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
/* Some Ideas for this code came from makeh263e.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -27,11 +27,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
/* Some Ideas for this code came from makeg729e.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -27,11 +27,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
|
||||
static char *desc = "JPEG (Joint Picture Experts Group) Image Format";
|
||||
|
@@ -25,11 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
#define BUF_SIZE 160 /* 160 samples */
|
||||
|
||||
|
@@ -27,11 +27,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
#define BUF_SIZE 160 /* 160 samples */
|
||||
|
||||
|
@@ -23,11 +23,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
#define BUF_SIZE 320 /* 320 samples */
|
||||
|
||||
|
@@ -25,11 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
#define BUF_SIZE 80 /* 160 samples */
|
||||
|
||||
|
@@ -25,11 +25,8 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
|
||||
|
||||
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */
|
||||
|
||||
|
@@ -25,11 +25,7 @@
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#ifdef __linux__
|
||||
#include <endian.h>
|
||||
#else
|
||||
#include <machine/endian.h>
|
||||
#endif
|
||||
#include "asterisk/endian.h"
|
||||
#include "msgsm.h"
|
||||
|
||||
/* Some Ideas for this code came from makewave.c by Jeffrey Chilton */
|
||||
|
Reference in New Issue
Block a user