[mythtv-commits] Ticket #5498: ALSA getSpaceOnSoundcard mixing frames and bytes

MythTV mythtv at cvs.mythtv.org
Thu Jul 3 03:50:23 UTC 2008


#5498: ALSA getSpaceOnSoundcard mixing frames and bytes
----------------------------------------------------------+-----------------
 Reporter:  David Asher <david.asher at caviumnetworks.com>  |       Owner:  ijr    
     Type:  defect                                        |      Status:  new    
 Priority:  minor                                         |   Milestone:  unknown
Component:  mythtv                                        |     Version:  unknown
 Severity:  medium                                        |     Mlocked:  0      
----------------------------------------------------------+-----------------
 I'm using release-0-21-fixes, so that's what the patch is against.

 This is a minor issue, since I think it will only matter in an error case,
 but the return value of snd_pcm_avail_update() (which is in frames) is
 being compared to soundcard_buffer_size (which is in bytes).  The attached
 patch is untested (my current system is not set up to compile mythtv).

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/5498>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list