summaryrefslogtreecommitdiff
path: root/apps/recorder
diff options
context:
space:
mode:
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 @@
22#ifndef PCM_RECORD_H 22#ifndef PCM_RECORD_H
23#define PCM_RECORD_H 23#define PCM_RECORD_H
24 24
25#include "config.h"
26
25/** Warnings **/ 27/** Warnings **/
26/* pcm (dma) buffer has overflowed */ 28/* pcm (dma) buffer has overflowed */
27#define PCMREC_W_PCM_BUFFER_OVF 0x00000001 29#define PCMREC_W_PCM_BUFFER_OVF 0x00000001
@@ -49,7 +51,7 @@ void pcm_rec_error_clear(void);
49 results for consistency with the hardware codec version */ 51 results for consistency with the hardware codec version */
50unsigned long pcm_rec_status(void); 52unsigned long pcm_rec_status(void);
51unsigned long pcm_rec_get_warnings(void); 53unsigned long pcm_rec_get_warnings(void);
52void pcm_rec_init(void); 54void pcm_rec_init(void) INIT_ATTR;
53int pcm_rec_current_bitrate(void); 55int pcm_rec_current_bitrate(void);
54int pcm_rec_encoder_afmt(void); /* AFMT_* value, AFMT_UNKNOWN if none */ 56int pcm_rec_encoder_afmt(void); /* AFMT_* value, AFMT_UNKNOWN if none */
55int pcm_rec_rec_format(void); /* Format index or -1 otherwise */ 57int pcm_rec_rec_format(void); /* Format index or -1 otherwise */