• 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
Using AudioDeviceIOProc for Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using AudioDeviceIOProc for Java


  • Subject: Using AudioDeviceIOProc for Java
  • From: Angelista Loke <email@hidden>
  • Date: Thu, 10 Aug 2006 17:59:45 +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


  • Follow-Ups:
    • Re: Using AudioDeviceIOProc for Java
      • From: William Stewart <email@hidden>
  • Prev by Date: proper Property
  • Next by Date: AudioDeviceIOProc for Java
  • Previous by thread: Re: proper Property
  • Next by thread: Re: Using AudioDeviceIOProc for Java
  • Index(es):
    • Date
    • Thread