freebsd-ports/comms/echolinux/files/patch-echolinux_vox.c
Pav Lucistnik b764749dc7 Add echolinux, an EchoLink client for UNIX.
PR:		ports/68587
Submitted by:	Diane Bruce <db@night.db.net>
2004-07-04 23:28:32 +00:00

11 lines
383 B
C

--- echolinux/vox.c.orig Tue Feb 3 01:12:09 2004
+++ echolinux/vox.c Fri Jul 2 00:58:47 2004
@@ -546,7 +546,7 @@
timeout.tv_sec = 1;
timeout.tv_usec = 0;
for(i=0;i<4;i++){
- temp = &(voicePacket->data);
+ temp = (unsigned char *)&(voicePacket->data);
gsm_decode(gsmh, temp+(i*33), sbuff);
ioctl(audiofd, SNDCTL_DSP_GETOSPACE, &info);
while(info.bytes < 320){