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

Reply
 
Thread Tools Search this Thread Display Modes
Old Apr 11, 2005, 07: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 17, 2005, 12:28 AM   #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

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 08:56 AM
Java 6 or Java 7 for OSX Mavericks for your Macbook Pro? Starfyre MacBook Pro 3 Dec 22, 2013 04: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 04: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 10: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 05:49 PM

Forum Jump

All times are GMT -5. The time now is 06:56 PM.

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

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