diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/pcm_record.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/apps/recorder/pcm_record.h b/apps/recorder/pcm_record.h index f805313fe5..f29d0a5da8 100644 --- a/apps/recorder/pcm_record.h +++ b/apps/recorder/pcm_record.h | |||
@@ -22,30 +22,6 @@ | |||
22 | #ifndef PCM_RECORD_H | 22 | #ifndef PCM_RECORD_H |
23 | #define PCM_RECORD_H | 23 | #define PCM_RECORD_H |
24 | 24 | ||
25 | #define DMA_REC_ERROR_DMA (-1) | ||
26 | #ifdef HAVE_SPDIF_REC | ||
27 | #define DMA_REC_ERROR_SPDIF (-2) | ||
28 | #endif | ||
29 | |||
30 | /** Warnings **/ | ||
31 | /* pcm (dma) buffer has overflowed */ | ||
32 | #define PCMREC_W_PCM_BUFFER_OVF 0x00000001 | ||
33 | /* encoder output buffer has overflowed */ | ||
34 | #define PCMREC_W_ENC_BUFFER_OVF 0x00000002 | ||
35 | /** Errors **/ | ||
36 | /* failed to load encoder */ | ||
37 | #define PCMREC_E_LOAD_ENCODER 0x80001000 | ||
38 | /* error originating in encoder */ | ||
39 | #define PCMREC_E_ENCODER 0x80002000 | ||
40 | /* filename queue has desynced from stream markers */ | ||
41 | #define PCMREC_E_FNQ_DESYNC 0x80004000 | ||
42 | /* I/O error has occurred */ | ||
43 | #define PCMREC_E_IO 0x80008000 | ||
44 | #ifdef DEBUG | ||
45 | /* encoder has written past end of allotted space */ | ||
46 | #define PCMREC_E_CHUNK_OVF 0x80010000 | ||
47 | #endif /* DEBUG */ | ||
48 | |||
49 | /** General functions for high level codec recording **/ | 25 | /** General functions for high level codec recording **/ |
50 | /* pcm_rec_error_clear is deprecated for general use. audio_error_clear | 26 | /* pcm_rec_error_clear is deprecated for general use. audio_error_clear |
51 | should be used */ | 27 | should be used */ |