Reads a MP3 file
| 199 | |
| 200 | //! Reads a MP3 file |
| 201 | ILboolean ilLoadMp3(ILconst_string FileName) |
| 202 | { |
| 203 | ILHANDLE Mp3File; |
| 204 | ILboolean bMp3 = IL_FALSE; |
| 205 | |
| 206 | Mp3File = iopenr(FileName); |
| 207 | if (Mp3File == NULL) { |
| 208 | ilSetError(IL_COULD_NOT_OPEN_FILE); |
| 209 | return bMp3; |
| 210 | } |
| 211 | |
| 212 | bMp3 = ilLoadMp3F(Mp3File); |
| 213 | icloser(Mp3File); |
| 214 | |
| 215 | return bMp3; |
| 216 | } |
| 217 | |
| 218 | |
| 219 | //! Reads an already-opened MP3 file |
no test coverage detected