<div class="gmail_quote">2010/1/5 pl bossart <span dir="ltr">&lt;<a href="mailto:bossart.nospam@gmail.com">bossart.nospam@gmail.com</a>&gt;</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">&gt;&gt;&gt; &gt; So, my question is: Does pulseaudio&#39;s SBC implementation support<br>
&gt;&gt;&gt; &gt; dynamically<br>
&gt;&gt;&gt; &gt; changing bit rates and frame lengths? If so, how and where?<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; No, we don&#39;t support this right now.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; We probably should though. Please file a bug in the BTS so that we<br>
&gt;&gt;&gt; don&#39;t forget about this. Even better: prepare a patch ;-)<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Thanks for the info. I&#39;ll certainly file a bug report. And, I might actually<br>
&gt;&gt; try to prepare a patch, although I might need some help ;-)<br>
&gt;&gt;<br>
&gt;<br>
&gt; The current SBC implementation we have is just a copy of bluez&#39;s<br>
&gt; 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&#39;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&#39;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>