Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
644fc487
Commit
644fc487
authored
Jul 05, 2009
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
conf: registered option "filter"
Add this option to the user's manual.
parent
666b1fae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
user.xml
doc/user.xml
+57
-0
conf.c
src/conf.c
+1
-0
No files found.
doc/user.xml
View file @
644fc487
...
...
@@ -302,6 +302,63 @@ cd mpd-0.14.2</programlisting>
</tgroup>
</informaltable>
</section>
<section>
<title>
Configuring filters
</title>
<para>
Filters are plugins which modify an audio stream.
</para>
<para>
To configure a filter, add a
<varname>
filter
</varname>
block
to
<filename>
mpd.conf
</filename>
:
</para>
<programlisting>
filter {
plugin "volume"
name "software volume"
}
</programlisting>
<para>
The following table lists the
<varname>
filter
</varname>
options valid for all plugins:
</para>
<informaltable>
<tgroup
cols=
"2"
>
<thead>
<row>
<entry>
Name
</entry>
<entry>
Description
</entry>
</row>
</thead>
<tbody>
<row>
<entry>
<varname>
plugin
</varname>
</entry>
<entry>
The name of the plugin.
</entry>
</row>
<row>
<entry>
<varname>
name
</varname>
</entry>
<entry>
The name of the filter.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</section>
</chapter>
<chapter>
...
...
src/conf.c
View file @
644fc487
...
...
@@ -94,6 +94,7 @@ static struct config_entry config_entries[] = {
{
.
name
=
CONF_DECODER
,
true
,
true
},
{
.
name
=
CONF_INPUT
,
true
,
true
},
{
.
name
=
CONF_GAPLESS_MP3_PLAYBACK
,
false
,
false
},
{
.
name
=
"filter"
,
true
,
true
},
};
static
bool
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment