[mythtv-commits] Ticket #7757: Add device selection for Windows DirectX sound output

MythTV mythtv at cvs.mythtv.org
Wed Dec 16 07:29:36 UTC 2009

#7757: Add device selection for Windows DirectX sound output
 Reporter:  Jeff Lu <jll544@…>          |       Owner:  jyavenard
     Type:  enhancement                 |      Status:  new      
 Priority:  minor                       |   Milestone:  unknown  
Component:  MythTV - Audio Output       |     Version:  head     
 Severity:  medium                      |     Mlocked:  0        
 Attached patch for DirectX Sound adds the ability to specify device(s) to
 use, honoring independent pcm and passthru settings.  Useful in Vista and
 Windows 7 because they represent analog and digital outputs as separate

 Devices are configured on the usual global settings page either by name
 prefix or by number (as shown by dxdiag). E.g. "DirectX:Digital Audio" or
 "DirectX:2". If the device ID is wrong or missing, the system default
 device is used.  Only the default "Primary Sound Driver" is pre-populated
 on the settings page; it's up to the user to enter other device names.

 Other fixes:

 * Set 48k samplerate for passthru (MS requirement) - patch for winaudio
 also attached.

 * Remove semi-redundant part of underrun detection, because it sometimes
 caused audio output to hang.  The remaining timestamp-based detection
 works fine.

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

More information about the mythtv-commits mailing list