User Profile

Collapse

Profile Sidebar

Collapse
Torquemada
Torquemada
Last Activity: Mar 16 '06, 04:08 PM
Joined: Feb 25 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Torquemada
    replied to Playing sounds in java application
    in Java
    Using the sun.audio package seems to work much better, thanks for the link.
    See more | Go to post

    Leave a comment:


  • Torquemada
    replied to java hashtable array
    in Java
    try array.length
    See more | Go to post

    Leave a comment:


  • Torquemada
    replied to Playing sounds in java application
    in Java
    It´s a desktop application. Im making a space-shooter game, when you click the fire button the space ship shoots laser and a laser sound is played. You can shoot very fast so when you fire the second laser the other laser-sound is already playing and the new laser sound overlaps the old one. The problem is when I fire rapidly the application stops responding for a second as if it can´t handle so many sounds at a time.
    See more | Go to post

    Leave a comment:


  • Torquemada
    replied to Playing sounds in java application
    in Java
    This is the second forum I have asked the same question without any reply. Can nobody help?
    See more | Go to post

    Leave a comment:


  • Torquemada
    started a topic Playing sounds in java application
    in Java

    Playing sounds in java application

    Hello I want to know why my applications stops responding for approx. 1 sec when I play sounds rapidly.

    This is the method I use

    private void playSound(int index)
    {
    //sound.stop();
    sound = JApplet.newAudi oClip(url[index]);
    sound.play();
    }



    The index points to a specific URL array which keeps the location of the wav. file.
    If I play sounds...
    See more | Go to post
No activity results to display
Show More
Working...