Skip to content

Commit

Permalink
CMI: tiny change.
Browse files Browse the repository at this point in the history
  • Loading branch information
crazii committed Jan 23, 2024
1 parent 28eefa0 commit 90d83cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mpxplay/au_cards/sc_cmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ static long CMI8X38_getbufpos(struct mpxplay_audioout_info_s *aui)
unsigned int rem, tries;
for (tries = 0; tries < 3; tries++) {
do {rem = snd_cmipci_read_16(card, reg); //note: current sample count can be 0
}while(rem == 0xFFFF);
}while(rem == 0xFFFF && card->dma_size-1 != 0xFFFF);
//mpxplay_debugf(CMI_DEBUG_OUTPUT, "PCM ptr: %u, card->dma_size: %d aui->card_dmasize: %d", rem, card->dma_size, aui->card_dmasize);
if (rem < card->dma_size)
goto ok;
Expand Down

0 comments on commit 90d83cf

Please sign in to comment.