Displaying 6 results from an estimated 6 matches for "dec_ctl".
2007 Feb 09
1
speex in C# please help
...ublic 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 speex_lib_get_mode (int modein);
[DllImport(libpath)]
public static ex...
2008 Jul 30
1
Speex in VB .NET
...itstream_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 Sub <DllImport(libpath)> _ Public Shared Function speex_decoder_init(ByRef mode As S...
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
...d;
>
> 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 speex_lib...
2004 Aug 06
2
[PATCH] Make SSE Run Time option. Add Win32 SSE code
...+ {
+ global_use_mmx_sse = *((int*)ptr);
+ return 0;
+ }
+ else
+ return (*((SpeexMode**)state))->enc_ctl(state, request, ptr);
}
int speex_decoder_ctl(void *state, int request, void *ptr)
{
- return (*((SpeexMode**)state))->dec_ctl(state, request, ptr);
+ if (request == SPEEX_SET_ASM_FLAG)
+ {
+ global_use_mmx_sse = *((int*)ptr);
+ return 0;
+ }
+ else
+ return (*((SpeexMode**)state))->dec_ctl(state, request, ptr);
}
<p>-
static int nb_mode_query(void...
2008 Mar 29
0
GCC/ELF Visibility patch
...peex_encoder_ctl(void *state, int request, void *ptr)
{
return (*((SpeexMode**)state))->enc_ctl(state, request, ptr);
}
-int speex_decoder_ctl(void *state, int request, void *ptr)
+EXPORT int speex_decoder_ctl(void *state, int request, void *ptr)
{
return (*((SpeexMode**)state))->dec_ctl(state, request, ptr);
}
@@ -215,7 +215,7 @@
-int speex_lib_ctl(int request, void *ptr)
+EXPORT int speex_lib_ctl(int request, void *ptr)
{
switch (request)
{
Index: libspeex/modes.c
===================================================================
--- libspeex/modes.c (revision 14...
2008 Mar 29
2
GCC/ELF Visibility patch (fwd)
...peex_encoder_ctl(void *state, int request, void *ptr)
{
return (*((SpeexMode**)state))->enc_ctl(state, request, ptr);
}
-int speex_decoder_ctl(void *state, int request, void *ptr)
+EXPORT int speex_decoder_ctl(void *state, int request, void *ptr)
{
return (*((SpeexMode**)state))->dec_ctl(state, request, ptr);
}
@@ -215,7 +215,7 @@
-int speex_lib_ctl(int request, void *ptr)
+EXPORT int speex_lib_ctl(int request, void *ptr)
{
switch (request)
{
Index: libspeex/modes.c
===================================================================
--- libspeex/modes.c (revision 14...