Skip to content

bluetooth: Check support for encoding and decoding separately

As suggested in 1:

This way it is possible for a codec to have both the encoding and decoding part optional, instead of getting both or nothing (where PA theoretically supports both).

In addition this cleans up code that was previously checking the existence of a function pointer, or nothing at all (switch_codec).

CC @SanchayanMaity

Merge request reports