View Single Post
Old 31 October 2016, 08:24   #29
meynaf
68k wisdom
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon (France)
Age: 44
Posts: 2,362
Quote:
Originally Posted by Toni Wilen View Post
I am not sure if I understood correctly but why not always set empty repeat (with very short size). This way sample never stops and you can write new updated repeat sample pointer and size when needed. (write sample pointer first, make sure first sample is same as previous "idle" sample to prevent pops if size write is delayed by one or more sample periods)
By doing so I might eventually see spurious interrupt requests triggered by the empty samples (or miss normal ones if i clear the irq after setting repeat).

Btw. As it's the size write that runs normal sample, it seems logic to me that the repeat address should be taken into account only when repeat length is written - this way nothing bad can occur between the two writes. This is how my current audio interface works.
meynaf is offline  
 
Page generated in 0.05625 seconds with 9 queries