AudioDeviceIOProc's INT execute(..) [JAVA]
AudioDeviceIOProc's INT execute(..) [JAVA]
- Subject: AudioDeviceIOProc's INT execute(..) [JAVA]
- From: Rolley <email@hidden>
- Date: Mon, 21 Jan 2002 20:49:38 -0500
Hi,
after some meditations and learning of Cocoa, I pursue my quest, playing
sound from standard input to standard output ! Being "fluent" with Java, I
am doing this in Java. By the way, is there any issue to using Java ? I
guess it might be slower though I've been amazed by Java on any
non-graphical application.
More important than that, though, I am wondering what is that "int"
returned in
int execute(AudioDevice device, AudioTimeStamp inNow,
AudioBufferList inInputData, AudioTimeStamp inInputTime, AudioBufferList o
utOutputData, AudioTimeStamp inOutputTime)
I've seen that in Objective-C, such a fonction returns noErr(OSStatus)
when, well, there is no error. So is there an Java-equivalent of noErr, or
is the "int" related to something else ?
Thanks,
Rolley