/* Currently an explicit start is required. Perhaps make it so this is started by default, or maybe start it when the first sound is started? Maybe make it an option? */
result=ma_engine_start(&engine);/* Do we want the engine to be started by default? */
if(result!=MA_SUCCESS){
ma_engine_uninit(&engine);
return(int)result;
}
/* We can load our resource after starting the engine - the engine will deal with loading everything properly. */