Opened 14 years ago
Closed 14 years ago
#7757 closed enhancement (fixed)
Add device selection for Windows DirectX sound output
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Audio Output | Version: | head |
Severity: | medium | Keywords: | win32 directx |
Cc: | Ticket locked: | no |
Description
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.
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.
Attachments (4)
Change History (6)
Changed 14 years ago by
Attachment: | 7757-directx_devices.patch added |
---|
Changed 14 years ago by
Attachment: | 7757-winaudio_48k.patch added |
---|
Waveout audio fix to lock SPDIF sample rate to 48k
Changed 14 years ago by
Attachment: | 7757-winaudio_48k.2.patch added |
---|
Oops, last one got CRLF mangled. Try again.
Changed 14 years ago by
Attachment: | 7757-directx_devices.2.patch added |
---|
Replaces original patch. Instead of removing the underrun detection, fix what causes the hang.
Add device selection for DirectX sound output