Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 2, 2009, 4:57:24 PM (15 years ago)
Author:
rgrieder
Message:

Added buffer buffering: Sounds are only loaded into one buffer and then reused.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/core/Resource.h

    r5929 r6203  
    8686            bool bSearchGroupsIfNotFound = false);
    8787
     88        //! Similar to open(string, string, bool), but with a fileInfo struct
     89        static DataStreamPtr open(shared_ptr<ResourceInfo> fileInfo,
     90            bool bSearchGroupsIfNotFound = false)
     91        {
     92            return open(fileInfo->filename, fileInfo->group, bSearchGroupsIfNotFound);
     93        }
     94
    8895        /**
    8996        @brief
Note: See TracChangeset for help on using the changeset viewer.