aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/PcmConvert.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/pcm/PcmConvert.cxx')
-rw-r--r--src/pcm/PcmConvert.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pcm/PcmConvert.cxx b/src/pcm/PcmConvert.cxx
index 383df9156..0a3fa6816 100644
--- a/src/pcm/PcmConvert.cxx
+++ b/src/pcm/PcmConvert.cxx
@@ -24,18 +24,16 @@
#include "pcm_pack.h"
#include "audio_format.h"
+#include <glib.h>
+
#include <assert.h>
-#include <string.h>
#include <math.h>
-#include <glib.h>
#undef G_LOG_DOMAIN
#define G_LOG_DOMAIN "pcm"
PcmConvert::PcmConvert()
{
- memset(this, 0, sizeof(*this));
-
pcm_resample_init(&resample);
pcm_buffer_init(&format_buffer);