Funktioniert jetzt
Code:
[Serializable, StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct TAudioAttributes
{
public int Channels;
public int SamplesPerSec;
public int BitsPerSample;
public double PlayTime;
public UInt64 SampleCount;
public int Bitrate;
}
Code:
//TagsLibrary_GetAudioAttributes
[DllImport("TagsLib.dll", EntryPoint = "TagsLibrary_GetAudioAttributes", CharSet = CharSet.Auto)]
public static extern TTagError TagsLibrary_GetAudioAttributes(HTAGS Tags, TAudioType AudioType, ref TAudioAttributes Attributes);
War doch gar nicht so schwer.. LOL
gruss