Exemplo n.º 1
0
 public bool LoadID3(TID3Version Id3Version, ref TID3Info Info)
 {
     ZPlay.TID3Info_Internal pId3Info = new ZPlay.TID3Info_Internal();
     if (ZPlay.zplay_LoadID3W(this.objptr, Convert.ToInt32((int)Id3Version), ref pId3Info) != 1)
     {
         return(false);
     }
     Info.Album   = Marshal.PtrToStringUni(pId3Info.Album);
     Info.Artist  = Marshal.PtrToStringUni(pId3Info.Artist);
     Info.Comment = Marshal.PtrToStringUni(pId3Info.Comment);
     Info.Genre   = Marshal.PtrToStringUni(pId3Info.Genre);
     Info.Title   = Marshal.PtrToStringUni(pId3Info.Title);
     Info.Track   = Marshal.PtrToStringUni(pId3Info.Track);
     Info.Year    = Marshal.PtrToStringUni(pId3Info.Year);
     return(true);
 }
Exemplo n.º 2
0
 public bool LoadFileID3(string FileName, TStreamFormat Format, TID3Version Id3Version, ref TID3Info Info)
 {
     TID3Info_Internal tmp = new TID3Info_Internal();
     if (zplay_LoadFileID3W(objptr, FileName, System.Convert.ToInt32(Format), System.Convert.ToInt32((int)(Id3Version)), ref tmp) == 1)
     {
         Info.Album = Marshal.PtrToStringUni(tmp.Album);
         Info.Artist = Marshal.PtrToStringUni(tmp.Artist);
         Info.Comment = Marshal.PtrToStringUni(tmp.Comment);
         Info.Genre = Marshal.PtrToStringUni(tmp.Genre);
         Info.Title = Marshal.PtrToStringUni(tmp.Title);
         Info.Track = Marshal.PtrToStringUni(tmp.Track);
         Info.Year = Marshal.PtrToStringUni(tmp.Year);
         return true;
     }
     else
     {
         return false;
     }
 }
Exemplo n.º 3
0
 public bool LoadID3(TID3Version Id3Version, ref TID3Info Info)
 {
     if (zplay_LoadID3W(objptr, System.Convert.ToInt32((int)(Id3Version)), ref Info) == 1)
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Exemplo n.º 4
0
 public bool LoadFileID3(string FileName, TStreamFormat Format, TID3Version Id3Version, ref TID3Info Info)
 {
     if (zplay_LoadFileID3W(objptr, FileName, System.Convert.ToInt32(Format), System.Convert.ToInt32((int)(Id3Version)), ref Info) == 1)
     {
         return true;
     }
     else
     {
         return false;
     }
 }
Exemplo n.º 5
0
public bool LoadFileID3(string FileName, TStreamFormat Format, TID3Version Id3Version, ref TID3Info Info);
Exemplo n.º 6
0
public bool LoadID3(TID3Version Id3Version, ref TID3Info Info);
Exemplo n.º 7
0
 public bool LoadFileID3(string FileName, TStreamFormat Format, TID3Version Id3Version, ref TID3Info Info);
Exemplo n.º 8
0
 public bool LoadID3(TID3Version Id3Version, ref TID3Info Info);