search for: out_left

Displaying 2 results from an estimated 2 matches for "out_left".

2007 Apr 25
0
echo cancellation on Blackfin DSK
...(g_CycleStats); int i; volatile ARTYP_16BITS *in =(ARTYP_16BITS *)inputBuffer; volatile ARTYP_16BITS *out=(ARTYP_16BITS *)outputBuffer; volatile ARTYP_16BITS *out2; short *in_left = in_buffer_calc; //for stereo encoding short *out_left = out_buffer_calc; //for stereo encoding short *out2_buffer_calc; if (SPEEX_DISABLED == g_iSpeexEnabled) //Activated by a pushbutton { memcpy((void *)out, (void *)in, SPEEX_FRAME_SIZE*NUM_CHANNELS*sizeof(ARTYP_16BITS)); }...
2018 Feb 14
1
[PATCH] inspector: rpm summary and description may not be utf-8
...ize that makes sense here is 24 bytes. Four @@ -301,6 +302,66 @@ struct read_package_data { struct guestfs_application2_list *apps; }; +static char * +to_utf8 (guestfs_h *g, char *input) +{ + iconv_t cd_utf8_utf8 = (iconv_t)(-1); + iconv_t cd_utf8_latin1 = (iconv_t)(-1); + size_t in_left, out_left, res; + char *in_ptr; + char *out_ptr; + char *output = NULL; + char *result = NULL; + + cd_utf8_utf8 = iconv_open("UTF-8", "UTF-8"); + if (cd_utf8_utf8 == (iconv_t)(-1)) { + perrorf(g, "No iconv UTF-8 encoding"); + goto cleanup; + } + + in_ptr = input; +...