4 static char *FMOD_ErrorString(int errcode)
8 case FMOD_ERR_NONE: return "No errors";
9 case FMOD_ERR_BUSY: return "Cannot call this command after FSOUND_Init. Call FSOUND_Close first.";
10 case FMOD_ERR_UNINITIALIZED: return "This command failed because FSOUND_Init was not called";
11 case FMOD_ERR_PLAY: return "Playing the sound failed.";
12 case FMOD_ERR_INIT: return "Error initializing output device.";
13 case FMOD_ERR_ALLOCATED: return "The output device is already in use and cannot be reused.";
14 case FMOD_ERR_OUTPUT_FORMAT: return "Soundcard does not support the features needed for this soundsystem (16bit stereo output)";
15 case FMOD_ERR_COOPERATIVELEVEL: return "Error setting cooperative level for hardware.";
16 case FMOD_ERR_CREATEBUFFER: return "Error creating hardware sound buffer.";
17 case FMOD_ERR_FILE_NOTFOUND: return "File not found";
18 case FMOD_ERR_FILE_FORMAT: return "Unknown file format";
19 case FMOD_ERR_FILE_BAD: return "Error loading file";
20 case FMOD_ERR_MEMORY: return "Not enough memory ";
21 case FMOD_ERR_VERSION: return "The version number of this file format is not supported";
22 case FMOD_ERR_INVALID_PARAM: return "An invalid parameter was passed to this function";
23 case FMOD_ERR_NO_EAX: return "Tried to use an EAX command on a non EAX enabled channel or output.";
24 case FMOD_ERR_CHANNEL_ALLOC: return "Failed to allocate a new channel";
25 case FMOD_ERR_RECORD: return "Recording not supported on this device";
26 case FMOD_ERR_MEDIAPLAYER: return "Required Mediaplayer codec is not installed";
28 default : return "Unknown error";