Hi again, This is a set of patches similiar to the patch I sent for the Mikmod decoder. It adds a configuration parameter called "loop_count" for the Modplug decoder, which allows the user to set how many times the decoder should loop modules which uses backward loops.
Mikmod only allows for disabling and enabling backward loops, but Modplug can set a limit on the number of loops, a nice feature. The patch for ConfigData is to enable signed integers in the configuration, so that the user can set "loop_count" to "-1", which gives infinite looping. Please consider applying these patches as well :) Sebastian Thorarensen (2): ConfigData: Add support for signed integers decoder/modplug: Add "loop_count" parameter NEWS | 1 + doc/user.xml | 31 +++++++++++++++++++++++++++++++ src/ConfigData.cxx | 21 +++++++++++++++++++-- src/ConfigData.hxx | 6 ++++++ src/decoder/ModplugDecoderPlugin.cxx | 17 ++++++++++++++++- 5 files changed, 73 insertions(+), 3 deletions(-) -- 1.8.1.5 ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team