fix the 0x0 dma buffer mis-reportage

This commit is contained in:
Bill Currie 2005-06-14 11:43:42 +00:00
parent 3a709cac0f
commit 2cc2da74ba

View file

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