[PATCH v9] pipe-source: [DRAFT] implement autosuspend behavior

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 02/22/2018 07:15 PM, Raman Shyshniou wrote:
> Currently the pipe-source will remain running even if no
> writer is connected and therefore no data is produced.
> This patch prevets this by auto-suspending source
> when all writers are disconnected.

This a draft. I applied Tanu's patch to next branch

[PATCH 6/8] pass pa_suspend_cause_t to SINK/SOURCE_SET_STATE handlers

to make it possible to track a suspend cause. So tracking part should be
rewritten when Tanu push his new patch with set_state_in_io_thread()
callbacks.

Also I temporary dropped autosuspend option and frame size keeping
code to make my code simple. I'll add them later.

--
Raman


[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux