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

MythTV mythtv at cvs.mythtv.org
Sun Oct 7 22:49:43 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 paul at paulcatchpole.co.uk):

 Right, it seems [and it didn't use to be like this!] that if I list my -v
 flags as general,important,audio I only get important and audio. Putting
 the general at the end means I get the  "VERBOSE(VB_GENERAL,
 QString("Opening ALSA audio device '%1'.")            .arg(real_device));"
 from audiooutputalsa.cpp.

 This results in the following, which seems to show it opening the surround
 device, then opening the softvol. Odd!

 I'm guessing that audio_channels holds the target stream's number of
 channels which should be 6 in this case. In which case, the
 real_device.mid(index+1) should return the surround51m. This doesn't seem
 to be the case though, as the "Opening Audio device" line shows the
 combined entry.

 Does this mean that whatever decides whether a device is ALSA or not is
 deciding that the combined device name of ALSA:softvol|surround51 isn't
 actually an ALSA device?

 2007-10-07 23:38:17.349 AFD: Opened codec 0x83d98f0, id(AC3) type(Audio)
 2007-10-07 23:38:17.349 AFD: Audio Track #3 is A/V stream #3 and has 0
 channels in the Unknown language(0).
 2007-10-07 23:38:17.349 AFD: Initializing audio parms from audio track #1
 2007-10-07 23:38:17.349 AFD: Audio format changed
                         from id( AC3)     0Hz  0ch   0bps    ; id( AC3)
 0Hz  0ch   0bps
                         to   id( AC3) 48000Hz  6ch  16bps    ; id( AC3)
 48000Hz  2ch  16bps
 2007-10-07 23:38:17.352 AO: Killing AudioOutputDSP
 2007-10-07 23:38:17.352 Opening audio device 'softvol|surround51m'. ch 2
 sr 48000
 2007-10-07 23:38:17.352 Opening ALSA audio device 'softvol'.
 2007-10-07 23:38:17.370 in SetParameters(format=2, channels=2, rate=48000,
 buffer_time=100000, period_time=25000)

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


More information about the mythtv-commits mailing list