pulseaudio/src
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
..
daemon Use upstream gettext instead intltool 2018-06-21 06:28:59 +05:30
modules sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
pulse mainloop: constify is_our_api api ref 2018-06-29 15:09:32 +03:00
pulsecore sink, source: remove the state getters 2018-07-02 21:23:13 +03:00
tests core: Expose API to elevate a thread to realtime priority 2018-06-21 06:29:32 +05:30
utils build-sys: First pass at a meson-ified build system 2018-06-21 05:50:29 +05:30
.gitignore .gitignore: add module-gsettings related things 2018-04-19 14:31:12 +03:00
depmod.py update FSF addresses to FSF web page 2015-01-14 22:20:40 +02:00
Makefile.am Use upstream gettext instead intltool 2018-06-21 06:28:59 +05:30
map-file map-file: Fix typo while adding pa_thread_make_realtime 2018-06-21 06:30:03 +05:30
meson.build build-sys: First pass at a meson-ified build system 2018-06-21 05:50:29 +05:30