Re: dsound: PrimarySetFormat patch, dsound does not properly support audio > 2 channel - try 2
30 Apr
2007
30 Apr
'07
6:29 p.m.
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.
6804
Age (days ago)
6804
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Robinson