Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Sounds crashing the game
Jack1 Offline
Junior Member

Posts: 25
Threads: 12
Joined: Dec 2011
Reputation: 0
#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


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



Users browsing this thread: 1 Guest(s)