Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 706680
Collapse All | Expand All

(-)a/src/bluealsa-iface.h (-3 / +3 lines)
Lines 32-39 Link Here
32
#define BLUEALSA_RFCOMM_MODE_HSP_AG "HSP-AG"
32
#define BLUEALSA_RFCOMM_MODE_HSP_AG "HSP-AG"
33
#define BLUEALSA_RFCOMM_MODE_HSP_HS "HSP-HS"
33
#define BLUEALSA_RFCOMM_MODE_HSP_HS "HSP-HS"
34
34
35
const GDBusInterfaceInfo bluealsa_iface_manager;
35
extern const GDBusInterfaceInfo bluealsa_iface_manager;
36
const GDBusInterfaceInfo bluealsa_iface_pcm;
36
extern const GDBusInterfaceInfo bluealsa_iface_pcm;
37
const GDBusInterfaceInfo bluealsa_iface_rfcomm;
37
extern const GDBusInterfaceInfo bluealsa_iface_rfcomm;
38
38
39
#endif
39
#endif
(-)a/src/bluez-a2dp.h (-2 / +2 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * BlueALSA - bluez-a2dp.h
2
 * BlueALSA - bluez-a2dp.h
3
 * Copyright (c) 2016-2019 Arkadiusz Bokowy
3
 * Copyright (c) 2016-2020 Arkadiusz Bokowy
4
 *
4
 *
5
 * This file is a part of bluez-alsa.
5
 * This file is a part of bluez-alsa.
6
 *
6
 *
Lines 58-63 struct bluez_a2dp_codec { Link Here
58
};
58
};
59
59
60
/* NULL-terminated list of available A2DP codecs */
60
/* NULL-terminated list of available A2DP codecs */
61
const struct bluez_a2dp_codec **bluez_a2dp_codecs;
61
extern const struct bluez_a2dp_codec **bluez_a2dp_codecs;
62
62
63
#endif
63
#endif
(-)a/src/bluez-iface.h (-3 / +3 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * BlueALSA - bluez-iface.h
2
 * BlueALSA - bluez-iface.h
3
 * Copyright (c) 2016-2019 Arkadiusz Bokowy
3
 * Copyright (c) 2016-2020 Arkadiusz Bokowy
4
 *
4
 *
5
 * This file is a part of bluez-alsa.
5
 * This file is a part of bluez-alsa.
6
 *
6
 *
Lines 27-33 Link Here
27
#define BLUEZ_TRANSPORT_STATE_PENDING "pending"
27
#define BLUEZ_TRANSPORT_STATE_PENDING "pending"
28
#define BLUEZ_TRANSPORT_STATE_ACTIVE  "active"
28
#define BLUEZ_TRANSPORT_STATE_ACTIVE  "active"
29
29
30
const GDBusInterfaceInfo bluez_iface_endpoint;
30
extern const GDBusInterfaceInfo bluez_iface_endpoint;
31
const GDBusInterfaceInfo bluez_iface_profile;
31
extern const GDBusInterfaceInfo bluez_iface_profile;
32
32
33
#endif
33
#endif
(-)a/src/ofono-iface.h (-2 / +2 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * BlueALSA - ofono-iface.h
2
 * BlueALSA - ofono-iface.h
3
 * Copyright (c) 2016-2019 Arkadiusz Bokowy
3
 * Copyright (c) 2016-2020 Arkadiusz Bokowy
4
 *               2018 Thierry Bultel
4
 *               2018 Thierry Bultel
5
 *
5
 *
6
 * This file is a part of bluez-alsa.
6
 * This file is a part of bluez-alsa.
Lines 27-32 Link Here
27
#define OFONO_AUDIO_CODEC_CVSD 0x01
27
#define OFONO_AUDIO_CODEC_CVSD 0x01
28
#define OFONO_AUDIO_CODEC_MSBC 0x02
28
#define OFONO_AUDIO_CODEC_MSBC 0x02
29
29
30
const GDBusInterfaceInfo ofono_iface_hf_audio_agent;
30
extern const GDBusInterfaceInfo ofono_iface_hf_audio_agent;
31
31
32
#endif
32
#endif
(-)a/test/server-mock.c (+1 lines)
Lines 36-41 Link Here
36
#include "../src/ba-adapter.c"
36
#include "../src/ba-adapter.c"
37
#include "../src/ba-device.c"
37
#include "../src/ba-device.c"
38
#include "../src/ba-transport.c"
38
#include "../src/ba-transport.c"
39
#include "../src/bluez-a2dp.c"
39
#include "../src/hci.c"
40
#include "../src/hci.c"
40
#include "../src/msbc.c"
41
#include "../src/msbc.c"
41
#include "../src/rfcomm.c"
42
#include "../src/rfcomm.c"
(-)a/test/test-ba.c (+1 lines)
Lines 22-27 Link Here
22
#include "../src/utils.c"
22
#include "../src/utils.c"
23
#include "../src/shared/log.c"
23
#include "../src/shared/log.c"
24
24
25
const struct bluez_a2dp_codec **bluez_a2dp_codecs = NULL;
25
int a2dp_thread_create(struct ba_transport *t) { (void)t; return 0; }
26
int a2dp_thread_create(struct ba_transport *t) { (void)t; return 0; }
26
void *rfcomm_thread(struct ba_transport *t) { (void)t; return 0; }
27
void *rfcomm_thread(struct ba_transport *t) { (void)t; return 0; }
27
void *sco_thread(struct ba_transport *t) { (void)t; return 0; }
28
void *sco_thread(struct ba_transport *t) { (void)t; return 0; }
(-)a/test/test-io.c (+1 lines)
Lines 33-38 Link Here
33
#include "../src/shared/log.c"
33
#include "../src/shared/log.c"
34
#include "../src/shared/rt.c"
34
#include "../src/shared/rt.c"
35
35
36
const struct bluez_a2dp_codec **bluez_a2dp_codecs = NULL;
36
unsigned int bluealsa_dbus_pcm_register(struct ba_transport *t, GError **error) {
37
unsigned int bluealsa_dbus_pcm_register(struct ba_transport *t, GError **error) {
37
	debug("%s: %p", __func__, (void *)t); (void)error; return 0; }
38
	debug("%s: %p", __func__, (void *)t); (void)error; return 0; }
38
void bluealsa_dbus_pcm_update(struct ba_transport *t, unsigned int mask) {
39
void bluealsa_dbus_pcm_update(struct ba_transport *t, unsigned int mask) {
(-)a/test/test-rfcomm.c (-1 / +1 lines)
Lines 34-39 static pthread_mutex_t transport_codec_updated_mtx = PTHREAD_MUTEX_INITIALIZER; Link Here
34
static pthread_cond_t transport_codec_updated = PTHREAD_COND_INITIALIZER;
34
static pthread_cond_t transport_codec_updated = PTHREAD_COND_INITIALIZER;
35
static unsigned int transport_codec_updated_cnt = 0;
35
static unsigned int transport_codec_updated_cnt = 0;
36
36
37
const struct bluez_a2dp_codec **bluez_a2dp_codecs = NULL;
37
unsigned int bluealsa_dbus_pcm_register(struct ba_transport *t, GError **error) {
38
unsigned int bluealsa_dbus_pcm_register(struct ba_transport *t, GError **error) {
38
	debug("%s: %p", __func__, (void *)t); (void)error; return 0; }
39
	debug("%s: %p", __func__, (void *)t); (void)error; return 0; }
39
void bluealsa_dbus_pcm_update(struct ba_transport *t, unsigned int mask) {
40
void bluealsa_dbus_pcm_update(struct ba_transport *t, unsigned int mask) {
40
- 

Return to bug 706680