summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-10-31 21:09:34 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-10-31 21:09:34 +0000
commit56c4e9fa600557242d8b78f5fd8e32c2245b76fc (patch)
treef8558778a302f89c3e819e66e86577a5e37c3660 /apps/recorder
parent40ed5f57d9be61f1200026e9b0f944a9718111c1 (diff)
downloadrockbox-56c4e9fa600557242d8b78f5fd8e32c2245b76fc.tar.gz
rockbox-56c4e9fa600557242d8b78f5fd8e32c2245b76fc.tar.bz2
rockbox-56c4e9fa600557242d8b78f5fd8e32c2245b76fc.zip
Separate mas35xx lowlevel stuff. Move SH specific bits to target tree. FS#11189 by me.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28425 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/peakmeter.c1
-rw-r--r--apps/recorder/peakmeter.h1
-rw-r--r--apps/recorder/recording.c1
3 files changed, 1 insertions, 2 deletions
diff --git a/apps/recorder/peakmeter.c b/apps/recorder/peakmeter.c
index 2450559b8d..aacfc23cee 100644
--- a/apps/recorder/peakmeter.c
+++ b/apps/recorder/peakmeter.c
@@ -22,7 +22,6 @@
#if defined(SIMULATOR) && (CONFIG_CODEC != SWCODEC)
#include <stdlib.h> /* sim uses rand for peakmeter simulation */
#endif
-#include "mas.h"
#include "thread.h"
#include "kernel.h"
#include "settings.h"
diff --git a/apps/recorder/peakmeter.h b/apps/recorder/peakmeter.h
index 308e5fb916..4abcc154f3 100644
--- a/apps/recorder/peakmeter.h
+++ b/apps/recorder/peakmeter.h
@@ -22,6 +22,7 @@
#define __PEAKMETER_H__
#define PEAK_METER_FPS 20
+#define MAX_PEAK 0x8000
/*#define PM_DEBUG */
#ifdef PM_DEBUG
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 9adb3c1839..fdeae03f9b 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -42,7 +42,6 @@
#include "pcm_record.h"
#include "recording.h"
#include "mp3_playback.h"
-#include "mas.h"
#include "button.h"
#include "kernel.h"
#include "settings.h"