pulseaudio/src/modules/dbus
Tanu Kaskinen 6665b466d2 sink, source: remove the state getters
pa_sink_get_state() and pa_source_get_state() just return the state
variable. We can as well access the state variable directly.

There are no behaviour changes, except that module-virtual-source
accessed the main thread's sink state variable from its push() callback.
I fixed the module so that it uses the thread_info.state variable
instead. Also, the compiler started to complain about comparing a sink
state variable to a source state enum value in protocol-esound.c. The
underlying bug was that a source pointer was assigned to a variable
whose type was a sink pointer (somehow using the pa_source_get_state()
macro confused the compiler enough so that it didn't complain before).
I fixed the variable type.
2018-07-02 21:23:13 +03:00
..
iface-card-profile.c dbus: Add card profile availability info to API 2015-10-19 10:57:35 +02:00
iface-card-profile.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-card.c dbus: fix card profile change signals 2017-03-10 00:34:59 +02:00
iface-card.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-client.c dbus: Use hooks for client proplist changes 2015-04-02 16:08:00 +02:00
iface-client.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-core.c cli-command: don't exit on "module already loaded" errors 2017-09-05 13:46:27 +03:00
iface-core.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-device-port.c make availability of ports visible over dbus 2015-10-19 11:02:44 +02:00
iface-device-port.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-device.c sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
iface-device.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-memstats.c update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-memstats.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-module.c dbus: Use hooks for module proplist changes 2015-05-21 10:24:52 +02:00
iface-module.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-sample.c improve default sink/source handling 2017-05-02 16:10:19 +03:00
iface-sample.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
iface-stream.c dbus: Use state changed hook for sink-input and source-output rate changes 2015-04-02 16:09:16 +02:00
iface-stream.h update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
module-dbus-protocol.c build-sys: Stop using symdef headers for modules 2017-12-12 12:58:52 +05:30