]> code.delx.au - pulseaudio/commit
reserve: Move get_name_owner() to the public rd_device API
authorMikel Astiz <mikel.astiz@bmw-carit.de>
Wed, 30 Jan 2013 08:30:30 +0000 (09:30 +0100)
committerTanu Kaskinen <tanuk@iki.fi>
Thu, 31 Jan 2013 11:56:25 +0000 (13:56 +0200)
commitcb0f3d287857d5385f4a879f8ab565d71bc8f068
tree8ce979cf3d5c6ada0c17c3f39891bd89e0cf9a94
parent849161f0865d5a264de3b0073112bb3238e7022c
reserve: Move get_name_owner() to the public rd_device API

The function is interesting for both rd_device and rd_monitor so make
it part of the rd_device public API to avoid duplicated code.

The decision to move the function to reserve.c is motivated by the fact
that other projects (i.e. jack) use reserve.c only. Therefore, adding a
reserve->reserve-monitor dependency should be avoided.
src/modules/reserve-monitor.c
src/modules/reserve.c
src/modules/reserve.h