mirror of
https://github.com/claunia/cuetools.net.git
synced 2025-12-16 18:14:25 +00:00
Refactored the LAME interop.
This commit is contained in:
17
CUETools.Codecs.LAME/Interop/MP3.cs
Normal file
17
CUETools.Codecs.LAME/Interop/MP3.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace CUETools.Codecs.LAME.Interop
|
||||
{
|
||||
[StructLayout(LayoutKind.Sequential), Serializable]
|
||||
public struct MP3 //BE_CONFIG_MP3
|
||||
{
|
||||
public uint dwSampleRate; // 48000, 44100 and 32000 allowed
|
||||
public byte byMode; // BE_MP3_MODE_STEREO, BE_MP3_MODE_DUALCHANNEL, BE_MP3_MODE_MONO
|
||||
public ushort wBitrate; // 32, 40, 48, 56, 64, 80, 96, 112, 128, 160, 192, 224, 256 and 320 allowed
|
||||
public int bPrivate;
|
||||
public int bCRC;
|
||||
public int bCopyright;
|
||||
public int bOriginal;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user