Displaying 8 results from an estimated 8 matches for "modename".
Did you mean:
nodename
2012 Sep 19
1
[PATCH 1/1] lua: Enabling io.read() in Lua.c32 with some restrictions
...static int io_readline (lua_State *L) {
@@ -441,7 +456,7 @@ static int f_write (lua_State *L) {
return g_write(L, tofile(L), 2);
}
-#ifndef SYSLINUX
+#ifndef NO_F_SEEK
static int f_seek (lua_State *L) {
static const int mode[] = {SEEK_SET, SEEK_CUR, SEEK_END};
static const char *const modenames[] = {"set", "cur", "end", NULL};
@@ -456,8 +471,9 @@ static int f_seek (lua_State *L) {
return 1;
}
}
+#endif
-
+#ifndef NO_F_SETVBUF
static int f_setvbuf (lua_State *L) {
static const int mode[] = {_IONBF, _IOFBF, _IOLBF};
static const char *const mo...
2005 Aug 26
0
Segmentation fault in narrowband and wideband mode
...quot; or "-w" command line option to speexenc (version
1.1.10), I get a segmentation fault.
Looking closely at the code, I found that the line:
fprintf (stderr, "Warning: Trying to encode in %s at %d Hz.
I'll do it but I suggest you try ultra-wideband instead\n",
mode->modeName , rate);
causes this segmentation fault, because commenting it out (you find
the line in speexenc.c after the check if it's a wav-file, if you
follow the conditions: if (modeID!=-1 && rate), if (rate>25000), if
(modeID != SPEEX_MODEID_UWB)) makes the encoding run through.
Does anybod...
2007 Feb 09
1
speex in C# please help
...lid data */
public int buf_size; /* Allocated size for buffer */
public int reserved1; /* Reserved for future use */
public void *reserved2; /* Reserved for future use */
}
[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(...
2008 Jul 30
1
Speex in VB .NET
...Public reserved1 As Integer ' Reserved for future use Public reserved2 As IntPtr ' Reserved for future use
End Structure Public Structure SpeexMode Public mode As IntPtr Public 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 de...
2008 Apr 04
0
speexdec 1.2.3
...}
speex_decoder_ctl(st, SPEEX_SET_SAMPLING_RATE, rate);
*nframes = header->frames_per_packet;
if (*channels==-1)
*channels = header->nb_channels;
if (!quiet)
{
fprintf (stderr, "Decoding %d Hz audio using %s mode",
*rate, mode->modeName);
if (*channels==1)
fprintf (stderr, " (mono");
else
fprintf (stderr, " (stereo");
if (header->vbr)
fprintf (stderr, ", VBR)\n");
else
fprintf(stderr, ")\n");
/*fprintf (stderr, &quo...
2007 Feb 13
1
Re: Speex-dev Digest, Vol 33, Issue 10
...c int reserved1; /* Reserved for future use */
>
> public void *reserved2; /* Reserved for future use */
>
> }
>
> [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_c...
2008 Apr 04
2
speexdec 1.2.3
On Fri, Apr 4, 2008 at 12:19 AM, Jean-Marc Valin
<jean-marc.valin at usherbrooke.ca> wrote:
> Jahn, Ray (R.) a ?crit :
>
> > Dear Speex codec community:
> >
> > I am working on conversion of voice files. I could not figure out how to use speexdec.exe 1.2.3 in piped mode in order to avoid the creation of the potentially large intermediate *.wav or *.pcm files. Any
2013 Oct 15
23
[PATCH 00/21] Upgrade to Lua 5.2.2, add filesystem module and get_key binding
Hi,
This series targets automatic boot menu generation, but most of it
is the Lua upgrade, because I got tired reading deprecated API docs.
It's mostly a straightforward forward port of the earlier Syslinux
specific changes to Lua 5.1, except that:
* I chose the add a stub getenv() implementation to the COM32 API
instead of #ifdefing out all the references in Lua, and
* I kept oslib