search for: output_bytes

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

2004 Aug 06
0
Speex wrapper functions for Visual Basic
...oat array in C which can be encoded. And the output of the encoder have to be unsigned char because in VB its an byte array. Here are my first steps but it don´t work and i don´t come forward. Hopefully someone can help me! CALL int __stdcall EncodeSpeexFrame (float *input_frame, unsigned char *output_bytes, int input_size) { int MAX_NB_BYTES, nbBytes; char *output_buffer; unsigned char *temp_buffer; float *input_buffer; input_buffer = new float (input_size); input_buffer = input_frame; speex_bits_reset(&enc_bits); speex_encode(...
2007 Aug 24
2
[git patch] klibc bzero, mount fixes + random stuff
...* declare bunch of function as static * axe unused xrealloc() Signed-off-by: maximilian attems <max at stro.at> diff --git a/usr/utils/cpio.c b/usr/utils/cpio.c index a41f40a..db626a3 100644 --- a/usr/utils/cpio.c +++ b/usr/utils/cpio.c @@ -123,7 +123,7 @@ long input_bytes, output_bytes; /* Allocate N bytes of memory dynamically, with error checking. */ -void *xmalloc(size_t n) +static void *xmalloc(size_t n) { void *p; if (xalloc_oversized(n, 1) || (!(p = malloc(n)) && n != 0)) { @@ -134,22 +134,9 @@ void *xmalloc(size_t n) /* return xnmalloc_inline (n, 1);...