[mythtv-commits] Ticket #1104: multi channel audio support

MythTV mythtv at cvs.mythtv.org
Sat Oct 13 22:18:00 UTC 2007


#1104: multi channel audio support
-------------------------+--------------------------------------------------
 Reporter:  Mark Spieth  |        Owner:  ijr 
     Type:  enhancement  |       Status:  new 
 Priority:  minor        |    Milestone:  0.21
Component:  mythtv       |      Version:  head
 Severity:  medium       |   Resolution:      
  Mlocked:  0            |  
-------------------------+--------------------------------------------------

Comment(by Tyson Harding <tharding at cs.utah.edu>):

 I got this all working using patch 29, and a small change.

 I couldn't get this to play DVDs with "Extra Audio Buffering" enabled. Six
 channel audio would not work, the frontend would get stuck in a loop with
 a black screen. The logs showed
 {{{
 [ac3 @ 0xb7330ba8] buffer 192000 too small
 }}}
 printed repeatedly and the frontend would not respond.
 I was able to fix the problem by either turning off "Extra Audio
 Buffering", or changing the AVCODEC_MAX_AUDIO_FRAME_SIZE value from 192000
 to 384000, so now avcodec.h has
 {{{
 #define AVCODEC_MAX_AUDIO_FRAME_SIZE 384000 // 2 second of 48khz 32bit
 audio
 }}}

 This seems to make sense since six audio channels will require more buffer
 space than two. The fix works, but I don't know what other impacts this
 change has.

 Thanks for a great patch.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/1104#comment:49>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list