• 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
QT Sample Code Problem?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

QT Sample Code Problem?


  • Subject: QT Sample Code Problem?
  • From: "Mark Hamilton" <email@hidden>
  • Date: Fri, 26 Jul 2002 16:06:19 -0600

I am new at using the audio input devices on the Macintosh, so I decided to start by learning how QuickTime for Java works. I am trying the "SoundMemRecord" sample under OS X on a PowerBook G4. I don't have an external mic so I am trying to use the Built-in mic. I get the following exception when I run the application. What am I doing wrong?


Make sure you have connected an Input device or have a built in audio input device.
quicktime.sound.SoundException[QTJava:5.0.1g
3],-228=siBadDeviceName,QT.vers:5028000
at quicktime.sound.SoundException.checkError(SoundException.java:38)
at quicktime.sound.SPBDevice.allocate(SPBDevice.java:75)
at quicktime.sound.SPBDevice.<init>(SPBDevice.java:64)
at SoundMemRecord.<init>(SoundMemRecord.java:36)
at SoundMemRecord.main(SoundMemRecord.java:22)
at com.apple.mrj.JManager.JMStaticMethodDispatcher.run(JMAWTContextImpl.java)
at java.lang.Thread.run(Thread.java)


Thanks in advance!

Mark Hamilton
email@hidden
_______________________________________________
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.

  • Prev by Date: Re: Audio Units - "fanout" and buses
  • Next by Date: Re: Audio Unit suggestions
  • Previous by thread: Re: Audio Units - "fanout" and buses
  • Next by thread: DMA Address Plug-In for HAL
  • Index(es):
    • Date
    • Thread