[RFC] core: New hook: PA_CORE_HOOK_SINK_INPUT_PUT_PRE.

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

 



On Mon, 2011-08-08 at 15:46 +0300, Tanu Kaskinen wrote:
[...]
> @@ -84,6 +84,11 @@ typedef enum pa_core_hook {
>      PA_CORE_HOOK_SOURCE_PORT_CHANGED,
>      PA_CORE_HOOK_SINK_INPUT_NEW,
>      PA_CORE_HOOK_SINK_INPUT_FIXATE,
> +
> +    /* Fired from pa_sink_input_put() before doing anything else.
> +     * Call data: pointer to the pa_sink_input object. */
> +    PA_CORE_HOOK_SINK_INPUT_PUT_PRE,
> +
>      PA_CORE_HOOK_SINK_INPUT_PUT,

My only objection is over the name (I want the bikeshed painted purple
with yellow polka dots!). PA_CORE_HOOK_SINK_INPUT_PUT_START might be
clearer. Really not a big deal.

-- Arun



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

  Powered by Linux