| 703 | } |
| 704 | |
| 705 | const char * Soloud::getErrorString(result aErrorCode) const |
| 706 | { |
| 707 | switch (aErrorCode) |
| 708 | { |
| 709 | case SO_NO_ERROR: return "No error"; |
| 710 | case INVALID_PARAMETER: return "Some parameter is invalid"; |
| 711 | case FILE_NOT_FOUND: return "File not found"; |
| 712 | case FILE_LOAD_FAILED: return "File found, but could not be loaded"; |
| 713 | case DLL_NOT_FOUND: return "DLL not found, or wrong DLL"; |
| 714 | case OUT_OF_MEMORY: return "Out of memory"; |
| 715 | case NOT_IMPLEMENTED: return "Feature not implemented"; |
| 716 | /*case UNKNOWN_ERROR: return "Other error";*/ |
| 717 | } |
| 718 | return "Other error"; |
| 719 | } |
| 720 | |
| 721 | |
| 722 | float * Soloud::getWave() |