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

MythTV mythtv at cvs.mythtv.org
Sun Oct 7 23:17:03 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):

 The next slightly odd thing, to my useless coding mind, is this:

     VERBOSE(VB_GENERAL, QString("Opening audio device '%1'. ch %2 sr %3")
 .arg(audio_main_device).arg(audio_channels).arg(audio_samplerate));

     // Actually do the device specific open call
     if (!OpenDevice())
     {
         VERBOSE(VB_AUDIO, LOC_ERR + "Aborting reconfigure");
         pthread_mutex_unlock(&avsync_lock);
         pthread_mutex_unlock(&audio_buflock);
         if (GetError().isEmpty())
             Error("Aborting reconfigure");
         VERBOSE(VB_AUDIO, "Aborting reconfigure");
         return;
     }

     SyncVolume();

     VERBOSE(VB_AUDIO, LOC + QString("Audio fragment size: %1")
             .arg(fragment_size));


 I see the first verbose log call as it claims to be trying to open the
 "ALSA:softvol|surround51m" device.

 I don't see either of the "Aborting reconfigure" or the "Audio fragment"
 log messages - at all, as you can see from the above log.

 I've checked back, and on previous SVN [from March], unpatched for multi-
 channel, I do get the fragment messages.

 It looks like the call to open the device is getting lost somewhere -
 althought that doesn't explain why I don't get the first Aborting
 reconfigure message.

 I think I've probably got to the limit of my usefulness now!

 Any ideas?

 PC

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


More information about the mythtv-commits mailing list