search for: speex_decoder_int

Displaying 6 results from an estimated 6 matches for "speex_decoder_int".

Did you mean: speex_decoder_init
2011 Jul 26
3
More frames in one packet
...ching the mailing list archive (I forgot to do that before posting, sorry!) I found the solutions: 1) The documentation has a mistake: The bit terminator is NOT set automatically! (I'm using the latest speex version!) It has to be set manually using speex_bits_insert_terminator(&bits); 2) speex_decoder_int() has to be called as long, as it returns -1. After that, all frames should be decoded. This should be added to the docu! Bugreport: I tried using speex_bits_remaining() instead of checking the return value of speex_decoder_int() but this leads to an endless loop! Or can't this function be use...
2005 Aug 29
1
Bug in decoding
...degraded due to this. I investigated and found out that the same bug/error appears if I write a simple C-program. My main program was testenc.c in the speex source code. What I changed was to remove the decoder initialization in the beginning of the file and put them in the while()-loop before speex_decoder_int() and put a speex_decoder_destroy() just after the decode call (and of course, removed the destroy call at the end of the program). If I played the result from the original program, it was all clear and fine. With my multi decoding init and destroy function calls, the sound quality was reduced...
2005 Feb 09
1
encoding speex, (insanity looming)
Hi Tom, Thanks for your reply, I'm having a few difficulty's following you advise. You mention that I should be calling 'speex_encoder_int' & 'speex_decoder_int', I'm having problems finding these functions in the speex header. I am currenlty calling speex_encoder_init & speex_decoder_init in my test code, I have repeated the relevent bits of the example bellow. My version of speex is 1.1.6. Thanks once again for your help, David....
2007 Feb 09
1
speex in C# please help
...)] public static extern int speex_bits_reset(SpeexBits *bits); [DllImport(libpath)] public static extern void *speex_decoder_init(int modein); [DllImport(libpath)] public static extern int speex_decoder_ctl(void *state , int request , void *ptr); [DllImport(libpath)] public static extern int speex_decoder_int(void *state , short *input , SpeexBits *bits); #endregion } } when i call the speex_lib_get_mode(int modein); in my managed code i have an exception with the message "unable to find an entrypoint for the speex_lib_get_mode in the libspeex.dll file" please help is there anything so...
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
...s *bits); > > [DllImport(libpath)] > > public static extern void *speex_decoder_init(int modein); > > [DllImport(libpath)] > > public static extern int speex_decoder_ctl(void *state , int request , void *ptr); > > [DllImport(libpath)] > > public static extern int speex_decoder_int(void *state , short *input , SpeexBits *bits); > > #endregion > > } > > } > > > > when i call the speex_lib_get_mode(int modein); > > in my managed code i have an exception with the message "unable to find an entrypoint for the speex_lib_get_mode in the libs...
2005 Feb 09
2
encoding speex, (insanity looming)
Hi All, I'm very new to speex and in fact handling audio at all, it seems I have run in to a problem I seem unable to fix. I'm trying to take audio from a microphone using alsa, then encode it as speex and save to disk. I have been wondering if it has something to do with endian type, but speexenc and speexdec works fine. Currently I have the following setup: Platform: