Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

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


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
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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Some apps prompt to install Java 6 even when Java 7 is installed MacMan988 OS X Mavericks (10.9) 1 Apr 18, 2014 07:56 AM
Java 6 or Java 7 for OSX Mavericks for your Macbook Pro? Starfyre MacBook Pro 3 Dec 22, 2013 03:49 PM
Java 6.x security risk (?) vs Java 7.x and broken apps w/ v7.x installs? mgiamo Mac Basics and Help 1 Dec 15, 2013 03:48 PM
Chrome on OS X -- Java plugin / Java 7 vs Java 6 Issue booyahbooyah Mac Applications and Mac App Store 4 May 31, 2013 09:13 AM
Installed Java 7.07 but doesn't show up in Java preferences? -mattias- OS X 10.8 Mountain Lion 21 Aug 31, 2012 04:49 PM

Forum Jump

All times are GMT -5. The time now is 08:42 PM.

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

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