mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-05 13:29:57 -05:00
add new api function pa_cli_get_module()
This commit is contained in:
parent
5042284d45
commit
0a2fced2ee
2 changed files with 9 additions and 1 deletions
|
|
@ -151,3 +151,9 @@ void pa_cli_set_eof_callback(pa_cli *c, pa_cli_eof_cb_t cb, void *userdata) {
|
|||
c->eof_callback = cb;
|
||||
c->userdata = userdata;
|
||||
}
|
||||
|
||||
pa_module *pa_cli_get_module(pa_cli *c) {
|
||||
pa_assert(c);
|
||||
|
||||
return c->client->module;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue