Results 1 to 2 of 2
  1. #1
    crikey is offline Senior Member
    Join Date
    Jul 2010
    Posts
    125
    Rep Power
    0

    Default Getting sound from sound card

    Is it possible to intercept sound information from what's being outputted from the sound card? For example, a song is being played from windows media player, how do i get that audio stream from the sound card in java?

  2. #2
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,840
    Rep Power
    5

    Default Re: Getting sound from sound card

    You don't, that's a highly OS-specific thing to do and Java does not do OS-specific things. You'd have to be lucky that you can find a third party solution (I doubt it) or resort to JNI/JNA, which means you need to write native (C++) code to do it.

Similar Threads

  1. Problems with sound in java and USB sound card
    By marblecatdog in forum New To Java
    Replies: 1
    Last Post: 04-19-2011, 12:02 PM
  2. Is it posible (Sound)
    By Dormage in forum Advanced Java
    Replies: 0
    Last Post: 11-26-2010, 07:52 PM
  3. audio capture from sound card
    By kievari in forum Advanced Java
    Replies: 0
    Last Post: 11-03-2010, 07:00 PM
  4. Controlling sound card 'stereo mix' feature
    By sid in forum Advanced Java
    Replies: 0
    Last Post: 10-29-2010, 11:33 AM
  5. Applets having sound
    By peiceonly in forum Java Applets
    Replies: 2
    Last Post: 03-31-2007, 09:55 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •