try to make mp3decoder compile
[IRC.git] / Robust / src / Tests / ssJava / mp3decoder / Decoder.java
index 4d0643597566c589f0be1a28abdebc9c0fc3ecaa..19b2050717a519f9d44ac007f2a67c60bc7cc0a5 100644 (file)
@@ -319,14 +319,19 @@ public class Decoder implements DecoderErrors
                \r
                public Object clone()\r
                {\r
-                       try\r
-                       {\r
-                               return super.clone();\r
-                       }\r
-                       catch (CloneNotSupportedException ex)\r
-                       {                               \r
-                               throw new InternalError(this+": "+ex);\r
-                       }\r
+                 //TODO: need to have better clone method\r
+                   Params clone=new Params();\r
+                   clone.outputChannels=outputChannels;\r
+                   clone.equalizer=equalizer;\r
+                   return clone;\r
+//                     try\r
+//                     {\r
+//                             return super.clone();\r
+//                     }\r
+//                     catch (CloneNotSupportedException ex)\r
+//                     {                               \r
+//                             throw new InternalError(this+": "+ex);\r
+//                     }\r
                }\r
                                \r
                public void setOutputChannels(OutputChannels out)\r