[pulseaudio-discuss] Bluetooth Headset Problem Update
tanuk at iki.fi
Sat Oct 8 22:29:28 PDT 2011
On Sat, 2011-10-08 at 22:09 +0200, krisztian.kocsis at optimaster.eu wrote:
> The BIG difference when the output is oss and bluetooth is when
> bluetooth output is used with paplay, then paplay never receives a
> PA_COMMAND_REQUEST op, i don't know why.
> In the background PA dispatches PA_COMMAND_GET_PLAYBACK_LATENCY
> messages continuously (as seen with OSS output).
> The playback_stream_request_bytes() function is only called from
> handle_seek() and never called from sink_input_pop_cb() (which function
> is also never called)!
> The call chain is not so trivial, please help me how to find the point
> where sink_input_pop_cb() should be called and why PA cannot reach this
sink_input_pop_cb() is called when the sink requests audio from the sink
input. If the sink isn't suspended and the sink input isn't corked
(which they aren't in this case), the pop() callback should be called
very frequently. If it's not called, it means that the bluetooth sink is
not requesting any audio. So the problem is in bluez or
module-bluetooth-device. The pulseaudio log doesn't contain any error
messages, so I don't have any more clues for what might be wrong. (I
didn't spot any errors in the bluez log either, but I'm not experienced
in interpreting the bluez logs.)
More information about the pulseaudio-discuss