• 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
Cannot open two differernt audio lines simultaneously
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cannot open two differernt audio lines simultaneously


  • Subject: Cannot open two differernt audio lines simultaneously
  • From: "email@hidden" <email@hidden>
  • Date: Fri, 25 Apr 2008 14:43:34 +0200

Dear all,

I am trying to open two differernt audio lines simultaneously. Unfortunately the runtime throws this exception:

javax.sound.sampled.LineUnavailableException: Another capture device is already open
at com.sun.media.sound.SimpleInputDevice.nOpen(Native Method)
at com.sun.media.sound.SimpleInputDevice.implOpen(SimpleInputDevice.java:275)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:286)
at com.sun.media.sound.AbstractMixer.open(AbstractMixer.java:334)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:103)
at com.sun.media.sound.SimpleInputDevice$InputDeviceDataLine.open(SimpleInputDevice.java:632)
at com.sun.media.sound.AbstractDataLine.open(AbstractDataLine.java:139)
at com.fasttvr.audio.CaptureTool$CaptureThread.run(CaptureTool.java:240)


Both audio lines I have tried can be opened successfully when the other one has been closed before. It is even possible to open a single line more that one time. But it is not possible to open the two lines simultaneously. Why not? Same code is running under XP/Linux without any problem!

I have been trying the OS X 10.5 default (build 1.5.0_13-b05-237) and the 1.6 developer preview (build 1.6.0_04-b12-45-optimized) both are faulty.

I highly appreciate any comment on this.

regards

spachner

_______________________________________________
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


  • Prev by Date: Re: Lost MIDI messages
  • Next by Date: Re: AudioQueue: detecting buffer underrun (again...)
  • Previous by thread: Re: Lost MIDI messages
  • Next by thread: Re: Cannot open two differernt audio lines simultaneously
  • Index(es):
    • Date
    • Thread