pcm_pack: convert to C++
This commit is contained in:
parent
e3511d0ee0
commit
f32fbd9ed1
@ -311,7 +311,7 @@ libpcm_a_SOURCES = \
|
||||
src/pcm/PcmVolume.cxx src/pcm/PcmVolume.hxx \
|
||||
src/pcm/PcmMix.cxx src/pcm/PcmMix.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/PcmResample.cxx src/pcm/PcmResample.hxx \
|
||||
src/pcm/PcmResampleFallback.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"
|
||||
|
@ -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"
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,6 @@
|
||||
#include "PcmFormat.hxx"
|
||||
#include "PcmDither.hxx"
|
||||
#include "PcmBuffer.hxx"
|
||||
#include "pcm_pack.h"
|
||||
#include "PcmUtils.hxx"
|
||||
|
||||
#include <type_traits>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
||||
/**
|
@ -19,10 +19,7 @@
|
||||
|
||||
#include "test_pcm_all.hxx"
|
||||
#include "test_pcm_util.hxx"
|
||||
|
||||
extern "C" {
|
||||
#include "pcm/pcm_pack.h"
|
||||
}
|
||||
#include "pcm/PcmPack.hxx"
|
||||
|
||||
#include <glib.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user