Thread: [NEW THREAD]Music keeps looping and doesn't stop

Results 1 to 4 of 4
  1. #1 [NEW THREAD]Music keeps looping and doesn't stop 
    ⚓Manic-Owner⚓


    Join Date
    Nov 2007
    Posts
    2,711
    Thanks given
    47
    Thanks received
    9
    Rep Power
    650
    Here's my void.

    Code:
    public void frame74(int music)
    {
    outStream.createFrame(74);//this sends the frame
    outStream.writeWordBigEndian(music);//this is the music id
    }
    But whenever I play a sound it keeps repeating. I also got the method to stop music from working, I tried also using thread.sleep timers to delay the method but they were fucking up.
    MY DISCORD:
    bluejay#1504
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    Code:
    	    public void frame174(int i1, int i2, int i3) { // Sound method
            outStream.createFrame(174);
            outStream.writeWord(i1);
            outStream.writeByte(i2);
            outStream.writeWord(i3);
            updateRequired = true;
            appearanceUpdateRequired = true;
        }
    Reply With Quote  
     

  3. #3  
    ⚓Manic-Owner⚓


    Join Date
    Nov 2007
    Posts
    2,711
    Thanks given
    47
    Thanks received
    9
    Rep Power
    650
    That's sound affects, not music, music is frame74, sound is 174.
    MY DISCORD:
    bluejay#1504
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Nov 2008
    Posts
    2,180
    Thanks given
    148
    Thanks received
    99
    Rep Power
    2004
    Oh my bad man, sorry.
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

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