private bool GetAPETags(int stream) { tags = Bass.BASS_ChannelGetTagsAPE(stream); if (tags != null) { for (int i = 0; i < tags.Length; i++) { frameId = tags[i].Split('=')[0]; value = tags[i].Split('=')[1]; switch (frameId) { case "Title": title = value; break; case "Artist": artist = value; break; case "Album": album = value; break; case "Comment": comment = value; break; case "Year": year = value; break; case "Genre": genre = value; break; } } BASS_TAG_APE_BINARY[] temp = Bass.BASS_ChannelGetTagsAPEBinary(stream); return(true); } return(false); }