mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
fix the 0x0 dma buffer mis-reportage
This commit is contained in:
parent
3a709cac0f
commit
2cc2da74ba
1 changed files with 0 additions and 3 deletions
|
@ -372,9 +372,6 @@ SNDDMA_GetDMAPos (void)
|
|||
snd_pcm_uframes_t offset;
|
||||
snd_pcm_uframes_t nframes = sn.samples/sn.channels;
|
||||
|
||||
if (!snd_inited)
|
||||
return 0;
|
||||
|
||||
qfsnd_pcm_avail_update (pcm);
|
||||
qfsnd_pcm_mmap_begin (pcm, &areas, &offset, &nframes);
|
||||
offset *= sn.channels;
|
||||
|
|
Loading…
Reference in a new issue