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
9e5d2c5b
Commit
9e5d2c5b
authored
Apr 17, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
encoder_list: convert to C++
parent
2df2a989
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
12 additions
and
21 deletions
+12
-21
Makefile.am
Makefile.am
+1
-2
CommandLine.cxx
src/CommandLine.cxx
+1
-1
EncoderList.cxx
src/EncoderList.cxx
+2
-2
EncoderList.hxx
src/EncoderList.hxx
+3
-11
HttpdOutputPlugin.cxx
src/output/HttpdOutputPlugin.cxx
+1
-1
RecorderOutputPlugin.cxx
src/output/RecorderOutputPlugin.cxx
+1
-1
ShoutOutputPlugin.cxx
src/output/ShoutOutputPlugin.cxx
+1
-1
run_encoder.cxx
test/run_encoder.cxx
+1
-1
test_vorbis_encoder.cxx
test/test_vorbis_encoder.cxx
+1
-1
No files found.
Makefile.am
View file @
9e5d2c5b
...
...
@@ -64,7 +64,6 @@ mpd_headers = \
src/decoder_api.h
\
src/decoder_plugin.h
\
src/encoder_plugin.h
\
src/encoder_list.h
\
src/encoder_api.h
\
src/fd_util.h
\
src/gerror.h
\
...
...
@@ -633,7 +632,7 @@ ENCODER_LIBS = \
libencoder_plugins_a_SOURCES
=
\
src/encoder/OggStream.hxx
\
src/encoder/null_encoder.c
\
src/
encoder_list.c
src/
EncoderList.cxx src/EncoderList.hxx
if
ENABLE_WAVE_ENCODER
libencoder_plugins_a_SOURCES
+=
src/encoder/wave_encoder.c
...
...
src/CommandLine.cxx
View file @
9e5d2c5b
...
...
@@ -35,7 +35,7 @@
#include "fs/FileSystem.hxx"
#ifdef ENABLE_ENCODER
#include "
encoder_list.h
"
#include "
EncoderList.hxx
"
#include "encoder_plugin.h"
#endif
...
...
src/
encoder_list.c
→
src/
EncoderList.cxx
View file @
9e5d2c5b
/*
* Copyright (C) 2003-201
2
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "
encoder_list.h
"
#include "
EncoderList.hxx
"
#include "encoder_plugin.h"
#include "encoder/VorbisEncoderPlugin.hxx"
#include "encoder/OpusEncoderPlugin.hxx"
...
...
src/
encoder_list.h
→
src/
EncoderList.hxx
View file @
9e5d2c5b
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
...
...
@@ -17,8 +17,8 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#ifndef MPD_ENCODER_LIST_H
#define MPD_ENCODER_LIST_H
#ifndef MPD_ENCODER_LIST_H
XX
#define MPD_ENCODER_LIST_H
XX
struct
encoder_plugin
;
...
...
@@ -30,10 +30,6 @@ extern const struct encoder_plugin *const encoder_plugins[];
(plugin = *encoder_plugin_iterator) != NULL; \
++encoder_plugin_iterator)
#ifdef __cplusplus
extern
"C"
{
#endif
/**
* Looks up an encoder plugin by its name.
*
...
...
@@ -44,8 +40,4 @@ extern "C" {
const
struct
encoder_plugin
*
encoder_plugin_get
(
const
char
*
name
);
#ifdef __cplusplus
}
#endif
#endif
src/output/HttpdOutputPlugin.cxx
View file @
9e5d2c5b
...
...
@@ -23,7 +23,7 @@
#include "HttpdClient.hxx"
#include "output_api.h"
#include "encoder_plugin.h"
#include "
encoder_list.h
"
#include "
EncoderList.hxx
"
#include "resolver.h"
#include "Page.hxx"
#include "IcyMetaDataServer.hxx"
...
...
src/output/RecorderOutputPlugin.cxx
View file @
9e5d2c5b
...
...
@@ -21,7 +21,7 @@
#include "RecorderOutputPlugin.hxx"
#include "output_api.h"
#include "encoder_plugin.h"
#include "
encoder_list.h
"
#include "
EncoderList.hxx
"
#include "fd_util.h"
#include "open.h"
...
...
src/output/ShoutOutputPlugin.cxx
View file @
9e5d2c5b
...
...
@@ -21,7 +21,7 @@
#include "ShoutOutputPlugin.hxx"
#include "output_api.h"
#include "encoder_plugin.h"
#include "
encoder_list.h
"
#include "
EncoderList.hxx
"
#include "mpd_error.h"
#include <shout/shout.h>
...
...
test/run_encoder.cxx
View file @
9e5d2c5b
...
...
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "
encoder_list.h
"
#include "
EncoderList.hxx
"
#include "encoder_plugin.h"
#include "audio_format.h"
#include "AudioParser.hxx"
...
...
test/test_vorbis_encoder.cxx
View file @
9e5d2c5b
...
...
@@ -18,7 +18,7 @@
*/
#include "config.h"
#include "
encoder_list.h
"
#include "
EncoderList.hxx
"
#include "encoder_plugin.h"
#include "audio_format.h"
#include "conf.h"
...
...
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