<feed xmlns='http://www.w3.org/2005/Atom'>
<title>sbc, branch 2.0</title>
<subtitle>Bluetooth low-complexity, subband codec (SBC) library (mirror git.kernel.org)</subtitle>
<id>https://code.mastervirt.ru/sbc/atom?h=2.0</id>
<link rel='self' href='https://code.mastervirt.ru/sbc/atom?h=2.0'/>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/'/>
<updated>2022-06-20T16:20:13Z</updated>
<entry>
<title>Release 2.0</title>
<updated>2022-06-20T16:20:13Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2022-06-20T16:20:13Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=8dc5d5ba381512ad5b1afa45c63ec6b0a3833244'/>
<id>urn:sha1:8dc5d5ba381512ad5b1afa45c63ec6b0a3833244</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Update library revision number</title>
<updated>2022-06-20T16:19:46Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2022-06-20T16:19:46Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=eafca3c6b9cac98896d4d54923b5a420a2bde11d'/>
<id>urn:sha1:eafca3c6b9cac98896d4d54923b5a420a2bde11d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Update to support Libtool &gt;= 2.2</title>
<updated>2022-06-20T16:13:19Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2022-06-20T16:13:19Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=08d5df2b60d47532b7dfba1a91714a3fa20dd4a1'/>
<id>urn:sha1:08d5df2b60d47532b7dfba1a91714a3fa20dd4a1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Switch to using tar.xz packaging</title>
<updated>2022-06-20T16:07:56Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2022-06-20T16:07:56Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=9f2e1916b6f28db3a263697f2dabb3c1a0f04ad6'/>
<id>urn:sha1:9f2e1916b6f28db3a263697f2dabb3c1a0f04ad6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>build: Update to support Autoconf &gt;= 2.69</title>
<updated>2022-06-20T15:58:46Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2022-06-20T15:58:46Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=b12ae44620303fcc234151cb84ee0eb474a3b2b3'/>
<id>urn:sha1:b12ae44620303fcc234151cb84ee0eb474a3b2b3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sbcenc: Fix build warnings</title>
<updated>2022-06-16T19:25:01Z</updated>
<author>
<name>Luiz Augusto von Dentz</name>
<email>luiz.von.dentz@intel.com</email>
</author>
<published>2022-06-16T19:25:01Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=13d85b14cd56e8ee78fc40ef712175d9bf8c58f7'/>
<id>urn:sha1:13d85b14cd56e8ee78fc40ef712175d9bf8c58f7</id>
<content type='text'>
This fixes the following warnings:

In file included from /usr/include/stdio.h:894,
         from src/sbcenc.c:30:
In function ‘fprintf’,
  inlined from ‘encode’ at src/sbcenc.c:160:3,
  inlined from ‘main’ at src/sbcenc.c:329:3:
/usr/include/bits/stdio2.h:105:10: error: ‘srate’ may be
used uninitialized [-Werror=maybe-uninitialized]
 105 |  return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
   |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 106 |             __va_arg_pack ());
   |             ~~~~~~~~~~~~~~~~~
src/sbcenc.c: In function ‘main’:
src/sbcenc.c:54:23: note: ‘srate’ was declared here
  54 |     int fd, size, srate, codesize, nframes;
   |            ^~~~~
cc1: all warnings being treated as errors
</content>
</entry>
<entry>
<title>sbc_primitives: Fix build on non-x86.</title>
<updated>2020-12-22T21:14:22Z</updated>
<author>
<name>Marius Bakke</name>
<email>marius@gnu.org</email>
</author>
<published>2020-12-22T11:04:26Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=909a9bdf7ab143e1f0baaf9736baebd3cd79aacf'/>
<id>urn:sha1:909a9bdf7ab143e1f0baaf9736baebd3cd79aacf</id>
<content type='text'>
Don't call __builtin_cpu_init unless targeting i386 or x86_64.
Otherwise we get an error at link time:

  CC       sbc/sbc_primitives.lo
sbc/sbc_primitives.c: In function ‘sbc_init_primitives_x86’:
sbc/sbc_primitives.c:596:2: warning: implicit declaration of function ‘__builtin_cpu_init’; did you mean ‘__builtin_irint’? [-Wimplicit-function-declaration]
[...]
  CCLD     src/sbcdec
ld: sbc/.libs/libsbc-private.a(sbc_primitives.o): in function `sbc_init_primitives':
sbc_primitives.c:(.text+0x3a30): undefined reference to `__builtin_cpu_init'
</content>
</entry>
<entry>
<title>Release 1.5</title>
<updated>2020-12-07T22:24:36Z</updated>
<author>
<name>Marcel Holtmann</name>
<email>marcel@holtmann.org</email>
</author>
<published>2020-12-07T22:24:36Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=b2c20a3ecf5ed00f63c94077a9762b505935ede9'/>
<id>urn:sha1:b2c20a3ecf5ed00f63c94077a9762b505935ede9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sbc_primitives: Fix build on non-x86 arch</title>
<updated>2020-12-03T21:57:59Z</updated>
<author>
<name>Luiz Augusto von Dentz</name>
<email>luiz.von.dentz@intel.com</email>
</author>
<published>2020-12-03T21:29:47Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=76f4d931d237517c443dd793390ed7d73b12746e'/>
<id>urn:sha1:76f4d931d237517c443dd793390ed7d73b12746e</id>
<content type='text'>
Check if SBC_BUILD_WITH_MMX_SUPPORT is defined otherwise
sbc_init_primitives_mmx will not be declared and
_builtin_cpu_supports(“mmx”)) likely fail:

CC    sbc/sbc_primitives.lo
sbc/sbc_primitives.c: In function ‘sbc_init_primitives_x86’:
sbc/sbc_primitives.c:599:3: warning: implicit declaration of function
‘sbc_init_primitives_mmx’; did you mean ‘sbc_init_primitives_x86’?
[-Wimplicit-function-declaration]
 599 |  sbc_init_primitives_mmx(state);
   |  ^~~~~~~~~~~~~~~~~~~~~~~
   |  sbc_init_primitives_x86
sbc/sbc_primitives.c: In function ‘sbc_init_primitives’:
sbc/sbc_primitives.c:598:6: error: hwcap ‘mmx’ is an invalid argument to
builtin ‘__builtin_cpu_supports’
 598 | if (__builtin_cpu_supports(“mmx”))
   |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [Makefile:711: sbc/sbc_primitives.lo] Error 1
make: *** [Makefile:453: all] Error 2
</content>
</entry>
<entry>
<title>sbc: Add sbc_reinit_msbc</title>
<updated>2020-12-03T13:25:06Z</updated>
<author>
<name>Pali Rohár</name>
<email>pali@kernel.org</email>
</author>
<published>2020-11-23T00:01:57Z</published>
<link rel='alternate' type='text/html' href='https://code.mastervirt.ru/sbc/commit/?id=10310fb983b0fced7db7bdb2d14ec03c252f8a88'/>
<id>urn:sha1:10310fb983b0fced7db7bdb2d14ec03c252f8a88</id>
<content type='text'>
This adds a new API function sbc_reinit_msbc. Like sbc_reinit or
sbc_reinit_a2dp but for msbc.
</content>
</entry>
</feed>
