[pulseaudio-discuss] [RFC] core: New hook: PA_CORE_HOOK_SINK_INPUT_PUT_PRE.
Arun Raghavan
arun.raghavan at collabora.co.uk
Thu Aug 11 23:32:57 PDT 2011
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
More information about the pulseaudio-discuss
mailing list