Issue #2067 has been updated by dillon.

Assignee deleted (0)

There are multiple problems here not the least of which being that a timeout of 
1 tick is too low anyway, because it can wind up happening 1ns later (the next 
tick interrupt).  So the minimum is 2 and the calculation also needs to 
average-up fractional results.  I will commit a fix which calculates it 
properly.

-Matt

----------------------------------------
Bug #2067: sound/pcm: "play interrupt timeout, channel dead"
http://bugs.dragonflybsd.org/issues/2067#change-12333

* Author: matthiasr
* Status: New
* Priority: Normal
* Assignee: 
* Category: Driver
* Target version: 3.8.0
----------------------------------------
this fixes a "pcm0:virtual:0:dsp0.2: play interrupt timeout, channel dead" 
error 
and sound breaking off after a few seconds of playback I encountered on my 
Thinkpad X40. It was discussed on freebsd-current in 2004[1] but that code is 
no 
longer present in FreeBSD while we still have it.

The patch[2] removes a line fixing a channel timeout to 1 tick instead of the 
value calculated immediately beforehand, thus restoring the calculation.

[1] http://lists.freebsd.org/pipermail/freebsd-current/2004-
September/036805.html
[2] 
http://gitweb.dragonflybsd.org/~matthiasr/dragonfly.git/commitdiff/4d3f6d0ed3435
46cbd7c8cfeaf0cce3f449122b6



-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://bugs.dragonflybsd.org/my/account

Reply via email to