mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-25 01:40:32 -05:00
bluetooth: Create pa_bluetooth_adapter for BlueZ 5 support
This commit is contained in:
parent
19a23cef10
commit
546da17cbe
2 changed files with 41 additions and 0 deletions
|
|
@ -24,12 +24,19 @@
|
|||
|
||||
#include <pulsecore/core.h>
|
||||
|
||||
typedef struct pa_bluetooth_adapter pa_bluetooth_adapter;
|
||||
typedef struct pa_bluetooth_discovery pa_bluetooth_discovery;
|
||||
|
||||
typedef enum pa_bluetooth_hook {
|
||||
PA_BLUETOOTH_HOOK_MAX
|
||||
} pa_bluetooth_hook_t;
|
||||
|
||||
struct pa_bluetooth_adapter {
|
||||
pa_bluetooth_discovery *discovery;
|
||||
char *path;
|
||||
char *address;
|
||||
};
|
||||
|
||||
pa_hook* pa_bluetooth_discovery_hook(pa_bluetooth_discovery *y, pa_bluetooth_hook_t hook);
|
||||
|
||||
pa_bluetooth_discovery* pa_bluetooth_discovery_get(pa_core *core);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue