common lmc errors

Ed Sweetman <[email protected]>
Newsgroups gmane.comp.audio.zinf.devel
Message-ID <[email protected]>
These are lmc errors that are used across lmc's and it should go in 
lmc.h instead of duplicating the code.

Other lmc's will be using these too.
top2.patch (text/plain, 2.7 KB)
diff -Naur -x '*.lmc' -x '*.lo' -x .deps -x .libs -x 'auto*' -x 'Make*' -x zinf -x '*.la' -x '*.lai' -x CVS -x po -x '*.so' -x '*.o' -x 'config*' ./zinf_cvs-test/lmc/include/lmc.h ./zinf/lmc/include/lmc.h
--- ./zinf_cvs-test/lmc/include/lmc.h	2003-02-05 12:52:32.000000000 -0500
+++ ./zinf/lmc/include/lmc.h	2003-03-21 18:57:15.000000000 -0500
@@ -31,6 +31,18 @@
 #include "errors.h"
 #include "eventdata.h"
 
+
+enum                                                                            
+{                                                                               
+    lmcError_MinimumError = 1000,                                               
+    lmcError_DecodeFailed,                                                      
+    lmcError_AudioDecodeInitFailed,                                             
+    lmcError_DecoderThreadFailed,                                               
+    lmcError_PMIError,                                                          
+    lmcError_PMOError,                                                          
+    lmcError_MaximumError                                                       
+}; 
+
 typedef struct DecodeInfo
 {
   uint32_t downsample; /* 0 = full, 1 = half, 2 = quarter */
diff -Naur -x '*.lmc' -x '*.lo' -x .deps -x .libs -x 'auto*' -x 'Make*' -x zinf -x '*.la' -x '*.lai' -x CVS -x po -x '*.so' -x '*.o' -x 'config*' ./zinf_cvs-test/lmc/wav/include/wavlmc.h ./zinf/lmc/wav/include/wavlmc.h
--- ./zinf_cvs-test/lmc/wav/include/wavlmc.h	2003-03-14 20:01:52.000000000 -0500
+++ ./zinf/lmc/wav/include/wavlmc.h	2003-03-25 15:35:14.000000000 -0500
@@ -72,17 +72,6 @@
 };
 #endif
 
-enum
-{
-   lmcError_MinimumError = 1000,
-   lmcError_DecodeFailed,
-   lmcError_AudioDecodeInitFailed,
-   lmcError_DecoderThreadFailed,
-   lmcError_PMIError,
-   lmcError_PMOError,
-   lmcError_MaximumError
-};
-
 class     WavLMC:public LogicalMediaConverter
 {
 
diff -Naur -x '*.lmc' -x '*.lo' -x .deps -x .libs -x 'auto*' -x 'Make*' -x zinf -x '*.la' -x '*.lai' -x CVS -x po -x '*.so' -x '*.o' -x 'config*' ./zinf_cvs-test/lmc/xingmp3/include/xinglmc.h ./zinf/lmc/xingmp3/include/xinglmc.h
--- ./zinf_cvs-test/lmc/xingmp3/include/xinglmc.h	2003-03-14 20:01:52.000000000 -0500
+++ ./zinf/lmc/xingmp3/include/xinglmc.h	2003-03-21 18:56:49.000000000 -0500
@@ -70,16 +70,6 @@
     unsigned char *toc;  // pointer to unsigned char toc_buffer[100]
                          // may be NULL if toc not desired
    }   XHEADDATA;
-   enum
-   {
-     lmcError_MinimumError = 1000,
-     lmcError_DecodeFailed,
-     lmcError_AudioDecodeInitFailed,
-     lmcError_DecoderThreadFailed,
-     lmcError_PMIError,
-     lmcError_PMOError,
-     lmcError_MaximumError
-   };
 
 class     XingLMC:public LogicalMediaConverter
 {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.