search for: pmsg

Displaying 5 results from an estimated 5 matches for "pmsg".

Did you mean: msg
2005 Oct 09
0
Fw: problem in encoder/decoder
...encoder/decoder hi all, I'm developing an app to broadcast voice over web. i tried to use speex and download ver 1.04 documentation and use it to develop encoding and decoding but after decoding voice is damaged i attach my encode/decode function. BOOL EncodeSpeex(CVoiceMsg *pMsg) { SpeexBits bits; void* enc_state; // Initialize. speex_bits_init(&bits); enc_state = speex_encoder_init(&speex_nb_mode); int frame_size = 0; // get frame size. speex_encoder_ctl(enc_state,SPEEX_GET_FRAME_SIZE,&frame_size); int nbBytes = 0; //unsigned char *in...
2006 Sep 06
7
[RFC PATCH] allow connecting to xenconsole from remote hosts
...+ else + q->head = q->tail = msg; +} + +static int queue_msg(struct queue *q, char *data, size_t len) +{ + struct message *msg; + + msg = alloc_msg(data, len); + if (!msg) + return -ENOMEM; + + __queue_msg(q, msg); + + return 0; +} + +static int dequeue_msg(struct queue *q, struct message **pmsg) +{ + struct message *tmp; + + tmp = q->head; + if (!tmp) + return 0; /* nothing to do */ + + q->head = tmp->next; + + if (q->tail == tmp) + q->tail = tmp->next; + + *pmsg = tmp; + return 1; +} + +static int same_msg(const char *m1, size_t len1, const struct message *m2) +{ + in...
2005 Jun 21
1
problem with pam_converse with openssh protocol version 1
...asking for some kind of additional security string (for example pin from some kind of token). It is done by pam module, which asks calling application to do conversation for him: prompt_msg.msg_style = PAM_PROMPT_ECHO_OFF; prompt_msg.msg=strdup("Enter PIN:"); pmsg[i++] = &prompt_msg; retval = pam_get_item(pamh, PAM_CONV,(void *) &conv); if (retval != PAM_SUCCESS) return PAM_SYSTEM_ERR; retval = conv->conv (i,(CONST struct pam_message **)&pmsg,&resp, conv->appdata_ptr); if (retval != PAM_SUC...
2012 Mar 27
0
App. Delisprint hangs on second run
...ansport.c:420] in rpcrt4 (0x0053e8d8) 5 0x7ec10ed5 RPCRT4_receive_fragment+0xb4(Connection=0x111bc8, Header=0x53ea2c, Payload=0x53e9c8) [/build/buildd/wine1.3-1.4/dlls/rpcrt4/rpc_binding.h:179] in rpcrt4 (0x0053e958) 6 0x7ec1125d RPCRT4_ReceiveWithAuth+0x7c(Connection=0x111bc8, Header=0x53ea2c, pMsg=0x111f58, auth_data_out=0x53ea28, auth_length_out=0x53ea24) [/build/buildd/wine1.3-1.4/dlls/rpcrt4/rpc_message.c:1396] in rpcrt4 (0x0053e9e8) 7 0x7ec14231 RPCRT4_io_thread+0x1c0(the_arg=0x111bc8) [/build/buildd/wine1.3-1.4/dlls/rpcrt4/rpc_server.c:563] in rpcrt4 (0x0053ea48) 8 0x7bc72f60 call_t...
2007 Mar 02
0
Wine release 0.9.32
...HFont and IFont::ReleaseRefHFont. oleaut32: Re-arrange the position of functions and vtables in olefont.c to avoid forward-declarations. rpcrt4: Add documentation for the I_Rpc* RPC message functions. rpcrt4: Fix a memory leak in I_RpcSendReceive caused by I_RpcReceive overwriting pMsg->Buffer. server: Check object's security when creating handles. server: Add get_token_impersonation_level server call for retrieving the impersonation level from a token. dbghelp: ImageName is usually blank, so print LoadedImageName in elf_load_debug_info_map. wininet...