summaryrefslogtreecommitdiffstats
path: root/apps/recorder/peakmeter.h
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2002-09-27 09:44:51 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2002-09-27 09:44:51 +0000
commitf11702921fc137fb9eb08b3311bc4264ed6a2fe2 (patch)
treed4547128f405131cdd2a67f5d2ae00fe10b547bd /apps/recorder/peakmeter.h
parentbb572c44121e48d9d54411dff9e0f8dce015e550 (diff)
downloadrockbox-f11702921fc137fb9eb08b3311bc4264ed6a2fe2.tar.gz
rockbox-f11702921fc137fb9eb08b3311bc4264ed6a2fe2.zip
Philip Pertermanns peak meter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2437 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder/peakmeter.h')
-rw-r--r--apps/recorder/peakmeter.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/apps/recorder/peakmeter.h b/apps/recorder/peakmeter.h
new file mode 100644
index 0000000000..8d894cd920
--- /dev/null
+++ b/apps/recorder/peakmeter.h
@@ -0,0 +1,29 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * $Id$
+ *
+ * Copyright (C) 2002 by Philipp Pertermann
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+#ifndef __PEAKMETER_H__
+#define __PEAKMETER_H__
+
+extern bool peak_meter_enabled;
+
+extern void peak_meter_init(void);
+extern void peak_meter_playback(bool playback);
+extern void peak_meter_draw(int x, int y, int width, int height);
+extern void peak_meter_set_clip_hold(int time);
+
+#endif /* __PEAKMETER_H__ */