Facebook Twitter YouTube Frictional Games | Forum | Newsletter | Dev Blog | Dev Wiki | Support


Post Reply 
Sounds crashing the game
Author Message
Jack1 Offline
Junior Member

Posts: 24
Joined: Dec 2011
Reputation: 0
Post: #3
RE: Sounds crashing the game

OK, i think the problem is with loading the actual files. The error seems to be in OAL_Loaders.cpp at line 77
return gpDevice->LoadStream(asFilename);

full function:
cOAL_Stream* OAL_Stream_Load(const string &asFilename)
{
    if (gpDevice == NULL) return NULL;

       return gpDevice->LoadStream(asFilename);
}

Seems to have problems here too:
    /////////////////////////////////
    //Create from file
    if(pStream->CreateFromFile(asFilename))
    {
        mlstStreams.push_back(pStream);
        //hpl::Log("Loaded stream %s\n", pStream->msName.c_str());
    }
    else
    {
        delete pStream;
        pStream = NULL;
    }

    return pStream;

}
(This post was last modified: 05-05-2012 09:13 PM by Jack1.)
05-01-2012 08:34 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Sounds crashing the game - Jack1 - 04-30-2012, 09:38 PM
RE: Sounds crashing the game - Urkle - 04-30-2012, 10:07 PM
RE: Sounds crashing the game - Jack1 - 05-01-2012 08:34 AM
RE: Sounds crashing the game - Jack1 - 05-06-2012, 04:12 PM



User(s) browsing this thread: 1 Guest(s)