What exception to launch when AudioConverterDataSupplier fails?
What exception to launch when AudioConverterDataSupplier fails?
- Subject: What exception to launch when AudioConverterDataSupplier fails?
- From: Hugues Pisapia <email@hidden>
- Date: Wed, 17 Dec 2003 22:55:16 +0100
Hi there,
I am implementing the com.apple.toolbox.AudioConverterDataSupplier
interface to feed an AudioConverter with data comming from a
java.io.InputStream.
When some Exception occurs while reading in this InputStream, I though
that throwing a 'new CAException(myExc.toString())' would make the
AudioConverter informed of my problem... However, it resulted with a
complete crash of the application :-(
I went into the documentation and found QA1317 talking about how to
inform the AC that no more data is available. But I did not find
anything about what to return... Can someone tell me about that? I
preferred not my application to crash when something like that occur.
Thanks,
Hugues
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.