AudioDeviceIOProc for Java
AudioDeviceIOProc for Java
- Subject: AudioDeviceIOProc for Java
- From: Loke Hui Yi <email@hidden>
- Date: Thu, 10 Aug 2006 18:06:43 +0800
Hi there,
I'm a newbie to CoreAudio and have been trying to get some stuff
running for it. Namely, I'm trying to read data from the Output line.
Any suggestions on how to go about doing it?
Also, I've been trying out this bunch of code:
AudioDevice ad = AudioHardware.getDefaultOutputDevice();
AudioProc proc = new AudioProc();
ad.addIOProc(proc);
ad.start(proc);
Thread.sleep(10000);
ad.stop(proc);
ad.dispose();
AudioDevice.disposeAll();
AudioProc is just a skeleton class implementing execute.
However, I keep getting a bus error or an invalid memory access
error. Is there anything I'm doing wrong? Something I forgot to set?
Please shed some light on the issue.
Thanks
Rgds
Angelista
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden