'Twas brillig, and Tanu Kaskinen at 08/08/11 14:46 did gyre and gimble: > Would the following patch (and a similar one for source > outputs) be accepted for 1.1 or 2.0 even if there were no > (in-tree) users for the new hooks? > > I'm writing code to Harmattan's policy module that would set > the PA_SINK_INPUT_START_CORKED flag for phone streams if > they appear before the routing and mixer settings are ready > for the call. I can't use (at least conveniently) the > existing hooks, because _NEW and _FIXATE are fired before > the pa_sink_input object is created, so I don't have the > pointer or index available to be stored for the time when > the streams need to be uncorked. The _PUT hook is fired too > late. Seems reasonable in my book. Col -- Colin Guthrie gmane(at)colin.guthr.ie http://colin.guthr.ie/ Day Job: Tribalogic Limited [http://www.tribalogic.net/] Open Source: Mageia Contributor [http://www.mageia.org/] PulseAudio Hacker [http://www.pulseaudio.org/] Trac Hacker [http://trac.edgewall.org/]