search for: dec_destroy

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

2007 Feb 09
1
speex in C# please help
...} [StructLayout(LayoutKind.Sequential)] public struct SpeexMode { public void *mode; public IntPtr query; public char *modename; public int modeid; public int bitstream_version; public IntPtr enc_init; public IntPtr enc_destroy; public IntPtr enc; public IntPtr dec_init; public IntPtr dec_destroy; public IntPtr dec; public IntPtr enc_ctl; public IntPtr dec_ctl; } #endregion #region Exported Methods [DllImport(libpath)] public static extern void *speex_encoder_init(ref SpeexMode modein); [DllImport(libpath,EntryPoint="speex_lib_get_mode")] public static extern IntPtr spee...
2008 Jul 30
1
Speex in VB .NET
...query As IntPtr Public modeName As String Public modeID As Integer Public bitstream_version As Integer Public enc_init As IntPtr Public enc_destroy As IntPtr Public enc As IntPtr Public dec_init As IntPtr Public dec_destroy As IntPtr Public dec As IntPtr Public enc_ctl As IntPtr Public dec_ctl As IntPtr End Structure #End Region #Region "Exported Methods" <DllImport(libpath)> _ Public Shared Sub speex_bits_init(ByRef bits As SpeexBits) End...
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
...d *mode; > > public IntPtr query; > > public char *modename; > > public int modeid; > > public int bitstream_version; > > public IntPtr enc_init; > > public IntPtr enc_destroy; > > public IntPtr enc; > > public IntPtr dec_init; > > public IntPtr dec_destroy; > > public IntPtr dec; > > public IntPtr enc_ctl; > > public IntPtr dec_ctl; > > } > > #endregion > > #region Exported Methods > > [DllImport(libpath)] > > public static extern void *speex_encoder_init(ref SpeexMode modein); > > [DllImport(libp...
2008 Mar 29
0
GCC/ELF Visibility patch
...e->dec_init(mode); } -void speex_encoder_destroy(void *state) +EXPORT void speex_encoder_destroy(void *state) { (*((SpeexMode**)state))->enc_destroy(state); } -void speex_decoder_destroy(void *state) +EXPORT void speex_decoder_destroy(void *state) { (*((SpeexMode**)state))->dec_destroy(state); } @@ -85,7 +85,7 @@ #ifdef FIXED_POINT #ifndef DISABLE_FLOAT_API -int speex_encode(void *state, float *in, SpeexBits *bits) +EXPORT int speex_encode(void *state, float *in, SpeexBits *bits) { int i; spx_int32_t N; @@ -104,7 +104,7 @@ } #endif /* #ifndef DISABLE_FLOAT_API */...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...e->dec_init(mode); } -void speex_encoder_destroy(void *state) +EXPORT void speex_encoder_destroy(void *state) { (*((SpeexMode**)state))->enc_destroy(state); } -void speex_decoder_destroy(void *state) +EXPORT void speex_decoder_destroy(void *state) { (*((SpeexMode**)state))->dec_destroy(state); } @@ -85,7 +85,7 @@ #ifdef FIXED_POINT #ifndef DISABLE_FLOAT_API -int speex_encode(void *state, float *in, SpeexBits *bits) +EXPORT int speex_encode(void *state, float *in, SpeexBits *bits) { int i; spx_int32_t N; @@ -104,7 +104,7 @@ } #endif /* #ifndef DISABLE_FLOAT_API */...