[pulseaudio-discuss] How to check audio sample data to a bluetooth sink?

Arun Raghavan arun.raghavan at collabora.co.uk
Thu Jun 2 00:35:13 PDT 2011

On Mon, 2011-05-30 at 20:19 +0300, Tanu Kaskinen wrote:
> On Mon, 2011-05-30 at 23:10 +0800, Lin, Mengdong wrote:
> > Now I suspect the resampling is problematic, how to check the data from a single input stream before resampling?
> There are no ready-made tools for that. If you want to hack the code,
> then you can write something in the function sink_input_pop_cb() in
> protocol-native.c. That function is called whenever a sink wants more
> data from a sink input (if the sink input is created by the native
> protocol, that is - other sink inputs have implementations elsewhere,
> but GTalk probably is a native protocol client unless you're doing
> something crazy).

I've got Vincent Becker's patches on my to-review list forever. I've yet
to see the actual implementation, but being able to insert probes into
arbitrary points along the data flow path is clearly something we
need. :)

-- Arun

More information about the pulseaudio-discuss mailing list