mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-03 09:01:54 -05:00
source: add method to mark a source idle or busy
Marking a source idle will start an idle timeout to suspend the source.
This commit is contained in:
parent
04eca27890
commit
12301b6ef1
2 changed files with 53 additions and 0 deletions
|
|
@ -87,6 +87,9 @@ GBytes * pinos_source_get_formats (PinosSource *source, G
|
|||
gboolean pinos_source_set_state (PinosSource *source, PinosSourceState state);
|
||||
void pinos_source_update_state (PinosSource *source, PinosSourceState state);
|
||||
void pinos_source_report_error (PinosSource *source, GError *error);
|
||||
void pinos_source_report_idle (PinosSource *source);
|
||||
void pinos_source_report_busy (PinosSource *source);
|
||||
|
||||
void pinos_source_update_possible_formats (PinosSource *source, GBytes *formats);
|
||||
|
||||
PinosSourceOutput * pinos_source_create_source_output (PinosSource *source,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue