The Artima Developer Community
Sponsored Link

Java Answers Forum
Problem with Java Sound API

1 reply on 1 page. Most recent reply: Jul 21, 2002 5:22 PM by Hiran

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Hiran

Posts: 41
Nickname: jclu
Registered: Mar, 2002

Problem with Java Sound API Posted: Jul 21, 2002 4:20 PM
Reply to this message Reply
Advertisement
When I call AudioSystem.getMixerInfo(), I don't seem to be getting the mixer that's installed on my system and actually used. It's a SiS 7018 Wave mixer, and I know it's installed and works since every other program I have that accesses the sound card plays sound and shows that it is accessing the SiS 7018 Wave mixer. I can't even seem to get access to the ports (ie, line out, line in, etc). If I try something like
   if (AudioSystem.isLineSupported(Port.Info.LINE_OUT))
   {
      //do something
   }

the do something part is never executed. The only mixers that show up are:

Java Sound Audio Engine
Microsoft Sound Mapper
Game Compatible Device
Voice Modem Wave #00 Line
Voice Modem Wave #00 Handset
WinOS,waveOut,multi threaded

But even for those mixers, there are no Lines associated with them. Does anyone know why the mixer on my sound card (it's a built in chip) isn't being recognised? Also, does anyone know why none of the other mixers have Lines associated with them? I'm using the Java Sound API that comes with the J2SDK 1.4.0

Thanks for the help.
Hiran


Hiran

Posts: 41
Nickname: jclu
Registered: Mar, 2002

Re: Problem with Java Sound API Posted: Jul 21, 2002 5:22 PM
Reply to this message Reply
I'm able to see the SiS 7018 Wave mixer now. I downloaded the newest SDK (1.4.1) and ended up having to restart my computer. I don't know if it is a combination of either, but I can see the mixer now. The only problem is that still none of the mixers on my system seem to have any Lines (target and source). That also means that I can't access my sound ports. Does anyone know why? Thanks for the help.
Hiran

Flat View: This topic has 1 reply on 1 page
Topic: JApplet and txt files Previous Topic   Next Topic Topic: Java getPrintJob

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use