Re: [Bluez-devel] audio problems with a2play

Brad Midgley
2004-11-23T14:20:12Z

Henryk,

>>Are these backwards then?
>
> Most of them are, with the notable exception of the allocation_method.

I changed how the sbc_info values are translated into sbc_elements and I
think we're getting the right values now:

s_config.sbc_elements.channel_mode = 8 >> sbc_info.channel_mode;
s_config.sbc_elements.frequency = 8 >> sbc_info.sampling_frequency;
s_config.sbc_elements.allocation_method =
1 << sbc_info.allocation_method;
s_config.sbc_elements.subbands = 2 >> sbc_info.subbands;
s_config.sbc_elements.block_length = 8 >> sbc_info.blocks;

Brad