• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
AudioDeviceIOProc for Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Prev by Date: AudioDeviceIOProc for Java
  • Next by Date: covertInputSamples after detaching audio streams
  • Previous by thread: AudioDeviceIOProc for Java
  • Next by thread: MakeConnection Question
  • Index(es):
    • Date
    • Thread