Skip to content

Commit

Permalink
SBLIVE: improve interrupts.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazii committed Jan 14, 2024
1 parent 3cfa41f commit e9127f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mpxplay/au_cards/sc_sbl24.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ static int snd_live24_isr(emu10k1_card *card)
outl(card->iobase+IPR, intmask);
int intmask2 = snd_ca0106_ptr_read(card, EXTENDED_INT, 0);
snd_ca0106_ptr_write(card, EXTENDED_INT, 0, intmask2); //ack
return intmask;
return intmask|intmask2;
}
#endif

Expand Down
2 changes: 1 addition & 1 deletion mpxplay/au_cards/sc_sbliv.c
Original file line number Diff line number Diff line change
Expand Up @@ -863,7 +863,7 @@ static void snd_emu10kx_setrate(struct emu10k1_card *card,struct mpxplay_audioou
static void snd_emu10kx_pcm_start_playback(struct emu10k1_card *card)
{
#ifdef SBEMU
emu10k1_writefn0(card, INTE, emu10k1_readfn0(card, INTE)|INTE_SAMPLERATETRACKER|INTE_INTERVALTIMERENB); //enable timer interrupt
emu10k1_writefn0(card, INTE, emu10k1_readfn0(card, INTE)|INTE_SAMPLERATETRACKER|INTE_INTERVALTIMERENB|INTE_FXDSPENABLE); //enable timer interrupt
emu10k1_writefn0(card, TIMER, 0x240); //set timer rate
#endif

Expand Down

0 comments on commit e9127f3

Please sign in to comment.