summaryrefslogtreecommitdiffstats
path: root/src/modules/bluetooth/bluetooth-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-03-19 18:05:26 +0100
committerLennart Poettering <lennart@poettering.net>2009-03-19 18:05:26 +0100
commitdd4000671808df746a3fd29090aad8cf939cf512 (patch)
tree985dd0f9c481065d95ad82a58609e156caffeb0d /src/modules/bluetooth/bluetooth-util.c
parent3762299bebb74c370aac8fb9392c358b79d88444 (diff)
document things that need to be fixed with FIXME
Diffstat (limited to 'src/modules/bluetooth/bluetooth-util.c')
-rw-r--r--src/modules/bluetooth/bluetooth-util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/bluetooth/bluetooth-util.c b/src/modules/bluetooth/bluetooth-util.c
index 912697e6..ccc8bee3 100644
--- a/src/modules/bluetooth/bluetooth-util.c
+++ b/src/modules/bluetooth/bluetooth-util.c
@@ -114,6 +114,8 @@ void pa_bluetooth_device_free(pa_bluetooth_device *d) {
static pa_bool_t device_is_loaded(pa_bluetooth_device *d) {
pa_assert(d);
+ /* FIXME: e83621724d7939b97b4f01f0d7e965d61ef8e55e, f1daa282f030e4e2381341e0f65faca47c4b891b is borked, probably needs to be reversed */
+
return d->device_info_valid && (d->audio_sink_info_valid || d->headset_info_valid);
}
@@ -123,6 +125,8 @@ static pa_bool_t device_is_audio(pa_bluetooth_device *d) {
pa_assert(d->device_info_valid);
pa_assert(d->audio_sink_info_valid || d->headset_info_valid);
+ /* FIXME: e83621724d7939b97b4f01f0d7e965d61ef8e55e, f1daa282f030e4e2381341e0f65faca47c4b891b is borked, probably needs to be reversed */
+
return d->device_info_valid > 0 &&
(d->audio_sink_info_valid > 0 || d->headset_info_valid > 0);
}