dsound: PrimarySetFormat patch,
dsound does not properly support audio > 2 channel - try 2
Chris Robinson
chris.kcat at gmail.com
Mon Apr 30 13:29:07 CDT 2007
On Monday 30 April 2007 04:15:41 am Dylan Taft wrote:
> + if (wfex->nChannels > 2) {
> + FIXME("Currently only supports 2 channels, returning
> DSERR_BADFORMAT. (requested channels=%d)\n",wfex->nChannels);
> + return DSERR_BADFORMAT;
> + }
The function is not supposed to fail if it's trying to set an unsupported
format with a priority level of DSSCL_PRIORITY. It should instead just set
the closest possible.
The function *should*, however, fail like that if using the DSSCL_WRITEPRIMARY
priority level.
More information about the wine-devel
mailing list