
noreply at mythtv
Mar 14, 2012, 9:58 PM
Post #33 of 38
(209 views)
Permalink
|
|
Re: Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1
[In reply to]
|
|
#10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1 ------------------------------------------+-------------------------------- Reporter: blazej.lewcio@… | Owner: jyavenard Type: Bug Report - General | Status: infoneeded_new Priority: minor | Milestone: unknown Component: MythTV - Audio Output | Version: Unspecified Severity: medium | Resolution: Keywords: upmixing | Ticket locked: 0 ------------------------------------------+-------------------------------- Comment (by jyavenard): Mark, after looking further into this, while setting raud = 0 would reduce the issue from occurring, it doesn't guarantee that it won't happen. Plus there's the issue that due to a race condition with the write audio thread that raud wouldn't be set to 0 anyway (in the log above, you can clearly see that it's precisely what's occurring, actually_paused is set to 1 after Reset has been called). So the main issue is that all the data written prior calling the AC3 encoder do not exactly fit into the ringbuffer and everything would get shifted.. I don't know how we could fix this without either changing on the fly the length of the ringbuffer (and then you have threading issues), or by using a separate buffer for performing the upmixing... -- Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:32> MythTV <http://code.mythtv.org/trac> MythTV Media Center _______________________________________________ mythtv-commits mailing list mythtv-commits [at] mythtv http://www.mythtv.org/mailman/listinfo/mythtv-commits
|