search for: datalength

Displaying 20 results from an estimated 28 matches for "datalength".

Did you mean: wdatalength
2007 Mar 18
1
Choppy sound with chan_capi + Fritz Card USB
...x10101 DATA_B3_CONF ID=002 #0x0143 LEN=0016 Controller/PLCI/NCCI = 0x10101 DataHandle = 0x13a Info = 0x0 DATA_B3_REQ ID=002 #0x0143 LEN=0030 Controller/PLCI/NCCI = 0x10101 Data32 = 0x8168df4 DataLength = 0xa0 DataHandle = 0x13a Flags = 0x0 Data64 = 0x0 DATA_B3_REQ ID=002 #0x0144 LEN=0030 Controller/PLCI/NCCI = 0x10101 Data32 = 0x81688b4 DataLength...
2004 Sep 03
1
how to debug a sudden exit in non-interactive mode
...At this time I only know that it has something to do with me loading my custom library, vor, in .Rprofile. I use R-1.9.1 on RH7.3. Following the posting guide I include an example (note that it may work for you fine since you don't have my .Rprofile). This is debug.R file: #============= dataLength <- 1e3 y <-rnorm(dataLength) x <- rnorm(dataLength) library("mgcv") cat("before\n") xy.gam <- gam(y ~ s(x), knots=list(place.knots(x, 25)), fit=FALSE) cat("after\n") # Here I run it non-interactively from the shell. Note that the last line, ca...
2012 Oct 25
2
WAVE PCM to OPUS and back
....lParam; int opusRes; m_opusEncoder = opus_encoder_create(48000, 2, OPUS_APPLICATION_AUDIO, &opusRes); m_opusDecoder = opus_decoder_create(48000, 2, &opusRes); unsigned char data[BUFSIZE]; opus_int32 dataLength = opus_encode(m_opusEncoder, (short*)Hdr->lpData, 80, data, BUFSIZE); dataLength = opus_decode(m_opusDecoder, (unsigned char*)data, dataLength, (short*)WaveHdrOut.lpData, BUFSIZE, 0); waveOutWrite(hWaveOut, &WaveHdrOut,sizeof(WAVEHDR)); -- Best regards,...
2005 Jul 15
2
Strange problem with SIP and CAPI
...0x10101 NCPI = default > sent CONNECT_B3_ACTIVE_RESP (NCCI=0x10101) -- CAPI[contr1/010xxxxxx]/80 answered SIP/200-837b -- DATA_B3_IND ID=003 #0x8122 LEN=0030 Controller/PLCI/NCCI = 0x10101 Data32 = 0xb79f39fe DataLength = 0xa0 DataHandle = 0x0 Flags = 0x0 Data64 = 0x0 ............. > sent DATA_B3_RESP (NCCI=0x10101) -- DATA_B3_IND ID=003 #0x8143 LEN=0030 Controller/PLCI/NCCI = 0x10101 Da...
2017 Nov 21
2
[PATCH] EFI TCP buffer reuse bug
...EFI_STATUS status; EFI_TCP4 *tcp = (EFI_TCP4 *)b->this; - void *data; size_t len; memset(&iotoken, 0, sizeof(iotoken)); @@ -223,10 +220,10 @@ void core_tcp_fill_buffer(struct inode * iotoken.Packet.RxData = &rxdata; rxdata.FragmentCount = 1; - rxdata.DataLength = sizeof(databuf); + rxdata.DataLength = sizeof(socket->tcp_databuf); frag = &rxdata.FragmentTable[0]; - frag->FragmentBuffer = databuf; - frag->FragmentLength = sizeof(databuf); + frag->FragmentBuffer = socket->tcp_databuf; + frag->FragmentLength = sizeof(...
2019 Feb 14
3
smbclient error talking to Netapp with SMB 3.11 / Samba 4.7.11
...hintName: not_defined_in_RFC4178 at please_ignore - NegotiateContextOffset: 0x0000 + NegotiateContextOffset: 0x0100 + Negotiate Context: SMB2_PREAUTH_INTEGRITY_CAPABILITIES + Type: SMB2_PREAUTH_INTEGRITY_CAPABILITIES (0x0001) + DataLength: 38 + Reserved: 00000000 + HashAlgorithmCount: 1 + SaltLength: 32 + HashAlgorithm: SHA-512 (0x0001) + Salt: ffffffffffffffffffffffffffffffffffffffffffffffff... + Negotiate Context: SMB2_ENCRYPTION_CAPABILITIES...
2010 Jun 11
2
5.5 & gspca
...sb_spca50x *spca50x, struct urb *urb) { unsigned char *cdata; //Pointer to buffer where we do store next packet unsigned char *pData; //Pointer to buffer where we do store next packet int i; for (i = 0; i < urb->number_of_packets; i++) { int datalength = urb->iso_frame_desc[i].actual_length; int st = urb->iso_frame_desc[i].status; unsigned long ms_times_now; unsigned long ms_times_before; struct spca50x_frame *frame; //Pointer to frame data int sequenceNumber...
2012 Aug 05
1
trouble with looping for effect of sampling interval increase
...s the problem area: #loop for making index #clean dataset of empty cells dataset <- na.omit (datasetORIGINAL) #how messed up was the data? holeyDATA <- datasetORIGINAL - dataset D <- dim(dataset) #what is the smallest sample? tinysample <- 100 #how long is the dataset? datalength <- length (dataset) #MD <- how many divisions MD <- datalength/tinysample #clear things up for the index loop WHOLE <- NULL index <- NULL #do the index loop for (a in 1:MD) { index <- cbind (index, rep (1:a, length = D[1])) } index <- subset(index, select = -c(1)...
2007 Jul 24
0
Diva Server BRI hangs up after about 25 seconds
...g would be appreciated. We are located in New Zealand. CLI showing capi debug (just before hangup) -- EICONISDN#02: DATA_B3_IND (len=160) fr.datalen=160 fr.subclass=8 DATA_B3_REQ ID=001 #0x04e1 LEN=0030 Controller/PLCI/NCCI = 0x10201 Data32 = 0x816d494 DataLength = 0xa0 DataHandle = 0x4d9 Flags = 0x0 Data64 = 0x0 DATA_B3_CONF ID=001 #0x04e1 LEN=0016 Controller/PLCI/NCCI = 0x10201 DataHandle = 0x4d9 Info...
2005 Aug 12
1
Encode/Decode problem
...rent. If so, is the encoding data sensitive? If my data being fed in is wrong, will the encoding and decoding not work correctly? Any help would be greatly appriciated. Thanks! Jamie Stanton jstanton@clairvista.com I've got the following code: static void testAudio(UInt8 *data, long dataLength) { //data is a linear PCM stream from an attached microphone. sample rate is 8000, 16 bits per sample void *state; void *state2; SpeexBits bits; short tempShort; short tempPtr[160]; short tempPtrDecode[160]; state = speex_encoder_init(&speex_nb_mode); state2 = speex_decoder_init(&speex_nb...
2019 Feb 13
2
smbclient error talking to Netapp with SMB 3.11 / Samba 4.7.11
Hi Louis, thanks for your reply. -<| Quoting L.P.H. van Belle via samba <belle at bazuin.nl>, on Wednesday, 2019-02-13 04:59:55 PM |>- > > DOM.AIN\foobar's password: > ^^^^^^^^ > > No dot is allowed in the NTDOM > Fix that first, then try again. That’s the output when logon succeeds though nor does the value seem to matter anywhere else. This is just Samba
2006 Jan 13
2
PrimuX Cards with chan_capi-cm
...= default CONNECT_B3_ACTIVE_RESP ID=001 #0x8003 LEN=0012 Controller/PLCI/NCCI = 0x10101 -- CAPI/capicard_primux_2_1/017129478262-2 answered SIP/10-dec7 DATA_B3_IND ID=001 #0x8004 LEN=0022 Controller/PLCI/NCCI = 0x10101 Data32 = 0xb75131b8 DataLength = 0xa0 DataHandle = 0x0 Flags = 0x0 Data64 = 0xaaababababaa2aab pbx*CLI> Disconnected from Asterisk server Executing last minute cleanups -------------- next part -------------- CONNECT_IND ID=00...
2005 Nov 16
0
ov_read and double buffering
...is choppy and I can't see a problem on the wavOutxxx end of things. So I am wondering about how I call ov_read. From my TRACE statements, the read seems to work perfectly, eventually returning zero. Is it a simple matter of making the same call to ov_read, aside from changing the buffer and datalength? This is what I am doing everytime I fill one of the buffers: long bytes_read = ov_read(&m_OggVorbisFile, m_WaveBuffers[m_nCurrentIndex], m_dwBufferLength,0,2,1,&current_section); -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.xiph.org/piperm...
2004 Apr 06
1
ov_open fails on Version 1.0.1
...else has changed. All I did was replace the lib and dll files that are in the win32sdk zip and re-build all, so it's the same the project files for for both builds. Here the snippet of code that fails: int processOGG(FILE *inFile, char fileName [], int fileSize, int fileType) { ogg_int64_t dataLength = 0; PM3ULIST listBuff = 0; OggVorbis_File vf = {0}; vorbis_info *vorbisInfo = NULL; fseek(inFile, 0, SEEK_SET); if (debug > 0) { printf("About to open file as vorbis\n"); } if(ov_open(inFile, &vf, NULL, 0) < 0) { fprintf(stderr, &qu...
2016 Feb 28
0
[PATCH 0/1] UEFI UDP/TFTP
...c(sizeof(*token)); - if (!token) - return; - - txdata = zalloc(sizeof(*txdata)); - if (!txdata) { - free(token); - return; - } - - status = efi_setup_event(&token->Event, (EFI_EVENT_NOTIFY)udp4_cb, - token); - if (status != EFI_SUCCESS) - goto bail; - - txdata->DataLength = len; - txdata->FragmentCount = 1; + txdata->DataLength = len; + txdata->FragmentCount = 1; + frag = &txdata->FragmentTable[0]; - frag->FragmentLength = len; frag->FragmentBuffer = (void *)data; token->Packet.TxData = txdata; - + + status = uefi_call_wrap...
2019 Apr 03
0
[Announce] Samba 4.10.1 Available for Download
...f the Samba 4.10 release series. Changes since 4.10.0: --------------------- o Douglas Bagnall <douglas.bagnall at catalyst.net.nz> * BUG 13837: py/kcc_utils: py2.6 compatibility. o Philipp Gesang <philipp.gesang at intra2net.com> * BUG 13869: libcli: permit larger values of DataLength in SMB2_ENCRYPTION_CAPABILITIES of negotiate response. o Michael Hanselmann <public at hansmi.ch> * BUG 13840: regfio: Improve handling of malformed registry hive files. o Amitay Isaacs <amitay at samba.org> * BUG 13789: ctdb-version: Simplify version string usage. o Vo...
2019 Apr 03
0
[Announce] Samba 4.10.1 Available for Download
...f the Samba 4.10 release series. Changes since 4.10.0: --------------------- o Douglas Bagnall <douglas.bagnall at catalyst.net.nz> * BUG 13837: py/kcc_utils: py2.6 compatibility. o Philipp Gesang <philipp.gesang at intra2net.com> * BUG 13869: libcli: permit larger values of DataLength in SMB2_ENCRYPTION_CAPABILITIES of negotiate response. o Michael Hanselmann <public at hansmi.ch> * BUG 13840: regfio: Improve handling of malformed registry hive files. o Amitay Isaacs <amitay at samba.org> * BUG 13789: ctdb-version: Simplify version string usage. o Vo...
2008 May 30
0
Request for Comments: multi-channel/32 bit WAV patch for oggenc
...upport for WAVE_FORMAT_EXTENSIBLE wav headers with only: if (format.format == WAVE_FORMAT_EXTENSIBLE && len > 25) format.format = READ_U16_LE(buf+24); 3) New feature. Support wav files 32 bits int. 4) New parameter --ignorelength. To support wav files > 4 GB or STDIN with datalength ignored." "If ogg, and flac, formats want support multichannel audio need manage correctly the channel order and: 1) The internal order is free but must store in header something like a ChannelMask (like acmod-lfeon in ac3). 2) The encoder need assume the uncompressed input channel ord...
2007 Nov 13
1
Help with openssh: ssh application writing data > 131071 to socket causing message too long error
...reduced from the remote window and hence the window size is effectively the data size and doesnt include headers etc. In packet_send() in packet.c we add padding ,mac and other headers which increase the packet size (another 48 bytes as I see ) and hence the buffer_len(&output) increases by datalength+48. and hence I feel the total packet size written to socket buffer can go more than 131071 Please correct me if I am wrong.Also where my understanding is wrong.Wheres the issue . Is it with the networking stack ??. Debug data (I have inserted) Remote window size 131072 Remote max packet 3276...
2019 May 01
0
[Announce] Samba 4.9.7 Available for Download
...stroot". o David Disseldorp <ddiss at samba.org> * BUG 13858: vfs_snapper: Drop unneeded fstat handler. * BUG 13896: vfs_ceph: Explicitly enable libcephfs POSIX ACL support. o Philipp Gesang <philipp.gesang at intra2net.com> * BUG 13869: libcli: Permit larger values of DataLength in SMB2_ENCRYPTION_CAPABILITIES of negotiate response. o Michael Hanselmann <public at hansmi.ch> * BUG 13840: regfio: Improve handling of malformed registry hive files. o Amitay Isaacs <amitay at samba.org> * BUG 13895: ctdb-common: Avoid race between fd and signal event...