Changeset 392 for trunk/src/fmod/fmod_audio.cc
- Timestamp:
- 06/11/15 16:23:41 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/fmod/fmod_audio.cc
r365 r392 88 88 89 89 90 nv::sound fmod::audio::load_sound( const st d::string& a_path )90 nv::sound fmod::audio::load_sound( const string_ref& a_path ) 91 91 { 92 92 FMOD_SYSTEM* system = (FMOD_SYSTEM*)m_system; 93 93 FMOD_SOUND* sample; 94 FMOD_RESULT fm_result = FMOD_System_CreateSound( system, a_path. c_str(), FMOD_3D, 0, &sample );94 FMOD_RESULT fm_result = FMOD_System_CreateSound( system, a_path.data(), FMOD_3D, 0, &sample ); 95 95 if ( fm_result != FMOD_OK ) 96 96 {
Note: See TracChangeset
for help on using the changeset viewer.