search for: speex_get_quality

Displaying 11 results from an estimated 11 matches for "speex_get_quality".

2005 Feb 27
2
SPEEX_GET_QUALITY
...l/speex-1.1.6/libspeex/nb_celp.c 2004-07-15 01:16:52.000000000 -0400 +++ libspeex/nb_celp.c 2005-02-27 08:24:49.000000000 -0500 @@ -1746,6 +1746,21 @@ st->submodeSelect = st->submodeID = ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]; } break; + case SPEEX_GET_QUALITY: + { + int quality; + + for(quality=0;quality <=10; quality++) + if (st->submodeID == ((SpeexNBMode*)(st->mode->mode))->quality_map[quality]) break; + + if (quality>10) { + (*(int*)ptr) = -1; + speex_warning("quality not set"); + return -1; +...
2005 Jan 25
1
Is SPEEX_GET_QUALITY implemented ?
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(in...
2004 Aug 06
1
SPEEX_GET_QUALITY error
I am embedding speex in boost python when i execute int TSpeexEncoder::getQuality() { int Quality; speex_encoder_ctl(enc_state,SPEEX_GET_QUALITY,&Quality); return Quality; } i get the error warning: Unknown nb_ctl request: 5 looking in the header SPEEX_GET_QUALITY is equal to 5 I am able to read all the other settings. the codec appears to be set with VBR=0 I am using windowsxp with MSVC++6 possibly I am not reading the d...
2005 Feb 27
0
SPEEX_GET_QUALITY
Hi Maitland, I think your solution is probably the best implementation you could do for SPEEX_GET_QUALITY. However, unless you have something against that, I think removing it would be better, as in many cases (e.g. VBR), the call just doesn't make sense). This would of course break the API (not the ABI), but given the fact that it was never implemented, any app that uses it is already broken anywa...
2004 Aug 06
0
SPEEX_GET_QUALITY not working?
> 1) I was interested in fetching the default quality setting > fornarrowband: > speex_encoder_ctl(_encodeState, SPEEX_GET_QUALITY, &value); > > Unfortunately, the above fails with libspeex 1.1.4. The console > shows: > > warning: Unknown nb_ctl request: 5 Actually, I never implemented SPEEX_GET_QUALITY. It's not that usefule anyway, but I might do it in the future. > 2) Let's say I wish to...
2004 Sep 10
0
SPEEX_GET_QUALITY not implemented.
I am using Speex 1.0.4. I was very confused about why speex_encoder_ctl with SPEEX_GET_QUALITY *always* failed, until I read <http://lists.xiph.org/pipermail/speex-dev/2003-September/001896.html> from a whole year ago! Can SPEEX_GET_QUALITY be removed from speex.h and from the documentation (or actually implemented, whichever is easier :) Best! Reed
2004 Aug 06
2
SPEEX_GET_QUALITY not working?
...has been very easy and I am thrilled with the capabilities and flexibility of Speex, especially the new features in 1.1. My efforts so far have resulted in a couple of questions: 1) I was interested in fetching the default quality setting for narrowband: speex_encoder_ctl(_encodeState, SPEEX_GET_QUALITY, &value); Unfortunately, the above fails with libspeex 1.1.4. The console shows: warning: Unknown nb_ctl request: 5 There was a report of this issue back in September with a reply indicating that this was fixed, but I'm still seeing the problem as of this version. Not a big...
2005 Feb 27
1
SPEEX_GET_QUALITY
On Sun, Feb 27, 2005 at 06:09:48PM -0500, Jean-Marc Valin wrote: > Hi Maitland, > > I think your solution is probably the best implementation you could do > for SPEEX_GET_QUALITY. However, unless you have something against that, > I think removing it would be better, as in many cases (e.g. VBR), the > call just doesn't make sense). This would of course break the API (not > the ABI), but given the fact that it was never implemented, any app that > uses it is...
2004 Sep 13
0
Compile flags for sampleenc sampledec.
...x produces a different .bits file than the version made with make. Also, when compiled with gcc, the decoded output is garbled. This makes me think there is a flag I am missing. 4) test_wb output 16-bit PCM file seems about 1K shorter than the original PCM file. Not sure if this is relevant. 5) SPEEX_GET_QUALITY does not appear to work for the decoder though documentation lists no limitation. (This has just been mentioned since I joined the group). 6) SPEEX_GET_SAMPLING_RATE does not work well for the encoder in wideband mode 7) The first bit is documented as the 'Wideband' bit, but in the packe...
2004 Sep 15
0
Problems with sampleenc and sampledec
...rk fine, though I notice that compile with gcc testenc.c -lspeex produces a different .bits file than the version made with make. This makes me think there is a flag I am missing. 4) test_wb output 16-bit PCM file seems about 1K shorter than the original PCM file. Not sure if this is relevant. 5) SPEEX_GET_QUALITY does not appear to work for the decoder though documentation lists no limitation. 6) SPEEX_GET_SAMPLING_RATE does not work well for the encoder in wideband mode 7) The first bit is documented as the 'Wideband' bit, but in the packets I have looked at, this never seems to get set in testenc_...
2004 Aug 06
3
Decoding raw problem on OS X with 1.03
On Mar 29, 2004, at 5:05 PM, Jean-Marc Valin wrote: > Can you try manually swapping the bytes on the raw output and see if > you > get something useful (I think by default wav is always little endian > while raw is native endian)? Well, my apologies. Apparently I got confused when trying all the different formats and somehow skipped little endian. The decoded raw file is in