<div class="gmail_quote">2010/1/5 pl bossart <span dir="ltr"><<a href="mailto:bossart.nospam@gmail.com">bossart.nospam@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">>>> > So, my question is: Does pulseaudio's SBC implementation support<br>
>>> > dynamically<br>
>>> > changing bit rates and frame lengths? If so, how and where?<br>
>>><br>
>>> No, we don't support this right now.<br>
>>><br>
>>> We probably should though. Please file a bug in the BTS so that we<br>
>>> don't forget about this. Even better: prepare a patch ;-)<br>
>>><br>
>><br>
>> Thanks for the info. I'll certainly file a bug report. And, I might actually<br>
>> try to prepare a patch, although I might need some help ;-)<br>
>><br>
><br>
> The current SBC implementation we have is just a copy of bluez's<br>
> implementation, so you should bring this up on the linux-bluetooth ML.<br></div></blockquote><div><br>Thanks, Joao. I have noticed the code duplication already and will also take this up with the Bluez guys.<br> </div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">
</div>The bitpool parameter can in theory be changed at each frame, however<br>
the block size and number of subbands need to say fixed (there's a<br>
history buffer).<br>
So yes you can change the bitrate/bitpool but you cannot modify the<br>
size of the PCM provided as input to the encoder.<br>
- Pierre<br></blockquote><div><br> Pierre, what do you mean by the size of the PCM? Do you mean the frame length? If so, I am confused, because the frame length explicitly depends on the bitpool parameter. So, the frame length will change. <br>
<br>Moreover, I think that's the whole idea of an adaptive encoding. SBC encoding masks sounds that are not audible to the human ear because they are overshadowed by other sounds. Depending on how much the encoder can mask the frame will be smaller or bigger. My understanding might be wrong. So, please correct me.<br>
<br>Thanks,<br>Burkhard<br><br><br></div></div>