search for: packet_size

Displaying 6 results from an estimated 6 matches for "packet_size".

Did you mean: bucket_size
2006 Jan 01
2
Re: speexenc always crashes on amd64
...e the warning. Here is a fix: --- speexenc.c.orig 2006-01-01 17:56:44.157165648 +0100 +++ speexenc.c 2006-01-01 17:57:39.994551085 +0100 @@ -629,7 +629,9 @@ /*Write header*/ { - op.packet = (unsigned char *)speex_header_to_packet(&header, (int*)&(op.bytes)); + int packet_size; + op.packet = (unsigned char *)speex_header_to_packet(&header, &packet_size); + op.bytes = size; op.b_o_s = 1; op.e_o_s = 0; op.granulepos = 0; Regards, -- Nicolas George -------------- next part -------------- A non-text attachment was scrubbed... Name:...
2011 Sep 19
1
C55x Fixed Point PLC Stack Usage and Audio Quality
...success? I am seeing some issues and was curious if I was doing anything wrong/stupid or maybe I have found a bug? I am using: - the CELT library from OPUS 0.9.5 ( I checked the git repo and no check ins have comments about PLC, I assume it hasn't been updated) - FRAME_SIZE: 240 - PACKET_SIZE: 40 - SAMPLE_RATE: 48000 - TI 5509, 5505, 5504 To utilize the PLC functionality I pass a NULL pointer in place of the buffer of encoded bytes. At first my program would crash, but realized PLC was eating up my entire stack. PLC required I provide the stack an additional 0x900 bytes (2300 by...
2014 Feb 06
1
Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
Charles, here is the command(s) output using uhidd.... # uhidd -v -u /dev/ugen1.3ugen1.3[0]-> HID interface ugen1.3[0]-> Report descriptor size = 27 ugen1.3[0]-> Kernel driver is active ugen1.3[0]-> kernel driver detached! ugen1.3[0]-> Find IN interrupt ep: 0x81 packet_size=0x8 # /usr/local/libexec/nut/blazer_usb -a UPSonic -u root -DDDD 0.000000 debug level is '4' 0.176793 Checking device (06DA/0005) (/dev/usb//dev/ugen1.3) 0.183672 - VendorID: 06da 0.183696 - ProductID: 0005 0.183699 - Manufacturer: PPC 0.183703 -...
2014 Feb 06
0
Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
On Feb 6, 2014, at 9:33 AM, Chris Duffy wrote: > So since this is a new type of UPSonic UPS, do you think > the vendor screwed up or is it just some quirk on Freebsd? It's a pretty fundamental design flaw, although it isn't uncommon among USB devices aimed at the Windows market, and to their credit, it does make implementation and deployment simpler on Windows. Neither the FreeBSD
2006 Mar 24
2
[PATCH] qemu pcnet emulation fixes
...gt;buffer[8]; + uint8_t *src = &s->rx_buffer[8]; target_phys_addr_t crda = CSR_CRDA(s); - struct pcnet_RMD rmd; + target_phys_addr_t nrda = CSR_NRDA(s); + target_phys_addr_t nnrda = CSR_NNRD(s); int pktcount = 0; + int packet_size = size + pad; memcpy(src, buf, size); - - if (!CSR_ASTRP_RCV(s)) { - uint32_t fcs = ~0; -#if 0 - uint8_t *p = s->buffer; - - ((uint32_t *)p)[0] = ((uint32_t *)p)[1] = 0xaaaaaaaa; -...
2014 Feb 06
2
Question on support for Upsonic Commercial UPS CXR 2000 - 2000VA/1200W - Rack/Tower on Freebsd 9.1.
Thx Charles, So since this is a new type of UPSonic UPS, do you think the vendor screwed up or is it just some quirk on Freebsd? Yes, if you can look into this I would appreciate it. I do not see anyone else on the Web attempting to use this new device yet.....but....... Regards chris On 2/6/14, 8:24 AM, Charles Lepple wrote: > On Feb 6, 2014, at 8:41 AM, Chris Duffy wrote: > >>