remove extra calls to SNDDMA_Init_Cvars

This commit is contained in:
Adam Olsen 2001-08-23 04:52:54 +00:00
parent 62e1819ec5
commit 50e545292a
3 changed files with 0 additions and 6 deletions

View file

@ -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");

View file

@ -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);

View file

@ -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;