adplug / adplay-unix

AdPlug's UNIX console-based frontend
GNU General Public License v2.0
12 stars 15 forks source link

Add loop count option #15

Closed mwoehlke closed 2 years ago

mwoehlke commented 3 years ago

This adds the ability to specify a "loop count". Because the library appears to expose looping as a "once set, never cleared" flag, the only way I could figure out to count loops was to take the number of samples until the "has looped" flag becomes set as the loop length. Accordingly, using both -l and -s will probably not work "correctly". However, this is much better than nothing.

See also #8.

ildar commented 2 years ago

Just found this one. Looks nice, I'll try to test it.

ildar commented 2 years ago

works fine for me.