Rev 298 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 298 | Rev 333 | ||
---|---|---|---|
Line 167... | Line 167... | ||
167 | { |
167 | { |
168 | int i; |
168 | int i; |
Line 169... | Line 169... | ||
169 | 169 | ||
Line 170... | Line 170... | ||
170 | printf("S_Init: default sfx volume %d\n", sfxVolume); |
170 | printf("S_Init: default sfx volume %d\n", sfxVolume); |
171 | 171 | ||
Line 172... | Line 172... | ||
172 | I_CreateSound(); |
172 | //I_CreateSound(); |
173 | numChannels = NUM_CHANNELS; |
173 | numChannels = NUM_CHANNELS; |
Line 370... | Line 370... | ||
370 | sfx->usefulness = 1; |
370 | sfx->usefulness = 1; |
Line 371... | Line 371... | ||
371 | 371 | ||
372 | // Assigns the handle to one of the channels in the |
372 | // Assigns the handle to one of the channels in the |
373 | // mix/output buffer. |
373 | // mix/output buffer. |
374 | //WriteDebug("I_StartSound...\n"); |
374 | //WriteDebug("I_StartSound...\n"); |
375 | channels[cnum].handle = I_StartSound(sfx_id,/*sfx->data,*/volume,sep,pitch,priority,origin); |
- | |
376 | //cnum = I_StartSound(sfx_id,/*sfx->data,*/volume,sep,pitch,priority,origin); |
375 | channels[cnum].handle = I_StartSound(sfx_id,volume,sep,pitch,priority); |
377 | channels[cnum].handle = cnum; |
376 | channels[cnum].handle = cnum; |
378 | channels[cnum].sfxinfo = sfx; |
377 | channels[cnum].sfxinfo = sfx; |
379 | channels[cnum].origin = origin; |
378 | channels[cnum].origin = origin; |