[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-06-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #37 from paco3...@gmail.com ---
OMG. You are my favorite people ever.

I can confirm that this path fixes _all_ of my out of sync issues. I run a 2015
MBP on which the bluetooth and Wifi share the same antenna. When running on a
2.4Ghz network I have little blips when there's interference but the audio
doesn't get out of sync.

Also, my connection issues are gone. Previously I'd need to re-pair the headset
nearly every time otherwise the connection would close almost immediately.

Furthermore- HFP/HSP _finally_ works!! I can actually use my mic now! This is
just the best day.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

Georg Chini  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #36 from Georg Chini  ---
Thank you all for testing. The patch is in master now and will be part of the
12.0 release. I will (finally, after five and a half years) close this bug.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-04-25 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #35 from garis  ---
(In reply to Georg Chini from comment #31)
> Created attachment 138573 [details]
> patch: rewrite of thread function
> 
> Could you test this updated patch? There have been a few changes due to
> review and I want to make sure that it still works.

Thank you very much for the patch!

I also was having loss of audio sync. This patch solved the problem.

Occasionaly will still delay the audio, but before the delay was something like
3-4 seconds, now the worst case that I have seen so far is a couple tens of
milliseconds (very small and ok for music and films).

Tested on Arch linux, patch applied to the latest version of Pulseaudio on
github (last commit Apr 19, 2018), zero problems applying the patch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-04-06 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #34 from Amaury Pouly  ---
(In reply to Georg Chini from comment #31)
> Created attachment 138573 [details]
> patch: rewrite of thread function
> 
> Could you test this updated patch? There have been a few changes due to
> review and I want to make sure that it still works.

I have tried this patch (applied against pulseaudio 11.1 in Debian unstable, it
applies with fuzz but works) and I saw a great improvement! My bluetooth chip
is very susceptible to interferences, it was common for me to have a few
seconds of delays. With this patch, the delay stays small at all times. The
fact that it drops samples more aggressively was not noticeable for me because
on drop out the speaker just stops anyway. I did not get any warning in the
log, just debug messages about skipping.

Thank you for your work, I hope it will make it to mainline.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #33 from Georg Chini  ---
Perfect. Thanks a lot for your tests.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-04-05 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #32 from Johannes Larsen  ---
(In reply to Georg Chini from comment #31)
> Could you test this updated patch?

Sure, I have applied the new patch to b1d74c86, and it seems to work as well as
the previous patch. Also, I have yet to see any warning messages in the system
log.

I had the previous patch running since the start of march and I did not notice
any new problems. I will be running with the new patch from now on, and I will
report if I notice any further problems.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-04-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

Georg Chini  changed:

   What|Removed |Added

 Attachment #137779|0   |1
is obsolete||

--- Comment #31 from Georg Chini  ---
Created attachment 138573
  --> https://bugs.freedesktop.org/attachment.cgi?id=138573=edit
patch: rewrite of thread function

Could you test this updated patch? There have been a few changes due to review
and I want to make sure that it still works.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-03-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #30 from Johannes Larsen  ---
(In reply to Georg Chini from comment #29)
> Thanks again for testing. Sounds good. 

You are welcome. Thanks for making bluetooth audio usable in linux.

> Regarding those broken kernel messages, do you only get them once in a while 
> or still annoyingly often?

I seem to only get them when there are intermittent signal problems, so it is
not annoyingly often.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-03-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #29 from Georg Chini  ---
Thanks again for testing. Sounds good. Regarding those broken kernel messages,
do you only get them once in a while or still annoyingly often? It is just a
warning message, so if it's annoying I could drop it completely.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-03-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #28 from Johannes Larsen  ---
(In reply to Georg Chini from comment #27)
> Could you give the updated patch a try?

I tried the new patch. With it I do not get any aborts. Additionally I am
getting way fewer of these messages:

  [bluetooth][modules/bluetooth/module-bluez5-device.c:1464 write_block()]
Broken kernel: we got EAGAIN on write() after POLLOUT!
(libpulsecommon-11.0.so(+0x414e7)
[0x7f6f7492b4e7]<

[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-03-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

Georg Chini  changed:

   What|Removed |Added

 Attachment #137477|0   |1
is obsolete||

--- Comment #27 from Georg Chini  ---
Created attachment 137779
  --> https://bugs.freedesktop.org/attachment.cgi?id=137779=edit
patch: rewrite of thread function

I think I figured out what went wrong. Could you give the updated patch a try?
If it still causes problems, please send a log as requested earlier.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-03-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #26 from Georg Chini  ---
Thanks for testing. I can not reproduce your problems here with both of my
headsets using current master. Can you please send a full log from the moment
you press the connect button on your BT device, so that I can see what happens?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-03-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #24 from Georg Chini  ---
Nobody willing to test?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-02-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

Georg Chini  changed:

   What|Removed |Added

 Attachment #137440|0   |1
is obsolete||

--- Comment #23 from Georg Chini  ---
Created attachment 137477
  --> https://bugs.freedesktop.org/attachment.cgi?id=137477=edit
patch: rewrite of thread function

Sorry, I had other patches in my tree, so the posted patch would not apply
cleanly to current master. Here an updated version.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #22 from Georg Chini  ---
Created attachment 137440
  --> https://bugs.freedesktop.org/attachment.cgi?id=137440=edit
patch: rewrite of thread function

Could you try if the attached patch fixes your issues?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-02-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #21 from Tanu Kaskinen  ---
(In reply to Vincent Petry from comment #20)
> So are you saying that getting you a new machine (or a working setup) is
> also a possible approach ? :-D

I suppose so :) Now that I think about it, I have another machine that I could
and should try first, so don't send me stuff yet!

I have more urgent things to work on first, though, so I don't expect progress
on this in the near future.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #19 from Tanu Kaskinen  ---
(In reply to Vincent Petry from comment #18)
> Any guidance what we could do to help get the patch merged or an alternative
> fix developed ? Would testing the patch be enough or needs more research ?

See comment #10, I think the comment answers all your questions. If you can't
improve the patch yourself or find someone else to do it, I don't think there's
anything you can do.

> Or can the maintainers not reproduce the issue yet ?

Speaking only for myself here: bluetooth works so badly on my machine that
testing anything is a huge pain, if possible at all. For that reason I don't
work much on bluetooth issues (and there's no shortage of other work).

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2018-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #17 from philipp+freedesk...@haselwarter.org ---
This bug is extremely annoying during calls, when resetting the audio profile
(as suggested as workaround by several people) can disrupt the call / cause
feedback. How has this been open for over 5 years?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2017-10-12 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

Tanu Kaskinen  changed:

   What|Removed |Added

 CC||j...@machado-family.com

--- Comment #16 from Tanu Kaskinen  ---
*** Bug 102989 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2017-07-02 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #15 from Andrew McClure  ---
I have used a version of a workaround -- though not adopting the code below,
instead having an auto resetting of the headset mode which is a work around. 

For the Pulseaudio developers -- I think the code that is causing this issue
are around or between lines 1421 and 1503 of the below github code page for:
module-bluez4-device.c

pulseaudio/src/modules/bluetooth/module-bluez5-device.c

https://github.com/pulseaudio/pulseaudio/blob/2417305ae755cbb3a92ca43a058f550809069cd9/src/modules/bluetooth/module-bluez5-device.c


The work around in the code seems to be about using a timer a to sync
everything back up when a disruption occurs -- but either the timer is not
working as intended, or the thresholds for the re-syncing process need to be
considered. 



This is what I can gather but am interpreting as best I can. 

This is a common topic in troubleshooting boards for Bluetooth on linux
distros.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2017-01-16 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #14 from paco3...@gmail.com ---
(In reply to Dmitry Kalyanov from comment #8)
> Created attachment 125291 [details] [review]
> Proof-of-concept patch
> 
> I've solved this issue for myself - I've been using pulseaudio with my
> changes for several months now with no major problems.
> 
> I've noticed that every time signal degrades audio gets more out of sync -
> up to about 10-15 seconds (if I remember correctly).
> 
> I've debugged bluez5 pulseaudio module and suspect that the problem lies in
> buffering for bluetooth socket. Here's my analysis:
> 
> 1) Pulseaudio detects BT signal drop when write() on bluetooth socket
> returns EAGAIN (i.e., when the buffer is full).
> 2) Bluetooth socket buffer is quite big (by default)
> 3) When pulseaudio stops sending audio packets to BT socket the buffer still
> contains a lot of packets
> 4) pulseaudio considers those packets as successfully sent - but they aren't
> 5) BT connection seems to never be able to "catch up" with the amount of
> buffered packets and audio becomes out-of-sync.
> 
> So here's my patch. The main change is to decrease the buffer size as much
> as possible. I've experimented and found out that settings buffer size to
> 2x-5x of packet size works best for me. This ensures that audio lag won't
> accumulate after BT signal degradation while preventing audio skipping due
> to buffer underruns. Audio still may skip (sometimes several times in a row)
> - but without the lag after BT signal restores.
> 
> Unfortunately with this patch bluetooth microphone (headset profile) won't
> work - since I don't use one and couldn't test it. I hope that someone would
> be able to pick it up and make into a form that would be possible to merge
> in master branch.
> 
> The changes are contained in attached path on github:
> https://github.com/dmitryvk/pulseaudio/commit/
> 12b13c75d3a9b377e0f7de7c86116e3af41ce5ee. Patch was developed against
> Pulseaudio-8.0 but it works with Pulseaudio-9.0.

Genius! I understand the problems with this patch but for now it's music to my
ears (pun intended). Using on Arch with Pulseaudio 9.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-10-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

Tanu Kaskinen  changed:

   What|Removed |Added

 CC||bugs.freedesktop@mailinator
   ||.com

--- Comment #12 from Tanu Kaskinen  ---
*** Bug 95411 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #10 from Tanu Kaskinen  ---
I have taken a look, but as the submitter himself says, it's not ready for
merging. Someone needs to improve the patch so that it doesn't break stuff. I'm
not volunteering to do that myself (at least any time soon). The general idea
of reducing the socket buffer size seems good.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-09-11 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

tep...@iki.fi changed:

   What|Removed |Added

 CC||tep...@iki.fi

--- Comment #9 from tep...@iki.fi ---
Could someone please look at the attached patch. This bug is super annoying and
essentially makes it impossible to use a Bluetooth headset to watch movies.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-07-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

Dmitry Kalyanov  changed:

   What|Removed |Added

 CC||kalyanov.dmi...@gmail.com

--- Comment #8 from Dmitry Kalyanov  ---
Created attachment 125291
  --> https://bugs.freedesktop.org/attachment.cgi?id=125291=edit
Proof-of-concept patch

I've solved this issue for myself - I've been using pulseaudio with my changes
for several months now with no major problems.

I've noticed that every time signal degrades audio gets more out of sync - up
to about 10-15 seconds (if I remember correctly).

I've debugged bluez5 pulseaudio module and suspect that the problem lies in
buffering for bluetooth socket. Here's my analysis:

1) Pulseaudio detects BT signal drop when write() on bluetooth socket returns
EAGAIN (i.e., when the buffer is full).
2) Bluetooth socket buffer is quite big (by default)
3) When pulseaudio stops sending audio packets to BT socket the buffer still
contains a lot of packets
4) pulseaudio considers those packets as successfully sent - but they aren't
5) BT connection seems to never be able to "catch up" with the amount of
buffered packets and audio becomes out-of-sync.

So here's my patch. The main change is to decrease the buffer size as much as
possible. I've experimented and found out that settings buffer size to 2x-5x of
packet size works best for me. This ensures that audio lag won't accumulate
after BT signal degradation while preventing audio skipping due to buffer
underruns. Audio still may skip (sometimes several times in a row) - but
without the lag after BT signal restores.

Unfortunately with this patch bluetooth microphone (headset profile) won't work
- since I don't use one and couldn't test it. I hope that someone would be able
to pick it up and make into a form that would be possible to merge in master
branch.

The changes are contained in attached path on github:
https://github.com/dmitryvk/pulseaudio/commit/12b13c75d3a9b377e0f7de7c86116e3af41ce5ee.
Patch was developed against Pulseaudio-8.0 but it works with Pulseaudio-9.0.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-06-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #6 from S.  ---
(In reply to Arun Raghavan from comment #5)
> I've tried to reproduce this behaviour in the past, but it doesn't always
> happen this way (but I have seen the delays turn up on drops at times). If
> someone has a patch that definitely works (or a way to repro that is 100%
> reliable), I can try to look at this.

I have about 6 different cheap Chinese bluetooth speakers, and they all exhibit
this behavior. They all use the A2DP protocol, are you possibly seeing
different behavior with HSP/HFP?

--- Comment #7 from Sam Morris  ---
I can reproduce this easily by running 'speaker-test -c2 -t wav' and then
walking away from my computer with my headphones on until the signal strength
drops sufficiently that the headphones go silent. Then, when I walk back to the
computer, the audio is wy out of sync, and pulseaudio has issued the
'skipping' message many times.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-05-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #5 from Arun Raghavan  ---
I've tried to reproduce this behaviour in the past, but it doesn't always
happen this way (but I have seen the delays turn up on drops at times). If
someone has a patch that definitely works (or a way to repro that is 100%
reliable), I can try to look at this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-05-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

--- Comment #4 from S.  ---
(In reply to xenith from comment #3)
> Shouldn't the buffer reset after detecting a skip event?

This would seem to be the most logical thing. The way it is now, even stopping
and re-starting the audio stream doesn't fix the latency issue if there has
ever been a brief blip in the current Bluetooth connection. Quite a showstopper
for watching video with bluetooth speakers/headphones.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs


[pulseaudio-tickets] [Bug 58746] bluetooth audio out of sync when connection temporarily drops

2016-02-13 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=58746

xen...@overtmind.com changed:

   What|Removed |Added

   Priority|medium  |high

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs