Attribute VB_Name = "mod_LineSpec"
Option Explicit
Option Base 0

Public Declare Function LineSpec_Init Lib "lnspec32.dll" Alias "Init" (ByVal Reserved As Long) As Long
Public Declare Function LineSpec_RecStart Lib "lnspec32.dll" Alias "RecStart" (ByVal Reserved As Long) As Long
Public Declare Function LineSpec_RecStop Lib "lnspec32.dll" Alias "RecStop" () As Long
Public Declare Function LineSpec_RecGetPtr Lib "lnspec32.dll" Alias "RecGetPtr" (ByRef ptrTimeStamp As Long) As Long
Public Declare Function LineSpec_SetWaveData Lib "lnspec32.dll" Alias "SetWaveData" (ptrWDMem As Any) As Long
Public Declare Function LineSpec_GetFullSpectrumMono Lib "lnspec32.dll" Alias "GetFullSpectrumMono" (ptrSpectrumOut As Any) As Long
Public Declare Function LineSpec_GetFullSpectrumMonoOpt Lib "lnspec32.dll" Alias "GetFullSpectrumMonoOpt" (ptrSpectrumOut As Any) As Long
Public Declare Function LineSpec_GetFullSpectrumStereo Lib "lnspec32.dll" Alias "GetFullSpectrumStereo" (ptrSpectrumOut As Any) As Long
Public Declare Function LineSpec_GetFullSpectrumStereoOpt Lib "lnspec32.dll" Alias "GetFullSpectrumStereoOpt" (ptrSpectrumOut As Any) As Long
Public Declare Function LineSpec_SpectrumMonoMix Lib "lnspec32.dll" Alias "SpectrumMonoMix" (ptrSpectrumIn As Any, ByVal ArraySize As Long, ptrSpectrumOut As Any) As Long
Public Declare Function LineSpec_SpectrumOptimizeMono Lib "lnspec32.dll" Alias "SpectrumOptimizeMono" (ptrSpectrumIn As Any, ByVal ArraySize As Long, ptrSpectrumInOut As Any) As Long
Public Declare Function LineSpec_SpectrumOptimizeStereo Lib "lnspec32.dll" Alias "SpectrumOptimizeStereo" (ptrSpectrumIn As Any, ByVal ArraySize As Long, ptrSpectrumInOut As Any) As Long
Public Declare Function LineSpec_SpectrumCompactMono Lib "lnspec32.dll" Alias "SpectrumCompactMono" (ptrSpectrumIn As Any, ByVal ArraySizeIn As Long, ptrSpectrumInOut As Any, ByVal ArraySizeOut As Long) As Long
Public Declare Function LineSpec_SpectrumCompactStereo Lib "lnspec32.dll" Alias "SpectrumCompactStereo" (ptrSpectrumIn As Any, ByVal ArraySizeIn As Long, ptrSpectrumInOut As Any, ByVal ArraySizeOut As Long) As Long
Public Declare Function LineSpec_SpectrumCompactStereoSM Lib "lnspec32.dll" Alias "SpectrumCompactStereoSM" (ptrSpectrumIn As Any, ByVal ArraySizeIn As Long, ptrSpectrumInOut As Any, ByVal ArraySizeOut As Long) As Long
Public Declare Function LineSpec_SpectrumExpandMono Lib "lnspec32.dll" Alias "SpectrumExpandMono" (ptrSpectrumIn As Any, ByVal ArraySizeIn As Long, ptrSpectrumInOut As Any, ByVal ArraySizeOut As Long) As Long
Public Declare Function LineSpec_SpectrumExpandStereo Lib "lnspec32.dll" Alias "SpectrumExpandStereo" (ptrSpectrumIn As Any, ByVal ArraySizeIn As Long, ptrSpectrumInOut As Any, ByVal ArraySizeOut As Long) As Long
Public Declare Function LineSpec_SpectrumExpandStereoSM Lib "lnspec32.dll" Alias "SpectrumExpandStereoSM" (ptrSpectrumIn As Any, ByVal ArraySizeIn As Long, ptrSpectrumInOut As Any, ByVal ArraySizeOut As Long) As Long
