[Bug 1115277] [NEW] waitcondition timeout too long for short samples
Harald Sitter
sitter.harald at gmail.com
Mon Feb 4 14:38:55 UTC 2013
Public bug reported:
[Impact]
pairs uses *one* mediaobject to play multiple sounds from a qbuffer. To achieve sane results it only calls setCurrentSource iff the mediaobject is not in playing state. Iff it is in playing state a one-source-queue is maintained, so that only the most recent sound would be played after the present one.
Assuming on second length of the sound what happens is that phonon starts playing, then immediately gets the callback to queue a new track. It emits the queued signal and locks for 3 seconds. So, for a period of <=4 && >=3 seconds the MO is in playing state but not actually playing anything.
During this period pairs will enqueue tracks but they will not be played. This ultimately results in sounds being dropped.
This is resolved by using a dynamic timeout rather than a fixed seconds
amount. The timeout now depends on how much time is remaining in the
present playback thus prevent the pipeline to be locked for longer than
what it has buffers to play.
[Test Case]
Play pairs.
[Regression Potential]
None.
** Affects: phonon-backend-gstreamer (Ubuntu)
Importance: Medium
Assignee: Harald Sitter (apachelogger)
Status: Fix Committed
** Affects: phonon-backend-gstreamer (Ubuntu Precise)
Importance: Medium
Assignee: Harald Sitter (apachelogger)
Status: Triaged
** Affects: phonon-backend-gstreamer (Ubuntu Quantal)
Importance: Medium
Assignee: Harald Sitter (apachelogger)
Status: Triaged
** Affects: phonon-backend-gstreamer (Ubuntu Raring)
Importance: Medium
Assignee: Harald Sitter (apachelogger)
Status: Fix Committed
** Also affects: phonon-backend-gstreamer (Ubuntu Precise)
Importance: Undecided
Status: New
** Also affects: phonon-backend-gstreamer (Ubuntu Quantal)
Importance: Undecided
Status: New
** Also affects: phonon-backend-gstreamer (Ubuntu Raring)
Importance: Medium
Assignee: Harald Sitter (apachelogger)
Status: Fix Committed
** Changed in: phonon-backend-gstreamer (Ubuntu Quantal)
Status: New => Incomplete
** Changed in: phonon-backend-gstreamer (Ubuntu Quantal)
Status: Incomplete => Triaged
** Changed in: phonon-backend-gstreamer (Ubuntu Precise)
Status: New => Triaged
** Changed in: phonon-backend-gstreamer (Ubuntu Quantal)
Importance: Undecided => Medium
** Changed in: phonon-backend-gstreamer (Ubuntu Precise)
Importance: Undecided => Medium
** Changed in: phonon-backend-gstreamer (Ubuntu Precise)
Assignee: (unassigned) => Harald Sitter (apachelogger)
** Changed in: phonon-backend-gstreamer (Ubuntu Quantal)
Assignee: (unassigned) => Harald Sitter (apachelogger)
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to phonon-backend-gstreamer in Ubuntu.
https://bugs.launchpad.net/bugs/1115277
Title:
waitcondition timeout too long for short samples
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/phonon-backend-gstreamer/+bug/1115277/+subscriptions
More information about the kubuntu-bugs
mailing list