bluetooth: Don't abort on SBC decoding error
authorJames Bunton <jamesbunton@delx.net.au>
Sun, 26 Jan 2014 14:14:38 +0000 (01:14 +1100)
committerTanu Kaskinen <tanuk@iki.fi>
Mon, 3 Mar 2014 16:06:21 +0000 (18:06 +0200)
commit4a5f48e7a42f997793db76e2001b7c252f8d93fe
treea3974c9fb60d3aec1a8d2d579c3fc4a4be973dc6
parentf46799579f438125b695dced4edf8bca05cbe90a
bluetooth: Don't abort on SBC decoding error

The Nokia E7 running Symbian Belle Refresh seems to generate invalid SBC
packets every few minutes. This causes pulseaudio to disconnect the
stream and log "SBC decoding error (-3)".

If a single packet is bad, pulseaudio should keep playing the stream.
src/modules/bluetooth/module-bluez4-device.c
src/modules/bluetooth/module-bluez5-device.c