using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LameDLLWrap;
namespace NAudio.Lame
{
/// LAME DLL version information
public class LAMEVersion
{
/* generic LAME version */
/// LAME library major version
public int Major { get; private set; }
/// LAME library minor version
public int Minor { get; private set; }
/// LAME library 'Alpha' version flag
public bool Alpha { get; private set; }
/// LAME library 'Beta' version flag
public bool Beta { get; private set; }
/// Psychoacoustic code major version
public int PsychoAcoustic_Major { get; private set; }
/// Psychoacoustic code minor version
public int PsychoAcoustic_Minor { get; private set; }
/// Psychoacoustic code 'Alpha' version flag
public bool PsychoAcoustic_Alpha { get; private set; }
/// Psychoacoustic code 'Beta' version flag
public bool PsychoAcoustic_Beta { get; private set; }
/// Compile-time features string
public string Features { get; private set; }
/// Constructor, library-local, converts
///
internal LAMEVersion(LameDLLWrap.LAMEVersion source)
{
Major = source.major;
Minor = source.minor;
Alpha = source.alpha;
Beta = source.beta;
PsychoAcoustic_Major = source.psy_major;
PsychoAcoustic_Minor = source.psy_minor;
PsychoAcoustic_Alpha = source.psy_alpha;
PsychoAcoustic_Beta = source.psy_beta;
Features = source.features;
}
// Prevent default construction
private LAMEVersion() { }
}
///
/// Static class providing access to context-free LAME entry points
///
///
/*
public static class LameDLL
{
static LameDLL()
{
Loader.Init();
}
#region DLL version data
/// Lame Version
public static string LameVersion { get { return LibMp3Lame.LameVersion; } }
/// Lame Short Version
public static string LameShortVersion { get { return LibMp3Lame.LameShortVersion; } }
/// Lame Very Short Version
public static string LameVeryShortVersion { get { return LibMp3Lame.LameVeryShortVersion; } }
/// Lame Psychoacoustic Version
public static string LamePsychoacousticVersion { get { return LibMp3Lame.LamePsychoacousticVersion; } }
/// Lame URL
public static string LameURL { get { return LibMp3Lame.LameURL; } }
/// Lame library bit width - 32 or 64 bit
public static string LameOSBitness { get { return LibMp3Lame.LameOSBitness; } }
/// Get LAME version information
/// LAME version structure
public static NAudio.Lame.LAMEVersion GetLameVersion()
{
return new NAudio.Lame.LAMEVersion(LibMp3Lame.GetLameVersion());
}
#endregion
}
*/
}