コード例 #1
0
string AudioDevice::registerSound(ci::DataSourceRef dataSource, bool looping, bool is3d, bool asStream)
{
    ci::fs::path relativePath = dataSource->getFilePath();
    if( relativePath.empty() )
        relativePath = ci::fs::path( dataSource->getFilePathHint() );
    return registerSound(relativePath, is3d, looping, asStream);
}