mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
sink/source.h: Clarify set_port comment
State which thread calls set_port in which scenario. Reported-by: Jyri Sasha <oku@iki.fi> Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
parent
9e55b29c28
commit
38b24e40fc
2 changed files with 4 additions and 4 deletions
|
|
@ -211,8 +211,8 @@ struct pa_sink {
|
|||
* thread context. */
|
||||
pa_sink_cb_t update_requested_latency; /* may be NULL */
|
||||
|
||||
/* Called whenever the port shall be changed. Called from main
|
||||
* thread. */
|
||||
/* Called whenever the port shall be changed. Called from IO
|
||||
* thread if deferred volumes are enabled, and main thread otherwise. */
|
||||
int (*set_port)(pa_sink *s, pa_device_port *port); /* may be NULL */
|
||||
|
||||
/* Called to get the list of formats supported by the sink, sorted
|
||||
|
|
|
|||
|
|
@ -174,8 +174,8 @@ struct pa_source {
|
|||
* thread context. */
|
||||
pa_source_cb_t update_requested_latency; /* may be NULL */
|
||||
|
||||
/* Called whenever the port shall be changed. Called from main
|
||||
* thread. */
|
||||
/* Called whenever the port shall be changed. Called from IO
|
||||
* thread if deferred volumes are enabled, and main thread otherwise. */
|
||||
int (*set_port)(pa_source *s, pa_device_port *port); /*ditto */
|
||||
|
||||
/* Called to get the list of formats supported by the source, sorted
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue