kmatheussen / radium

A graphical music editor. A next generation tracker.
http://users.notam02.no/~kjetism/radium/
GNU General Public License v2.0
835 stars 36 forks source link

Fixed export single block (removed asserts). #1388

Closed akimaze closed 1 year ago

akimaze commented 1 year ago

I didn't find the bounce option so I wanted to use single-block export. But an attempt to export single block ends with an assertion. I've removed assertions and everything seems to be working. Maybe they shouldn't be in those places.

BTW. Is there a way to simple reverse sample on audio sectrack?

kmatheussen commented 1 year ago

Thank you very much. I think the assertions should check for playtype==PLAYBLOCK || playtype==PLAYBLOCK_NONLOOP though, but I'll fix that.

kmatheussen commented 1 year ago

Oh, and no, there isn't a reverse option unfortunately.

kmatheussen commented 1 year ago

Seems like the PLAYBLOCK_NONLOOP constant is something left from the past. There isn't any option to play a block without looping in the new player from around 2014, so it's not used for anything anymore. I removed that constant and put back the assertions.