View Single Post
Old 15 March 2021, 22:51   #10
roondar
Registered User
 
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,423
The mixer as currently written does not support looped samples, but adding support for that should be quite easy as long as the sample is an exact multiple of the sample buffer in size. Can be done for non-multiples as well, obviously, but that'd probably require more changes.

As for 2 channels @11KHz and 2 channels @22KHz, that should be possible, but will require some changes. While the mixer currently only runs one interrupt, there's nothing to stop it from running on two channels with two interrupts. However, the data structures aren't designed for this so they'd need changing.
roondar is offline  
 
Page generated in 0.04165 seconds with 11 queries