From 2cc2da74ba4981b97d95281a2c452ccaed5d9ed4 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Tue, 14 Jun 2005 11:43:42 +0000 Subject: [PATCH] fix the 0x0 dma buffer mis-reportage --- libs/audio/targets/snd_alsa.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/audio/targets/snd_alsa.c b/libs/audio/targets/snd_alsa.c index b9327d7bf..e016727d7 100644 --- a/libs/audio/targets/snd_alsa.c +++ b/libs/audio/targets/snd_alsa.c @@ -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;