aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm/PcmConvert.cxx1
-rw-r--r--src/pcm/PcmExport.cxx2
-rw-r--r--src/pcm/PcmFormat.cxx1
-rw-r--r--src/pcm/PcmPack.cxx (renamed from src/pcm/pcm_pack.c)4
-rw-r--r--src/pcm/PcmPack.hxx (renamed from src/pcm/pcm_pack.h)7
5 files changed, 6 insertions, 9 deletions
diff --git a/src/pcm/PcmConvert.cxx b/src/pcm/PcmConvert.cxx
index 95361ee1b..6061aee88 100644
--- a/src/pcm/PcmConvert.cxx
+++ b/src/pcm/PcmConvert.cxx
@@ -21,7 +21,6 @@
#include "PcmConvert.hxx"
#include "PcmChannels.hxx"
#include "PcmFormat.hxx"
-#include "pcm_pack.h"
#include "AudioFormat.hxx"
#include "util/Error.hxx"
#include "util/Domain.hxx"
diff --git a/src/pcm/PcmExport.cxx b/src/pcm/PcmExport.cxx
index 762411f59..389670b6f 100644
--- a/src/pcm/PcmExport.cxx
+++ b/src/pcm/PcmExport.cxx
@@ -20,9 +20,9 @@
#include "config.h"
#include "PcmExport.hxx"
#include "PcmDsdUsb.hxx"
+#include "PcmPack.hxx"
extern "C" {
-#include "pcm_pack.h"
#include "util/byte_reverse.h"
}
diff --git a/src/pcm/PcmFormat.cxx b/src/pcm/PcmFormat.cxx
index b4307ca1f..a0de163ba 100644
--- a/src/pcm/PcmFormat.cxx
+++ b/src/pcm/PcmFormat.cxx
@@ -21,7 +21,6 @@
#include "PcmFormat.hxx"
#include "PcmDither.hxx"
#include "PcmBuffer.hxx"
-#include "pcm_pack.h"
#include "PcmUtils.hxx"
#include <type_traits>
diff --git a/src/pcm/pcm_pack.c b/src/pcm/PcmPack.cxx
index 921d880c0..fa020bf63 100644
--- a/src/pcm/pcm_pack.c
+++ b/src/pcm/PcmPack.cxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -17,7 +17,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
-#include "pcm_pack.h"
+#include "PcmPack.hxx"
#include <glib.h>
diff --git a/src/pcm/pcm_pack.h b/src/pcm/PcmPack.hxx
index f3184b403..aed011767 100644
--- a/src/pcm/pcm_pack.h
+++ b/src/pcm/PcmPack.hxx
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2003-2011 The Music Player Daemon Project
+ * Copyright (C) 2003-2013 The Music Player Daemon Project
* http://www.musicpd.org
*
* This program is free software; you can redistribute it and/or modify
@@ -22,10 +22,9 @@
* Library for working with packed 24 bit samples.
*/
-#ifndef PCM_PACK_H
-#define PCM_PACK_H
+#ifndef PCM_PACK_HXX
+#define PCM_PACK_HXX
-#include <stdbool.h>
#include <stdint.h>
/**