mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-03 09:01:50 -05:00
Turn device ports into reference counted objects
Since both cards and sinks can hold references to a port, it makes sense to reference count them. Although no current implementation actually has sinks with ports but without a card, it felt wrong to make it harder to make such an implementation in the future. Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
961ec210a6
commit
d9685ec85d
7 changed files with 138 additions and 69 deletions
|
|
@ -43,6 +43,7 @@ typedef struct pa_source_volume_change pa_source_volume_change;
|
|||
#include <pulsecore/msgobject.h>
|
||||
#include <pulsecore/rtpoll.h>
|
||||
#include <pulsecore/card.h>
|
||||
#include <pulsecore/device-port.h>
|
||||
#include <pulsecore/queue.h>
|
||||
#include <pulsecore/thread-mq.h>
|
||||
#include <pulsecore/source-output.h>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue