[Speex-dev] Is SPEEX_GET_QUALITY implemented ?

Jean-Marc Valin Jean-Marc.Valin at USherbrooke.ca
Tue Jan 25 12:35:30 PST 2005


SPEEX_GET_QUALITY was never implemented and was removed in current svn.

	Jean-Marc

Le mardi 25 janvier 2005 à 12:29 +0100, rhino64 at freesurf.ch a écrit :
> Hi All,
>      Almost all my question is in the subject. I have written the
> following small program and I get an error message when I try to use
> SPEEX_GET_QUALITY. This functionality seems not to be used in speexenc.c
> or speexdec.c.
> 
> I would appreciate any hints.
> 
> best regards,
> 
> 
> Alain Aubord
> 
> ---------------------------test.c---------------------------------------
> #include <stdio.h>
> #include <stdlib.h>
> #include <speex/speex.h>
> 
> int main(int argc,char * args[]){
>   SpeexBits bits;
>   void *enc_state;
>   int Quality=9,tmp;
> 
>   speex_bits_init(&bits);
>   enc_state=speex_encoder_init(&speex_uwb_mode);
> 
>   speex_encoder_ctl(enc_state,SPEEX_SET_QUALITY,&Quality);
>   speex_encoder_ctl(enc_state,SPEEX_GET_QUALITY,&tmp);
> 
>   printf("Quality is %d\n",tmp);
> }
> 
> --------------------------------Result of program-----------------------
> tsapi:audio 151> a.out
> warning: Unknown nb_ctl request:  5
> Quality is 0
> 
> 
> _______________________________________________
> Speex-dev mailing list
> Speex-dev at xiph.org
> http://lists.xiph.org/mailman/listinfo/speex-dev

-- 
Jean-Marc Valin <Jean-Marc.Valin at USherbrooke.ca>
Universite de Sherbrooke



More information about the Speex-dev mailing list