[mythtv-commits] Ticket #10396: Periodical, short audio artifacts in one the channels when upmixing to 5.1

MythTV noreply at mythtv.org
Thu Mar 15 05:21:54 UTC 2012


#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):

 I'm actually thinking of doing it the following way:

 make the audiobuffer 32 bytes bigger than what it currently is. Then stop
 using the constant kAudioRingBufferSize to determine the length of the
 buffer, instead use a dynamic variable.
 When doing a reset, the length of the audio buffer would actually be
 changed so the length between raud (which is now the new waud) and
 kAudioRingBufferSize is now a modulo of bpf.
 That way there is no thread/locking issue, and we will always be able to
 fit everything to the end of the buffer.

 Doing so would actually remove the requirement of having such a big audio
 buffer, simply because it needs to be a multiple of all the possible bpf
 values

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10396#comment:34>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list