public RESULT getTag (string name, int index, out TAG tag) { return FMOD_Sound_GetTag(rawPtr, name, index, out tag); } public RESULT getOpenState (out OPENSTATE openstate, out uint percentbuffered, out bool starving, out bool diskbusy)
//Returns the song name retrieved by the tag "Artist". //Some additional checks must be made here to ensure no //garbage data is allowed through. If there is no data in the //artist tag, garbage is returned. Still have to code around //that for the C# version public string getArtistName() { string title; audio.getTag("", 0, ref tag); audio.getTag("ARTIST", 0, ref tag); title = tag.data.ToString(); //if (title && strcmp(title, "major_brand") != 0 && stringValid(title)) // return title; //else // return "none"; return(title); }