mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-30 08:00:51 +00:00
remove extra calls to SNDDMA_Init_Cvars
This commit is contained in:
parent
62e1819ec5
commit
50e545292a
3 changed files with 0 additions and 6 deletions
|
@ -149,8 +149,6 @@ SNDDMA_Init (void)
|
|||
int rate = -1, format = -1, bps, stereo = -1, frag_size;
|
||||
unsigned int mask;
|
||||
|
||||
SNDDMA_Init_Cvars ();
|
||||
|
||||
mask = snd_cards_mask ();
|
||||
if (!mask) {
|
||||
Con_Printf ("No sound cards detected\n");
|
||||
|
|
|
@ -84,8 +84,6 @@ SNDDMA_Init (void)
|
|||
snd_pcm_hw_params_t *hw;
|
||||
snd_pcm_sw_params_t *sw;
|
||||
|
||||
SNDDMA_Init_Cvars ();
|
||||
|
||||
snd_pcm_hw_params_alloca (&hw);
|
||||
snd_pcm_sw_params_alloca (&sw);
|
||||
|
||||
|
|
|
@ -108,8 +108,6 @@ SNDDMA_Init (void)
|
|||
|
||||
snd_inited = 0;
|
||||
|
||||
SNDDMA_Init_Cvars ();
|
||||
|
||||
// open snd_dev, confirm capability to mmap, and get size of dma buffer
|
||||
if (snd_device->string[0])
|
||||
snd_dev = snd_device->string;
|
||||
|
|
Loading…
Reference in a new issue