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

MythTV mythtv at cvs.mythtv.org
Sat Dec 30 17:11:05 UTC 2006


#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:      
-------------------------+--------------------------------------------------
Comment (by anonymous):

 Replying to [comment:28 anonymous]:
 > Replying to [comment:18 l-case at gmx.net]:
 > > i get a compile error with this patch actual svn and gcc 4.1
 > > audiooutputbase.cpp:38: error: extra qualification ‘DigitalEncoder::’
 on member ‘Init’
 >
 > I'm getting the same error.  I tried it with two versions of myth.
 First was 0.20, and just now mythtv-0.20-svn20061209 (from debian's
 unstable branch).  For those familiar with debian, I'm using "apt-get
 build-dep mythtv", then "apt-get source mythtv".  It's downloaded and
 unpacked.  I then go to that directory and "patch -p0 <
 mythtv_ac3.19.patch".  I get one one error about one hunk; can't remember
 exact one. I then "debian/rules install".  Then I get the above error
 listed by the previous user.  Seems I may be missing a lib or something???
 Any help is appreciate.


 Okay, here's the problem/solution to this error.  Apparently gcc 4.1 now
 throws errors at extra qualifications, which is when "a declaration within
 a class explicitly puts the class name before the declaration". In line 38
 of outputaudiobase.cpp change " bool DigitalEncoder::Init(CodecID
 codec_id, int bitrate, int samplerate, int channels);" to " bool
 Init(CodecID codec_id, int bitrate, int samplerate, int channels);"

 It then should compile with myth 0.20

-- 
Ticket URL: <http://cvs.mythtv.org/trac/ticket/1104#comment:29>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list