Jump to content

Recommended Posts

Posted

Console Log:

 

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'CodecJOrbis'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Ogg header not recognized in method 'readHeader'.

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'CodecJOrbis'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Error reading the header

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'SourceLWJGL OpenAL'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Audio Format null in method 'play'

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'CodecJOrbis'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Ogg header not recognized in method 'readHeader'.

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'CodecJOrbis'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Error reading the header

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'SourceLWJGL OpenAL'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Audio Format null in method 'play'

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'CodecJOrbis'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Ogg header not recognized in method 'readHeader'.

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'CodecJOrbis'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Error reading the header

2013-12-02 18:08:08 [iNFO] [sTDOUT] Error in class 'SourceLWJGL OpenAL'

2013-12-02 18:08:08 [iNFO] [sTDOUT]    Audio Format null in method 'play'

 

 

This happened right after I ran the code:

    public void playMusic(SoundPoolEntry currentSong) {
        currentSong = SoundEvent.getResult(new PlayBackgroundMusicEvent(this, currentSong));
        if (currentSong != null)
        {
        this.sndSystem.backgroundMusic("BgMusic", currentSong.getSoundUrl(), currentSong.getSoundName(), false);
        this.sndSystem.setVolume("BgMusic", this.options.musicVolume);
        this.sndSystem.play("BgMusic");
        }
    }

 

currentSong's URL is: file:/Development/Minecraft/forge/mcp/jars/./Music/IRemember.ogg

currentSong's Name is: IRemember.ogg

 

EDIT: I think the problem might have to do with my .ogg file. (I converted it from .mp3 to .ogg) Going to try converting it with another program to see if there is any difference.

 

EDIT: Yes it did! Turns out that the original program I used was the problem.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.