[Speex-dev] Speex Questions <./Configure %install make [-enable-fixed-point] setting> and Encoding Times etc...

Jean-Marc Valin jean-marc.valin at usherbrooke.ca
Thu Sep 20 00:45:12 PDT 2007


> .\speexenc.c(501) : warning C4013: 'GetTickCount' undefined; assuming
extern

I don't know where 'GetTickCount' comes from, but it's not my code.
Looks like it's a problem with your compiler and/or what you changed in
speexenc.c. Can't help with that.

	Jean-Marc

ywkim wrote:
> Hi, Speex-dev
> 
>  
> 
> I've been able to get Speex to compile on SM400M(MIPSII) with problems.
> 
>  
> 
> ------ Rebuild All started: Project: speexenc, Configuration: Debug SM400M
> (MIPSII) ------
> 
> Deleting intermediate and output files for project 'speexenc', configuration
> 'Debug|SM400M (MIPSII)'
> 
> Compiling...
> 
> getopt.c
> 
> getopt1.c
> 
> skeleton.c
> 
> speexenc.c
> 
> .\speexenc.c(501) : warning C4013: 'GetTickCount' undefined; assuming extern
> returning int
> 
> .\speexenc.c(251) : warning C4101: 'c' : unreferenced local variable
> 
> wav_io.c
> 
> wave_out.c
> 
> .\wave_out.c(64) : warning C4133: 'function' : incompatible types - from
> 'const char *' to 'LPCWSTR'
> 
> .\wave_out.c(64) : warning C4133: 'function' : incompatible types - from
> 'char [31]' to 'LPCWSTR'
> 
> install
> 
> c1 : fatal error C1083: Cannot open source file: 'install': No such file or
> directory
> 
> make
> 
> c1 : fatal error C1083: Cannot open source file: 'make': No such file or
> directory
> 
> %
> 
> c1 : fatal error C1083: Cannot open source file: '%': No such file or
> directory
> 
> make
> 
> c1 : fatal error C1083: Cannot open source file: 'make': No such file or
> directory
> 
> %
> 
> c1 : fatal error C1083: Cannot open source file: '%': No such file or
> directory
> 
> [-enable-fixed-point]
> 
> c1 : fatal error C1083: Cannot open source file: '[-enable-fixed-point]': No
> such file or directory
> 
> configure
> 
> c1 : fatal error C1083: Cannot open source file: './configure': No such file
> or directory
> 
> %
> 
> c1 : fatal error C1083: Cannot open source file: '%': No such file or
> directory
> 
>  
> 
> -      Speex-manual.pdf  ???
> 
> 3. Compiling
> 
> Compiling Speex under UNIX/Linux or any other platform supported by autoconf
> (e.g. Win32/cygwin) is as easy as typing:
> 
> % ./configure [options]
> 
> % make
> 
> % make install  
> 
>  
> 
> <-- I don't understand 
> 
>  
> 
> My Platform are WinXP Sp 2 , Visual Studio 2005 , libogg-1.1.3 and
> speex-1.2beta2 
> 
>  
> 
> Next Question 
> 
>  
> 
> Speexenc.exe -n ( 1.wav (8bit Mono 4.15MB 4:32sec File ) -> 1.spx (521k) 
> 
> Encoding Complete!
> 
> But 
> 
> dwStart = GetTickCount();
> 
> speex_bits_init(&bits);
> 
> enc_state = speex_encoder_init(&speex_nb_mode);
> 
> .. 
> 
> speex_bits_reset(&bits);
> 
> speex_encode_int(enc_state, input_frame, &bits);
> 
> nbBytes = speex_bits_write(&bits, byte_ptr, MAX_NB_BYTES);
> 
> ..
> 
> speex_bits_destroy(&bits);
> 
> speex_encoder_destroy(enc_state);
> 
> ..
> 
> dwEnd = GetTickCount();
> 
> dwTime = dwEnd - dwStart;
> 
>  
> 
> fprintf (stderr, "Speex Decoding TotalTime is : %d  sec     ",
> (dwTime/1000)); 
> 
> --------------------------------------
> 
> | Speex Decoding TotalTime is : 900~ 1050 sec |
> 
>  
> 
> Why Encoding Time is long? About 16~17 minutes 
> 
>  
> 
> Please Ask me Question ^^
> 
>  
> 
> Have a nice day
> 
>  
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev


More information about the Speex-dev mailing list