diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/pcm_record.h | 4 |
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 */ |
50 | unsigned long pcm_rec_status(void); | 52 | unsigned long pcm_rec_status(void); |
51 | unsigned long pcm_rec_get_warnings(void); | 53 | unsigned long pcm_rec_get_warnings(void); |
52 | void pcm_rec_init(void); | 54 | void pcm_rec_init(void) INIT_ATTR; |
53 | int pcm_rec_current_bitrate(void); | 55 | int pcm_rec_current_bitrate(void); |
54 | int pcm_rec_encoder_afmt(void); /* AFMT_* value, AFMT_UNKNOWN if none */ | 56 | int pcm_rec_encoder_afmt(void); /* AFMT_* value, AFMT_UNKNOWN if none */ |
55 | int pcm_rec_rec_format(void); /* Format index or -1 otherwise */ | 57 | int pcm_rec_rec_format(void); /* Format index or -1 otherwise */ |