Displaying 3 results from an estimated 3 matches for "speexbuff".
Did you mean:
speexbuffer
2008 Mar 29
0
GCC/ELF Visibility patch
...e = speex_bits_unpack_unsigned(bits, 4);
speex_bits_advance(bits, 5+8*req_size);
Index: libspeex/buffer.c
===================================================================
--- libspeex/buffer.c (revision 14645)
+++ libspeex/buffer.c (working copy)
@@ -48,7 +48,7 @@
int available;
};
-SpeexBuffer *speex_buffer_init(int size)
+EXPORT SpeexBuffer *speex_buffer_init(int size)
{
SpeexBuffer *st = speex_alloc(sizeof(SpeexBuffer));
st->data = speex_alloc(size);
@@ -59,13 +59,13 @@
return st;
}
-void speex_buffer_destroy(SpeexBuffer *st)
+EXPORT void speex_buffer_destroy(Speex...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...e = speex_bits_unpack_unsigned(bits, 4);
speex_bits_advance(bits, 5+8*req_size);
Index: libspeex/buffer.c
===================================================================
--- libspeex/buffer.c (revision 14645)
+++ libspeex/buffer.c (working copy)
@@ -48,7 +48,7 @@
int available;
};
-SpeexBuffer *speex_buffer_init(int size)
+EXPORT SpeexBuffer *speex_buffer_init(int size)
{
SpeexBuffer *st = speex_alloc(sizeof(SpeexBuffer));
st->data = speex_alloc(size);
@@ -59,13 +59,13 @@
return st;
}
-void speex_buffer_destroy(SpeexBuffer *st)
+EXPORT void speex_buffer_destroy(Speex...
2004 Aug 06
3
Error in my code
...BOOL CALLBACK RecordProc(HRECORD hRecord, void *buffer,
DWORD length, DWORD user)
{
try
{
long sent = 0;
long inputOffset = 0;
long outputOffset = 0;
long nbBytes = 0;
char *outputBuffer = NULL;
outputBuffer = (char*)malloc(65535);
memset(speexBuffer, 0, 65536);
while (inputOffset < length)
{
(float*)buffer = (float*)buffer + (frameSize);
speex_bits_reset(&bits);
speex_encode(enc_state, (float*)buffer, &bits);
nbBytes = speex_bits_write(&bits, outputBuffer +
outputOffset,...