summaryrefslogtreecommitdiffstats
path: root/vbox.h
diff options
context:
space:
mode:
authorSuper User2008-06-14 08:34:50 +0200
committerSuper User2008-06-14 08:34:50 +0200
commitd2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4 (patch)
tree8c9e9504a275a43d5a8785dcca7badf28ada5999 /vbox.h
parentfixed dialing-bug when dialing chan_lcr (diff)
downloadlcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.gz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.tar.xz
lcr-d2b113f2c4f11acfaee1b2e0fd2f03744a89f6d4.zip
changed long to int (64 bit system's compatibilty)
Diffstat (limited to 'vbox.h')
-rw-r--r--vbox.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/vbox.h b/vbox.h
index 074c54b..b07ab5b 100644
--- a/vbox.h
+++ b/vbox.h
@@ -15,24 +15,24 @@ class VBoxPort : public Port
public:
VBoxPort(int type, struct port_settings *settings);
~VBoxPort();
- int message_epoint(unsigned long epoint_id, int message, union parameter *param);
+ int message_epoint(unsigned int epoint_id, int message, union parameter *param);
int handler(void);
private:
struct EndpointAppPBX *p_vbox_apppbx; /* pbx application */
- unsigned long p_vbox_timeout; /* timeout for recording */
+ unsigned int p_vbox_timeout; /* timeout for recording */
char p_vbox_extension[32]; /* current extension */
// int p_vbox_recording; /* if currently recording */
int p_vbox_announce_fh; /* the announcement filehandler */
int p_vbox_announce_codec; /* the announcement codec */
- signed long p_vbox_announce_left; /* the number of bytes left of announcement sample */
- signed long p_vbox_announce_size; /* size of current announcement (in bytes) */
+ signed int p_vbox_announce_left; /* the number of bytes left of announcement sample */
+ signed int p_vbox_announce_size; /* size of current announcement (in bytes) */
int p_vbox_mode; /* type of recording VBOX_MODE_* */
double p_vbox_audio_start; /* time stamp of starting of audio (<1 == not yet started) */
- unsigned long p_vbox_audio_transferred; /* number of samples sent to endpoint */
- signed long p_vbox_record_start; /* start for recording */
- signed long p_vbox_record_limit; /* limit for recording */
+ unsigned int p_vbox_audio_transferred; /* number of samples sent to endpoint */
+ signed int p_vbox_record_start; /* start for recording */
+ signed int p_vbox_record_limit; /* limit for recording */
struct extension p_vbox_ext; /* save settings of extension */
};