mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
reinstated -wavonly - by disabling dsound when used.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1691 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
80df004c4d
commit
cbea9f9a9e
1 changed files with 3 additions and 0 deletions
|
@ -518,6 +518,9 @@ int DSOUND_InitCard (soundcardinfo_t *sc, int cardnum)
|
||||||
dshandle_t *dh;
|
dshandle_t *dh;
|
||||||
char *buffer;
|
char *buffer;
|
||||||
|
|
||||||
|
if (COM_CheckParm("-wavonly"))
|
||||||
|
return;
|
||||||
|
|
||||||
|
|
||||||
sc->sn.numchannels = 2;
|
sc->sn.numchannels = 2;
|
||||||
sc->sn.samplebits = 16;
|
sc->sn.samplebits = 16;
|
||||||
|
|
Loading…
Reference in a new issue