Results 1 to 2 of 2
  1. #1
    Saran185 is offline Member
    Join Date
    Jan 2011
    Posts
    36
    Rep Power
    0

    Default pause audio in java

    hi..
    am quite new to sound applications in java. I want a audio control panel as output. i.e. if i click play button audio should play, if i click stop audio should stop and if i click pause audio should pause/hold until the play or resume button is clicked. i have done with playing and stopping audio. but could not pause and resume the audio . i used audioClip interface to play audio. functions i used were clip.play(), clip.stop(). but clip.pause or clip.resume() does not exist in api.
    so can anyone suggest me any other better idea. pls...

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,987
    Rep Power
    9

    Default

    What happens when you call clip.stop() and then clip.play()?

    Anyway, if you want help with this, you'll have to provide an SSCCE that demonstrates what you're actually doing.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. Audio processing in Java?
    By blind melon in forum New To Java
    Replies: 11
    Last Post: 12-02-2010, 11:22 PM
  2. is there a way to pause java?
    By zhangster in forum New To Java
    Replies: 4
    Last Post: 04-24-2010, 07:38 PM
  3. Make Java Pause
    By FlyNn in forum New To Java
    Replies: 2
    Last Post: 02-10-2010, 10:18 AM
  4. Streaming Audio in Java Application?
    By jfxdd in forum Advanced Java
    Replies: 2
    Last Post: 11-24-2009, 07:13 PM
  5. Problems with Java Audio Recording
    By pars1987@gmail.com in forum Advanced Java
    Replies: 2
    Last Post: 03-27-2009, 10:18 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
  •