bluez5: remove per-device codec filtering

This does not work as intended, because we no longer do a codec switch
on device connect.  It should be done in a different way, but since it's
not used for anything right now, can as well remove it.
This commit is contained in:
Pauli Virtanen 2021-03-06 14:46:57 +02:00
parent 662fd8a1f9
commit e42261c6d2
6 changed files with 10 additions and 38 deletions

View file

@ -147,7 +147,6 @@ static struct spa_bt_transport *_transport_create(struct rfcomm *rfcomm)
t->backend = backend;
t->n_channels = 1;
t->channels[0] = SPA_AUDIO_CHANNEL_MONO;
t->enabled = true;
spa_bt_transport_add_listener(t, &rfcomm->transport_listener, &transport_events, rfcomm);