mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
bluetooth: Remove deprecated transport hooks
All code has migrated to the new centralized hooks listed in pa_bluetooth_hook_t so the old transport-specific hooks can be removed.
This commit is contained in:
parent
7c2465d5f9
commit
abcb741299
2 changed files with 0 additions and 21 deletions
|
|
@ -79,13 +79,6 @@ typedef enum pa_bluetooth_hook {
|
|||
PA_BLUETOOTH_HOOK_MAX
|
||||
} pa_bluetooth_hook_t;
|
||||
|
||||
/* Hook data: pa_bluetooth_transport pointer. */
|
||||
typedef enum pa_bluetooth_transport_hook {
|
||||
PA_BLUETOOTH_TRANSPORT_HOOK_NREC_CHANGED, /* Call data: NULL. */
|
||||
PA_BLUETOOTH_TRANSPORT_HOOK_REMOVED, /* Call data: NULL. */
|
||||
PA_BLUETOOTH_TRANSPORT_HOOK_MAX
|
||||
} pa_bluetooth_transport_hook_t;
|
||||
|
||||
typedef enum pa_bluetooth_transport_state {
|
||||
PA_BLUETOOTH_TRANSPORT_STATE_DISCONNECTED,
|
||||
PA_BLUETOOTH_TRANSPORT_STATE_IDLE, /* Connected but not playing */
|
||||
|
|
@ -103,8 +96,6 @@ struct pa_bluetooth_transport {
|
|||
|
||||
pa_bluetooth_transport_state_t state;
|
||||
pa_bool_t nrec;
|
||||
|
||||
pa_hook hooks[PA_BLUETOOTH_TRANSPORT_HOOK_MAX];
|
||||
};
|
||||
|
||||
/* This enum is shared among Audio, Headset, AudioSink, and AudioSource, although not all values are acceptable in all profiles */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue