|
|
62effa |
From a62e41eae2e94868558f2621d3e90381fa646efa Mon Sep 17 00:00:00 2001
|
|
|
62effa |
From: Wim Taymans <wtaymans@redhat.com>
|
|
|
62effa |
Date: Fri, 7 Feb 2020 17:05:17 +0100
|
|
|
62effa |
Subject: [PATCH] build and link a2dp-codecs.c as well
|
|
|
62effa |
|
|
|
62effa |
---
|
|
|
62effa |
spa/plugins/bluez5/a2dp-codecs.h | 8 ++++----
|
|
|
62effa |
spa/plugins/bluez5/meson.build | 3 ++-
|
|
|
62effa |
2 files changed, 6 insertions(+), 5 deletions(-)
|
|
|
62effa |
|
|
|
62effa |
diff --git a/spa/plugins/bluez5/a2dp-codecs.h b/spa/plugins/bluez5/a2dp-codecs.h
|
|
|
62effa |
index 9c061d6a..969cd141 100644
|
|
|
62effa |
--- a/spa/plugins/bluez5/a2dp-codecs.h
|
|
|
62effa |
+++ b/spa/plugins/bluez5/a2dp-codecs.h
|
|
|
62effa |
@@ -284,15 +284,15 @@ static inline int a2dp_sbc_get_frequency(a2dp_sbc_t *config)
|
|
|
62effa |
}
|
|
|
62effa |
}
|
|
|
62effa |
|
|
|
62effa |
-const a2dp_sbc_t bluez_a2dp_sbc;
|
|
|
62effa |
+extern const a2dp_sbc_t bluez_a2dp_sbc;
|
|
|
62effa |
#if ENABLE_MP3
|
|
|
62effa |
-const a2dp_mpeg_t bluez_a2dp_mpeg;
|
|
|
62effa |
+extern const a2dp_mpeg_t bluez_a2dp_mpeg;
|
|
|
62effa |
#endif
|
|
|
62effa |
#if ENABLE_AAC
|
|
|
62effa |
-const a2dp_aac_t bluez_a2dp_aac;
|
|
|
62effa |
+extern const a2dp_aac_t bluez_a2dp_aac;
|
|
|
62effa |
#endif
|
|
|
62effa |
#if ENABLE_APTX
|
|
|
62effa |
-const a2dp_aptx_t bluez_a2dp_aptx;
|
|
|
62effa |
+extern const a2dp_aptx_t bluez_a2dp_aptx;
|
|
|
62effa |
#endif
|
|
|
62effa |
|
|
|
62effa |
#endif
|
|
|
62effa |
diff --git a/spa/plugins/bluez5/meson.build b/spa/plugins/bluez5/meson.build
|
|
|
62effa |
index 15890238..1eab8632 100644
|
|
|
62effa |
--- a/spa/plugins/bluez5/meson.build
|
|
|
62effa |
+++ b/spa/plugins/bluez5/meson.build
|
|
|
62effa |
@@ -1,7 +1,8 @@
|
|
|
62effa |
|
|
|
62effa |
bluez5_sources = ['plugin.c',
|
|
|
62effa |
'a2dp-sink.c',
|
|
|
62effa |
- 'bluez5-monitor.c']
|
|
|
62effa |
+ 'a2dp-codecs.c',
|
|
|
62effa |
+ 'bluez5-monitor.c']
|
|
|
62effa |
|
|
|
62effa |
bluez5lib = shared_library('spa-bluez5',
|
|
|
62effa |
bluez5_sources,
|
|
|
62effa |
--
|
|
|
62effa |
2.24.1
|
|
|
62effa |
|