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
f32fbd9e
Commit
f32fbd9e
authored
Oct 16, 2013
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pcm_pack: convert to C++
parent
e3511d0e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
14 deletions
+8
-14
Makefile.am
Makefile.am
+1
-1
PcmConvert.cxx
src/pcm/PcmConvert.cxx
+0
-1
PcmExport.cxx
src/pcm/PcmExport.cxx
+1
-1
PcmFormat.cxx
src/pcm/PcmFormat.cxx
+0
-1
PcmPack.cxx
src/pcm/PcmPack.cxx
+2
-2
PcmPack.hxx
src/pcm/PcmPack.hxx
+3
-4
test_pcm_pack.cxx
test/test_pcm_pack.cxx
+1
-4
No files found.
Makefile.am
View file @
f32fbd9e
...
@@ -311,7 +311,7 @@ libpcm_a_SOURCES = \
...
@@ -311,7 +311,7 @@ libpcm_a_SOURCES = \
src/pcm/PcmVolume.cxx src/pcm/PcmVolume.hxx
\
src/pcm/PcmVolume.cxx src/pcm/PcmVolume.hxx
\
src/pcm/PcmMix.cxx src/pcm/PcmMix.hxx
\
src/pcm/PcmMix.cxx src/pcm/PcmMix.hxx
\
src/pcm/PcmChannels.cxx src/pcm/PcmChannels.hxx
\
src/pcm/PcmChannels.cxx src/pcm/PcmChannels.hxx
\
src/pcm/
pcm_pack.c src/pcm/pcm_pack.h
\
src/pcm/
PcmPack.cxx src/pcm/PcmPack.hxx
\
src/pcm/PcmFormat.cxx src/pcm/PcmFormat.hxx
\
src/pcm/PcmFormat.cxx src/pcm/PcmFormat.hxx
\
src/pcm/PcmResample.cxx src/pcm/PcmResample.hxx
\
src/pcm/PcmResample.cxx src/pcm/PcmResample.hxx
\
src/pcm/PcmResampleFallback.cxx
\
src/pcm/PcmResampleFallback.cxx
\
...
...
src/pcm/PcmConvert.cxx
View file @
f32fbd9e
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "PcmConvert.hxx"
#include "PcmConvert.hxx"
#include "PcmChannels.hxx"
#include "PcmChannels.hxx"
#include "PcmFormat.hxx"
#include "PcmFormat.hxx"
#include "pcm_pack.h"
#include "AudioFormat.hxx"
#include "AudioFormat.hxx"
#include "util/Error.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
#include "util/Domain.hxx"
...
...
src/pcm/PcmExport.cxx
View file @
f32fbd9e
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
#include "config.h"
#include "config.h"
#include "PcmExport.hxx"
#include "PcmExport.hxx"
#include "PcmDsdUsb.hxx"
#include "PcmDsdUsb.hxx"
#include "PcmPack.hxx"
extern
"C"
{
extern
"C"
{
#include "pcm_pack.h"
#include "util/byte_reverse.h"
#include "util/byte_reverse.h"
}
}
...
...
src/pcm/PcmFormat.cxx
View file @
f32fbd9e
...
@@ -21,7 +21,6 @@
...
@@ -21,7 +21,6 @@
#include "PcmFormat.hxx"
#include "PcmFormat.hxx"
#include "PcmDither.hxx"
#include "PcmDither.hxx"
#include "PcmBuffer.hxx"
#include "PcmBuffer.hxx"
#include "pcm_pack.h"
#include "PcmUtils.hxx"
#include "PcmUtils.hxx"
#include <type_traits>
#include <type_traits>
...
...
src/pcm/
pcm_pack.c
→
src/pcm/
PcmPack.cxx
View file @
f32fbd9e
/*
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
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
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
*/
#include "
pcm_pack.h
"
#include "
PcmPack.hxx
"
#include <glib.h>
#include <glib.h>
...
...
src/pcm/
pcm_pack.h
→
src/pcm/
PcmPack.hxx
View file @
f32fbd9e
/*
/*
* Copyright (C) 2003-201
1
The Music Player Daemon Project
* Copyright (C) 2003-201
3
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,10 +22,9 @@
...
@@ -22,10 +22,9 @@
* Library for working with packed 24 bit samples.
* Library for working with packed 24 bit samples.
*/
*/
#ifndef PCM_PACK_H
#ifndef PCM_PACK_H
XX
#define PCM_PACK_H
#define PCM_PACK_H
XX
#include <stdbool.h>
#include <stdint.h>
#include <stdint.h>
/**
/**
...
...
test/test_pcm_pack.cxx
View file @
f32fbd9e
...
@@ -19,10 +19,7 @@
...
@@ -19,10 +19,7 @@
#include "test_pcm_all.hxx"
#include "test_pcm_all.hxx"
#include "test_pcm_util.hxx"
#include "test_pcm_util.hxx"
#include "pcm/PcmPack.hxx"
extern
"C"
{
#include "pcm/pcm_pack.h"
}
#include <glib.h>
#include <glib.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