decoder/modplug: Add "loop_count" parameter

The "loop_count" configuration parameter allows the user to set how
many times a module with backward loops shall loop. "0" (the default)
means a module is not allowed to use backward loops at all. "-1"
enables inifinite looping.
This commit is contained in:
Sebastian Thorarensen
2013-10-19 15:39:04 +02:00
committed by Max Kellermann
parent d6553fc6a7
commit db44a6e948
3 changed files with 48 additions and 1 deletions

View File

@@ -1000,6 +1000,37 @@ systemctl start mpd.socket</programlisting>
</informaltable>
</section>
<section>
<title><varname>modplug</varname></title>
<para>
Module player based on MODPlug.
</para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>Setting</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<varname>loop_count</varname>
</entry>
<entry>
Number of times to loop the module if it uses backward loops.
Default is <parameter>0</parameter> which prevents looping.
<parameter>-1</parameter> loops forever.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
<section>
<title><varname>wildmidi</varname></title>