SGladys / mediacomp-jes

Automatically exported from code.google.com/p/mediacomp-jes
0 stars 0 forks source link

Errors on sound format incompatibility not shown #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When attempting to open a 4bit wav file, no message is displayed in JES,
but the sound object is not properly instantiated, leading to null pointer
exceptions at any later point.  It turns out that an exception is displayed
on the console about the inability to read this file format, but we really
need that output to appear in JES.

Original issue reported on code.google.com by bjdorn@gmail.com on 5 Aug 2009 at 2:27

GoogleCodeExporter commented 8 years ago

Original comment by bjdorn@gmail.com on 14 Aug 2009 at 6:25

GoogleCodeExporter commented 8 years ago
I'm attaching a 4bit wav file as an example to demonstrate the problem.

Original comment by bjdorn@gmail.com on 14 Aug 2009 at 8:20

Attachments:

GoogleCodeExporter commented 8 years ago
I've made the necessary changes to Sound and SimpleSound to get this working.  
The
exceptions were not making it back to the JES interpreter, so nothing was 
displayed.
 My change improve things, but the error messages could still be better.

Original comment by bjdorn@gmail.com on 3 Dec 2009 at 7:35