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
|
|
@ -826,6 +826,7 @@ libpulsecore_@PA_MAJORMINOR@_la_SOURCES = \
|
|||
pulsecore/shared.c pulsecore/shared.h \
|
||||
pulsecore/sink-input.c pulsecore/sink-input.h \
|
||||
pulsecore/sink.c pulsecore/sink.h \
|
||||
pulsecore/device-port.c pulsecore/device-port.h \
|
||||
pulsecore/sioman.c pulsecore/sioman.h \
|
||||
pulsecore/sound-file-stream.c pulsecore/sound-file-stream.h \
|
||||
pulsecore/sound-file.c pulsecore/sound-file.h \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue