mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
22 lines
514 B
C#
22 lines
514 B
C#
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace CUETools.Codecs.LAME.Interop
|
|
{
|
|
[StructLayout(LayoutKind.Explicit), Serializable]
|
|
public class Format
|
|
{
|
|
[FieldOffset(0)]
|
|
public MP3 mp3;
|
|
[FieldOffset(0)]
|
|
public LHV1 lhv1;
|
|
[FieldOffset(0)]
|
|
public ACC acc;
|
|
|
|
public Format(AudioPCMConfig format, uint MpeBitRate, uint quality)
|
|
{
|
|
lhv1 = new LHV1(format, MpeBitRate, quality);
|
|
}
|
|
}
|
|
}
|