View Single Post
Old 29 October 2016, 17:40   #27
meynaf
68k wisdom
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon (France)
Age: 44
Posts: 2,367
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.04659 seconds with 9 queries