summaryrefslogtreecommitdiffstats
path: root/apps/recorder
diff options
context:
space:
mode:
authorBoris Gjenero <dreamlayers@rockbox.org>2011-12-19 20:12:52 +0000
committerBoris Gjenero <dreamlayers@rockbox.org>2011-12-19 20:12:52 +0000
commitfdc29d0ea4fbdd2cc1509a53122be7ec85cdb432 (patch)
tree3855b7ea3a288059458b847b4bdfabd5c48ccce4 /apps/recorder
parent7d61376ef80bc6ac7a817201729ee1e612625ef6 (diff)
downloadrockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.tar.gz
rockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.tar.bz2
rockbox-fdc29d0ea4fbdd2cc1509a53122be7ec85cdb432.zip
Add more INIT_ATTR and add config.h includes to header files with INIT_ATTR.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31370 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/recorder')
-rw-r--r--apps/recorder/pcm_record.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/recorder/pcm_record.h b/apps/recorder/pcm_record.h
index 3d9bb4c379..1ac6faefb2 100644
--- a/apps/recorder/pcm_record.h
+++ b/apps/recorder/pcm_record.h
@@ -22,6 +22,8 @@
#ifndef PCM_RECORD_H
#define PCM_RECORD_H
+#include "config.h"
+
/** Warnings **/
/* pcm (dma) buffer has overflowed */
#define PCMREC_W_PCM_BUFFER_OVF 0x00000001
@@ -49,7 +51,7 @@ void pcm_rec_error_clear(void);
results for consistency with the hardware codec version */
unsigned long pcm_rec_status(void);
unsigned long pcm_rec_get_warnings(void);
-void pcm_rec_init(void);
+void pcm_rec_init(void) INIT_ATTR;
int pcm_rec_current_bitrate(void);
int pcm_rec_encoder_afmt(void); /* AFMT_* value, AFMT_UNKNOWN if none */
int pcm_rec_rec_format(void); /* Format index or -1 otherwise */