Skip to content
Browse files

applied changes/fixes to ASNDLib. (c) Hermes

  • Loading branch information...
1 parent 300427d commit 4bbed898da74c726fef8a100b9830ea9446e9068 shagkur committed Dec 9, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 libasnd/asndlib.c
View
2 libasnd/asndlib.c
@@ -202,7 +202,7 @@ static void __dsp_requestcallback(dsptask_t *task)
if(sound_data[snd_chan].flags>>16)
{
- if(!sound_data[snd_chan].delay_samples && !(sound_data[snd_chan].flags & VOICE_PAUSE)) sound_data[snd_chan].tick_counter++;
+ if(!sound_data[snd_chan].delay_samples && !(sound_data[snd_chan].flags & VOICE_PAUSE) && (sound_data_dma.start_addr || sound_data_dma.start_addr2)) sound_data[snd_chan].tick_counter++;
}
snd_chan++;

0 comments on commit 4bbed89

Please sign in to comment.
Something went wrong with that request. Please try again.