mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 09:36:46 +00:00
freetdm type fixes
This commit is contained in:
@@ -605,8 +605,8 @@ struct ftdm_channel {
|
||||
ftdm_hash_t *variable_hash;
|
||||
unsigned char rx_cas_bits;
|
||||
uint32_t pre_buffer_size;
|
||||
unsigned char rxgain_table[FTDM_GAINS_TABLE_SIZE];
|
||||
unsigned char txgain_table[FTDM_GAINS_TABLE_SIZE];
|
||||
uint8_t rxgain_table[FTDM_GAINS_TABLE_SIZE];
|
||||
uint8_t txgain_table[FTDM_GAINS_TABLE_SIZE];
|
||||
float rxgain;
|
||||
float txgain;
|
||||
};
|
||||
|
@@ -40,8 +40,8 @@
|
||||
#define FTDM_TYPES_H
|
||||
#include "fsk.h"
|
||||
|
||||
#define FTDM_INVALID_SOCKET -1
|
||||
#ifdef WIN32
|
||||
#define FTDM_INVALID_SOCKET INVALID_HANDLE_VALUE
|
||||
#include <windows.h>
|
||||
typedef HANDLE ftdm_socket_t;
|
||||
typedef unsigned __int64 uint64_t;
|
||||
@@ -55,6 +55,7 @@ typedef __int8 int8_t;
|
||||
typedef intptr_t ftdm_ssize_t;
|
||||
typedef int ftdm_filehandle_t;
|
||||
#else
|
||||
#define FTDM_INVALID_SOCKET -1
|
||||
#include <stdint.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
Reference in New Issue
Block a user