Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 11, 2005, 06:29 PM   #1
butcher
macrumors newbie
 
Join Date: Apr 2005
Accessing the Line_In or Microphone with Java

Hi,

I am trying to create a program that essentially tries to detect the Line-in or Microphone for any activity. I have been trying it with Java and tried to use Port.Info.MICROPHONE to get access to it but when I compile, I get errors. Any suggestions, pls?
butcher is offline   0 Reply With Quote
Old Apr 16, 2005, 11:28 PM   #2
jamdr
macrumors 6502a
 
jamdr's Avatar
 
Join Date: Jul 2003
Location: Bay Area
This is pretty easy to do. To capture sound from the microphone, you'll need to create an AudioFormat, TargetDataLine, and a few others. How exactly are you using Port.Info? If you post some code, I'll take a look at it.
jamdr is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Iphone 4 - Microphone and earpiece are not working with phone calls djemyoudjel iPhone Tips, Help and Troubleshooting 1 Nov 25, 2011 02:47 PM
Any way to access the iCloud photo stream? marcfolio Mac Applications and Mac App Store 1 Nov 19, 2011 12:39 AM
Where in the world to start with Java?! javahelp7 Mac Programming 17 Aug 29, 2008 04:28 PM
Is the USB or bluetooth accessible from the SDK? savar iPhone/iPad Programming 0 Aug 3, 2008 06:16 PM
Cocoa (Obj-C) with Java or Python laptin Mac Programming 2 Sep 30, 2007 01:49 PM


All times are GMT -5. The time now is 11:48 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC