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
acb45caa
Commit
acb45caa
authored
Jan 07, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
decoder/ogg_codec: convert to C++
parent
39060b52
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
16 deletions
+9
-16
Makefile.am
Makefile.am
+1
-1
FLACDecoderPlugin.cxx
src/decoder/FLACDecoderPlugin.cxx
+1
-4
OggCodec.cxx
src/decoder/OggCodec.cxx
+2
-2
OggCodec.hxx
src/decoder/OggCodec.hxx
+3
-3
OpusDecoderPlugin.cxx
src/decoder/OpusDecoderPlugin.cxx
+1
-5
VorbisDecoderPlugin.cxx
src/decoder/VorbisDecoderPlugin.cxx
+1
-1
No files found.
Makefile.am
View file @
acb45caa
...
...
@@ -561,7 +561,7 @@ endif
if
HAVE_XIPH
libdecoder_plugins_a_SOURCES
+=
\
src/decoder/XiphTags.c src/decoder/XiphTags.h
\
src/decoder/
ogg_codec.c src/decoder/ogg_codec.h
src/decoder/
OggCodec.cxx src/decoder/OggCodec.hxx
endif
if
ENABLE_VORBIS_DECODER
...
...
src/decoder/FLACDecoderPlugin.cxx
View file @
acb45caa
...
...
@@ -21,10 +21,7 @@
#include "FLACDecoderPlugin.h"
#include "FLACCommon.hxx"
#include "FLACMetaData.hxx"
extern
"C"
{
#include "ogg_codec.h"
}
#include "OggCodec.hxx"
#include <glib.h>
...
...
src/decoder/
ogg_codec.c
→
src/decoder/
OggCodec.cxx
View file @
acb45caa
/*
* 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
...
...
@@ -22,7 +22,7 @@
*/
#include "config.h"
#include "
ogg_codec.h
"
#include "
OggCodec.hxx
"
enum
ogg_codec
ogg_codec_detect
(
struct
decoder
*
decoder
,
struct
input_stream
*
is
)
...
...
src/decoder/
ogg_codec.h
→
src/decoder/
OggCodec.hxx
View file @
acb45caa
/*
* 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
...
...
@@ -21,8 +21,8 @@
* Common functions used for Ogg data streams (Ogg-Vorbis and OggFLAC)
*/
#ifndef MPD_OGG_CODEC_H
#define MPD_OGG_CODEC_H
#ifndef MPD_OGG_CODEC_H
XX
#define MPD_OGG_CODEC_H
XX
#include "decoder_api.h"
...
...
src/decoder/OpusDecoderPlugin.cxx
View file @
acb45caa
...
...
@@ -23,11 +23,7 @@
#include "OpusTags.hxx"
#include "OggUtil.hxx"
#include "decoder_api.h"
extern
"C"
{
#include "ogg_codec.h"
}
#include "OggCodec.hxx"
#include "audio_check.h"
#include "tag_handler.h"
...
...
src/decoder/VorbisDecoderPlugin.cxx
View file @
acb45caa
...
...
@@ -21,9 +21,9 @@
#include "VorbisDecoderPlugin.h"
#include "VorbisComments.hxx"
#include "decoder_api.h"
#include "OggCodec.hxx"
extern
"C"
{
#include "ogg_codec.h"
#include "audio_check.h"
#include "uri.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