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
9acc6617
Commit
9acc6617
authored
Mar 12, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
filter/registry: move `extern` lines to plugin headers
parent
4f72f492
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
69 additions
and
15 deletions
+69
-15
FilterRegistry.cxx
src/filter/FilterRegistry.cxx
+4
-1
FilterRegistry.hxx
src/filter/FilterRegistry.hxx
+1
-5
AutoConvertFilterPlugin.cxx
src/filter/plugins/AutoConvertFilterPlugin.cxx
+1
-2
NormalizeFilterPlugin.cxx
src/filter/plugins/NormalizeFilterPlugin.cxx
+1
-2
NormalizeFilterPlugin.hxx
src/filter/plugins/NormalizeFilterPlugin.hxx
+4
-1
NullFilterPlugin.cxx
src/filter/plugins/NullFilterPlugin.cxx
+2
-2
NullFilterPlugin.hxx
src/filter/plugins/NullFilterPlugin.hxx
+27
-0
RouteFilterPlugin.cxx
src/filter/plugins/RouteFilterPlugin.cxx
+2
-2
RouteFilterPlugin.hxx
src/filter/plugins/RouteFilterPlugin.hxx
+27
-0
No files found.
src/filter/FilterRegistry.cxx
View file @
9acc6617
/*
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -19,6 +19,9 @@
...
@@ -19,6 +19,9 @@
#include "FilterRegistry.hxx"
#include "FilterRegistry.hxx"
#include "FilterPlugin.hxx"
#include "FilterPlugin.hxx"
#include "plugins/NullFilterPlugin.hxx"
#include "plugins/RouteFilterPlugin.hxx"
#include "plugins/NormalizeFilterPlugin.hxx"
#include <string.h>
#include <string.h>
...
...
src/filter/FilterRegistry.hxx
View file @
9acc6617
/*
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -30,10 +30,6 @@
...
@@ -30,10 +30,6 @@
struct
FilterPlugin
;
struct
FilterPlugin
;
extern
const
FilterPlugin
null_filter_plugin
;
extern
const
FilterPlugin
route_filter_plugin
;
extern
const
FilterPlugin
normalize_filter_plugin
;
gcc_pure
gcc_pure
const
FilterPlugin
*
const
FilterPlugin
*
filter_plugin_by_name
(
const
char
*
name
)
noexcept
;
filter_plugin_by_name
(
const
char
*
name
)
noexcept
;
...
...
src/filter/plugins/AutoConvertFilterPlugin.cxx
View file @
9acc6617
/*
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -22,7 +22,6 @@
...
@@ -22,7 +22,6 @@
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "filter/FilterRegistry.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
...
...
src/filter/plugins/NormalizeFilterPlugin.cxx
View file @
9acc6617
/*
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "filter/FilterRegistry.hxx"
#include "pcm/PcmBuffer.hxx"
#include "pcm/PcmBuffer.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "AudioCompress/compress.h"
#include "AudioCompress/compress.h"
...
...
src/filter/plugins/NormalizeFilterPlugin.hxx
View file @
9acc6617
/*
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -22,8 +22,11 @@
...
@@ -22,8 +22,11 @@
#include <memory>
#include <memory>
struct
FilterPlugin
;
class
PreparedFilter
;
class
PreparedFilter
;
extern
const
FilterPlugin
normalize_filter_plugin
;
std
::
unique_ptr
<
PreparedFilter
>
std
::
unique_ptr
<
PreparedFilter
>
normalize_filter_prepare
()
noexcept
;
normalize_filter_prepare
()
noexcept
;
...
...
src/filter/plugins/NullFilterPlugin.cxx
View file @
9acc6617
/*
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -24,10 +24,10 @@
...
@@ -24,10 +24,10 @@
* plugins.
* plugins.
*/
*/
#include "NullFilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "filter/FilterRegistry.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/Compiler.h"
#include "util/Compiler.h"
#include "util/ConstBuffer.hxx"
#include "util/ConstBuffer.hxx"
...
...
src/filter/plugins/NullFilterPlugin.hxx
0 → 100644
View file @
9acc6617
/*
* Copyright 2003-2019 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_NULL_FILTER_PLUGIN_HXX
#define MPD_NULL_FILTER_PLUGIN_HXX
struct
FilterPlugin
;
extern
const
FilterPlugin
null_filter_plugin
;
#endif
src/filter/plugins/RouteFilterPlugin.cxx
View file @
9acc6617
/*
/*
* Copyright 2003-201
8
The Music Player Daemon Project
* Copyright 2003-201
9
The Music Player Daemon Project
* http://www.musicpd.org
* http://www.musicpd.org
*
*
* This program is free software; you can redistribute it and/or modify
* This program is free software; you can redistribute it and/or modify
...
@@ -39,13 +39,13 @@
...
@@ -39,13 +39,13 @@
* one of them takes effect.
* one of them takes effect.
*/
*/
#include "RouteFilterPlugin.hxx"
#include "config/Domain.hxx"
#include "config/Domain.hxx"
#include "config/Block.hxx"
#include "config/Block.hxx"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/FilterPlugin.hxx"
#include "filter/Filter.hxx"
#include "filter/Filter.hxx"
#include "filter/Prepared.hxx"
#include "filter/Prepared.hxx"
#include "filter/FilterRegistry.hxx"
#include "pcm/PcmBuffer.hxx"
#include "pcm/PcmBuffer.hxx"
#include "pcm/Silence.hxx"
#include "pcm/Silence.hxx"
#include "util/StringStrip.hxx"
#include "util/StringStrip.hxx"
...
...
src/filter/plugins/RouteFilterPlugin.hxx
0 → 100644
View file @
9acc6617
/*
* Copyright 2003-2019 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_ROUTE_FILTER_PLUGIN_HXX
#define MPD_ROUTE_FILTER_PLUGIN_HXX
struct
FilterPlugin
;
extern
const
FilterPlugin
route_filter_plugin
;
#endif
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