View Single Post
Old 29 October 2016, 18:40   #27
son of 68k
meynaf's Avatar
Join Date: Nov 2007
Location: Lyon / France
Age: 45
Posts: 2,540
Would it be possible to have an extra flag in the interrupt status byte that disables EXTER interrupt requests and only handles internal interrupt flag ?
This is for simple polling. For normal Amiga audio INTREQ bits can be read with the relevant interrupt disabled, but here we're not alone on EXTER...

Another thing. What happens if the repeat addr/len are set but the sample has already stopped ? For example, sample is run, second buffer is filled and we then set the repeat... but we were too slow so the sample has already stopped.
This is to avoid buffer repetitions in case of overrun ; i set the sample with silent repeat, then fill the second buffer, then set the repeat. Therefore setting the repeat alone should start it immediately if nothing's currently being played.
meynaf is offline  
Page generated in 0.04898 seconds with 9 queries