Ticket #29 (closed enhancement: duplicate)

Opened 22 months ago

Last modified 6 months ago

use WAVERFORMATEXTENSIBLE in dsound where possible

Reported by: rossb Owned by: rossb
Priority: major Milestone: V20
Component: host-api-dsound Version: 2.0
Keywords: Cc:

Description

WAVERFORMATEXTENSIBLE provides support for >2 channels and >16 bit with DirectSound?. It should be used wherever possible/necessary with a fallback to WAVERFORMATEX if it fails. Richard Dobson has code for this. There are patches in the mailing list archive, or he should be pinged for the latest version.

Change History

Changed 12 months ago by rossb

Some progress has been made on this. PA/DSound now uses WAVEFORMATEXTENSIBLE for multichannel, and contains code (commented out, but which is almost there) for doing non-16 bit. The main work left to do is to handle renegotiation of sample format if the requested format fails (ie if 24 bit is requested, but dsound fails, we need to fall back to 16 bit).

See changesets r1268 r1258 for recent progress on this issue.

Changed 12 months ago by rossb

See also ticket #54

Changed 6 months ago by rossb

  • status changed from new to closed
  • resolution set to duplicate

retired ticket since this issue is now covered by ticket #54

Note: See TracTickets for help on using tickets.