Search:

Type: Posts; User: nivangerow

Search: Search took 0.27 seconds.

  1. Re: Getting audio stream to play from jar file instead of system directory?

    My code in the OP had ContinuousAudioDataStream and I wanted it to play from the jar. But never mind I think this thread is solved because I came up with something similar but it reads the files off...
  2. Re: Getting audio stream to play from jar file instead of system directory?

    The nvm was for playing the sound/song. Now i have to loop it. I tried next to nothing because I don't know what to type in the search box. I searched for "java play sound and loop" but that had...
  3. Re: Getting audio stream to play from jar file instead of system directory?

    There is no problem, I need to know how to loop it thats all.
  4. Re: Getting audio stream to play from jar file instead of system directory?

    Is there any1 that can help me?
  5. Re: Getting audio stream to play from jar file instead of system directory?

    So is there any way i can loop the sound/song?
  6. Re: Getting audio stream to play from jar file instead of system directory?

    Nvm, i found out how to play the sound/song, now how do I loop it?
    This is my code so far:

    package net.nivangerow.Ball;
    import sun.audio.*;
    import java.io.*;

    public class SoundManager {...
  7. Re: Getting audio stream to play from jar file instead of system directory?

    Sorry I cant do this live person stuff, im scared about that. Also I can't play football with you because I dont know where you live so yeah.
    And you don't know the cause of the error? Im gonna...
  8. Re: Getting audio stream to play from jar file instead of system directory?

    help please!
  9. Re: Getting audio stream to play from jar file instead of system directory?

    package net.nivangerow.Ball;
    import sun.audio.*;
    import java.io.*;

    public class SoundManager {
    public SoundManager(String music)
    {
    AudioStream as;
    AudioPlayer ap = AudioPlayer.player;...
  10. Re: Getting audio stream to play from jar file instead of system directory?

    Bump help please D:
  11. Re: Getting audio stream to play from jar file instead of system directory?

    Sorry for the bump but I really need help :( please...
  12. Re: Getting audio stream to play from jar file instead of system directory?

    With this code:



    package net.nivangerow.Ball;
    import sun.audio.*;
    import java.io.*;

    public class SoundManager {
    public SoundManager(String music)
  13. Re: Getting audio stream to play from jar file instead of system directory?

    Thanks ill try that and report back.
  14. Re: Getting audio stream to play from jar file instead of system directory?

    Im sorry that I am being a real noob right now, but I don't get what you want me to do with the instance thing...
    Do you mean I should make a static object of the ClassLoader class?
  15. Re: Getting audio stream to play from jar file instead of system directory?

    I dont get half of your terminology... Is there any way you can show me how to do it?
  16. Re: Getting audio stream to play from jar file instead of system directory?

    Where would I use that in the code i posted in the op?

    [edit]
    I get this error

    "Cannot make a static reference to the non-static method getResourceAsStream(String) from the type ClassLoader"
    ...
  17. Getting audio stream to play from jar file instead of system directory?

    Is it possible? This is my code and I just cant get it to work, I followed a tutorial on youtube and it came out with this code:



    package net.nivangerow.Ball;
    import sun.audio.*;
    import...
Results 1 to 17 of 17