Displaying 3 results from an estimated 3 matches for "speex_bits_get_number_of_frames".
2008 Feb 21
2
Determine number of 20ms frames in packet - without decoding
...idea about the best way here, and would appreciate your
> advices.
I don't think it should be a _ctl() call because there's too much
potential for confusion. I would just keep it as a separate API call
like you have. I'd tend to put it in speex_bits.h, so I guess it should
be called speex_bits_get_number_of_frames() or something like that.
>>> Sure. But in SDP you specify mode and not bitrate. ;) So I want
>>> to operate with the same things as in SDP.
>> I see. BTW, you can ask the full bit-rate to the encoder or decoder.
>> It's only the mode that give you the layer's...
2009 Jul 12
0
Determine number of 20ms frames in packet - without decoding
..., and would appreciate your
>> advices.
>
> I don't think it should be a _ctl() call because there's too much
> potential for confusion. I would just keep it as a separate API call
> like you have. I'd tend to put it in speex_bits.h, so I guess it should
> be called speex_bits_get_number_of_frames() or something like that.
>
>>>> Sure. But in SDP you specify mode and not bitrate. ;) So I want
>>>> to operate with the same things as in SDP.
>>> I see. BTW, you can ask the full bit-rate to the encoder or decoder.
>>> It's only the mode that give...
2008 Feb 19
2
Determine number of 20ms frames in packet - without decoding
Alexander Chemeris wrote:
> On 2/16/08, Jean-Marc Valin <jean-marc.valin@usherbrooke.ca> wrote:
>>> Oh, you're right, inband handling is different, but it's a matter of one
>>> flag, passed to functioin. Probably not that much to keep code DRY.
>> Well, let's first merge your code and then we'll see about possible
>> simplifications.
>