Fwd: Re: [pulseaudio-discuss] Bluetooth Headset Problem Update

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

 





-------- Original Message --------
Subject: 	Re: [pulseaudio-discuss] Bluetooth Headset Problem Update
Date: 	Sun, 09 Oct 2011 08:29:28 +0300
From: 	Tanu Kaskinen <tanuk@xxxxxx>
Reply-To: General PulseAudio Discussion <pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx> To: General PulseAudio Discussion <pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx>



On Sat, 2011-10-08 at 22:09 +0200, krisztian.kocsis@xxxxxxxxxxxxx wrote:
 Hi!

 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
 point.

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.)

--
Tanu


_______________________________________________
pulseaudio-discuss mailing list
pulseaudio-discuss@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux