148149150151152153154155156157158
if (sound == null || sound.length < 5) { throw new NotInMP3Format(); } DefineSound ds = new DefineSound(); ds.format = 2; // MP3 ds.data = sound; ds.size = 1; // always 16-bit for compressed formats ds.name = symbolName;