[pulseaudio-discuss] Does SBC support dynamically changing bit rates and frame lengths?

pl bossart bossart.nospam at gmail.com
Tue Jan 5 06:24:01 PST 2010


>>> > So, my question is: Does pulseaudio's SBC implementation support
>>> > dynamically
>>> > changing bit rates and frame lengths? If so, how and where?
>>>
>>> No, we don't support this right now.
>>>
>>> We probably should though. Please file a bug in the BTS so that we
>>> don't forget about this. Even better: prepare a patch ;-)
>>>
>>
>> Thanks for the info. I'll certainly file a bug report. And, I might actually
>> try to prepare a patch, although I might need some help ;-)
>>
>
> The current SBC implementation we have is just a copy of bluez's
> implementation, so you should bring this up on the linux-bluetooth ML.

The bitpool parameter can in theory be changed at each frame, however
the block size and number of subbands need to say fixed (there's a
history buffer).
So yes you can change the bitrate/bitpool but you cannot modify the
size of the PCM provided as input to the encoder.
- Pierre



More information about the pulseaudio-discuss mailing list