Displaying 11 results from an estimated 11 matches for "le_int".
2005 Oct 05
2
spx1.1.10 speexenc compile
...st
traced them to a variable called "SPEEX_VERSION" which i think isnt defined
in speexenc but rather defined in misc.h, which wasnt one of the include
files in speexenc... should i add a line that includes misc.h in speexenc? i
tried this and got the errors down to 1. the error says that le_int was
declared twice (once in wav_io and another in misc.h) but i dont know which
declaration is correct. Uh.. i really don't know what to do so any advice
will be much appreciated.
Thanks,
Mon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/...
2004 Sep 17
1
speex on TI C5x fixed-point DSP
...l I get the rest
working, then try to pack the codebooks.
>Regarding 32 bit ints, I don't think they will be required much (except
>for the header). I don't think there is any loop in the code that goes
>past 2^15.
>
>
>
The thing that got me worried about this was the le_int() and be_int()
routines that operate on 32-bit quantities now.
Thanks for the feedback. I'll keep you posted on progress.
Jamey
2005 Oct 06
0
spx1.1.10 speexenc compile
Hi Mon,
I added 'misc.h' to the #includes in speexenc.c and commented out the
declaration of 'le_int' in 'wav_io.h'. Then, it compiles and works fine.
John
Mo Win wrote:
> Hi all,
>
> Been trying to compile speex 1.1.10's speexenc for win32 using Visual
> C++ 6.0 but came up with some errors (abt 33 of them, syntax errors). I
> just traced them to a variable ca...
2007 May 02
0
[patch] Mac Universal Binaries
...-#ifdef WORDS_BIGENDIAN
> +#ifdef __BIG_ENDIAN__
> #define le_short(s) ((short) ((unsigned short) (s) << 8) | ((unsigned short) (s) >> 8))
> #define be_short(s) ((short) (s))
> #else
> @@ -46,7 +46,7 @@
> /** Convert little endian */
> static inline spx_int32_t le_int(spx_int32_t i)
> {
> -#ifdef WORDS_BIGENDIAN
> +#ifdef __BIG_ENDIAN__
> spx_uint32_t ui, ret;
> ui = i;
> ret = ui>>24;
> Index: configure.ac
> ===================================================================
> --- configure.ac (revision 12905)
>...
2005 Sep 27
2
Speex ver 1.1.10 decoder problem
OK, that was a stupid error in the le_int prototype. It's fixed in svn
now.
Jean-Marc
Le mercredi 28 septembre 2005 ? 11:53 +1000, Jean-Marc Valin a ?crit :
> OK, it seems like I screwed up the wav header code between 1.1.8 and
> 1.1.9. Everything seems fine (playing to soundcard also works), except
> that the length report...
2007 May 02
4
[patch] Mac Universal Binaries
Hi all,
Speex currently decides endianness at configure-time. This causes the
ppc half of Mac universal binaries to have some endianness problems.
Most notably, the header built by speex_packet_to_header() has
incorrect byte-ordering.
This Apple developer page describes the incantation that can be used
to build universal binaries on Mac. It also highlights the
configure-time versus compile-time
2005 Sep 27
0
Speex ver 1.1.10 decoder problem
It's working fine now...
Thanks for your help
--- Jean-Marc Valin <Jean-Marc.Valin@USherbrooke.ca>
wrote:
> OK, that was a stupid error in the le_int prototype.
> It's fixed in svn
> now.
>
> Jean-Marc
>
> Le mercredi 28 septembre 2005 ? 11:53 +1000,
> Jean-Marc Valin a ?crit :
> > OK, it seems like I screwed up the wav header code
> between 1.1.8 and
> > 1.1.9. Everything seems fine (playing to soundca...
2008 Apr 04
0
speexdec 1.2.3
...e_size*channels;
}
}
}
}
packet_count++;
}
}
if (feof(fin))
break;
}
if (fout && wav_format)
{
if (fseek(fout,4,SEEK_SET)==0)
{
int tmp;
tmp = le_int(audio_size+36);
fwrite(&tmp,4,1,fout);
if (fseek(fout,32,SEEK_CUR)==0)
{
tmp = le_int(audio_size);
fwrite(&tmp,4,1,fout);
} else
{
fprintf (stderr, "First seek worked, second didn't\n");...
2004 Sep 16
3
speex on TI C5x fixed-point DSP
Greetings,
I've just started porting speex to a TI C5509 DSP. It doesn't look like
it's going to be too painful, but there are a couple of quirks about the
C5x.
1) chars are 16 bits because memory addresses are for 16bit words
2) ints and short are also 16 bits (so sizeof(char) = sizeof(short) =
sizeof(int) = 1)
3) the c5x is essentially big endian
My plan is to change int and
2005 Sep 27
4
Speex ver 1.1.10 decoder problem
Hi,
I just started using speex recently and I've been
having problem with Speex ver. 1.1.10 decoder. I used
Speex to encode a wav file to spx then decode it back
to wav file to see the voice quality that results from
different speex options. Somehow, I couldn't get the
original wav file back. I used both Speex ver 1.1.6
and ver 1.1.10 to both encode and decode, despite the
same output
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