Declare Function vbmp3_init Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_free Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_open Lib "VBMP3.dll" (ByVal pszName As String, pInfo As InputInfo) As Boolean
Declare Function vbmp3_close Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_play Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_stop Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_pause Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_restart Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_seek Lib "VBMP3.dll" (ByVal sec As Long) As Boolean
Declare Function vbmp3_setPlayFrames Lib "VBMP3.dll" (ByVal frames As Long) As Boolean
Declare Function vbmp3_setPlaySamples Lib "VBMP3.dll" (ByVal samples As Long) As Boolean
Declare Function vbmp3_reload Lib "VBMP3.dll" () As Boolean
'** VBMP3 è╓ÿA **
Declare Function vbmp3_getVersion Lib "VBMP3.dll" () As Long
Declare Function vbmp3_setVbmp3Option Lib "VBMP3.dll" (pVbmp3Option As VBMP3_OPTION) As Long
Declare Sub vbmp3_getVbmp3Option Lib "VBMP3.dll" (pVbmp3Option As VBMP3_OPTION)
Declare Function vbmp3_setDecodeOption Lib "VBMP3.dll" (pDecOption As DEC_OPTION) As Long
Declare Sub vbmp3_getDecodeOption Lib "VBMP3.dll" (pDecOption As DEC_OPTION)
Declare Sub vbmp3_setWaveOutDeviceId Lib "VBMP3.dll" (ByVal id As Long)
'** âXâeü[â^âX(Ä₧è╘/ârâbâgâîü[âg) **
Declare Function vbmp3_getState Lib "VBMP3.dll" (sec As Long) As Long
Declare Function vbmp3_getPlayFrames Lib "VBMP3.dll" () As Long
Declare Function vbmp3_getPlaySamples Lib "VBMP3.dll" () As Long
Declare Function vbmp3_getTotalSamples Lib "VBMP3.dll" () As Long
Declare Function vbmp3_getWinampPlayMs Lib "VBMP3.dll" () As Long
Declare Function vbmp3_getWinampTotalSec Lib "VBMP3.dll" () As Long
Declare Function vbmp3_getPlayBitRate Lib "VBMP3.dll" () As Long
'** Åεò±Äµô╛în **
Declare Function vbmp3_getFileType Lib "VBMP3.dll" (ByVal pszName As String) As Long
Declare Function vbmp3_getWaveOutSupport Lib "VBMP3.dll" () As Long
Declare Function vbmp3_getSilentFrames Lib "VBMP3.dll" (ByVal pszName As String) As Long
Declare Function vbmp3_getMpegInfo Lib "VBMP3.dll" (pMpegTagInfo As MPEG_INFO) As Boolean
Declare Function vbmp3_getFileInfo Lib "VBMP3.dll" (ByVal pszName As String, pTagInfo As TAG_INFO, pMpegTagInfo As MPEG_INFO) As Boolean
Declare Function vbmp3_getFileInfo2 Lib "VBMP3.dll" (ByVal pszName As String, pTagInfo As TAG_INFO, pMpegTagInfo As MPEG_INFO, pListInfo As LIST_INFO) As Boolean
'** ID3 Tag **
Declare Function vbmp3_setTagInfo Lib "VBMP3.dll" (ByVal pszName As String, pTagInfo As TAG_INFO, Optional ByVal tagSet As Long = 0, Optional ByVal tagAdd As Long = 0) As Boolean
Declare Function vbmp3_getTagInfo Lib "VBMP3.dll" (pTagInfo As TAG_INFO) As Boolean
Declare Function vbmp3_setTagInfoEX Lib "VBMP3.dll" (ByVal pszName As String, pTagInfo As TAG_INFO_11, Optional ByVal tagSet As Long = 0, Optional ByVal tagAdd As Long = 0) As Boolean
Declare Function vbmp3_getFileTagInfo Lib "VBMP3.dll" (ByVal pszName As String, pTagInfo As TAG_INFO) As Boolean
Declare Function vbmp3_getFileTagInfoEX Lib "VBMP3.dll" (ByVal pszName As String, pTagInfo As TAG_INFO_11) As Boolean
Declare Function vbmp3_getGenre Lib "VBMP3.dll" (pTagInfo As TAG_INFO) As Boolean
Declare Function vbmp3_cutID3v2 Lib "VBMP3.dll" (ByVal pszName As String) As Boolean
'** SIâtâBü[âïâh **
Declare Function vbmp3_setListInfo Lib "VBMP3.dll" (ByVal pszName As String, pListInfo As LIST_INFO) As Boolean
Declare Function vbmp3_getListInfo Lib "VBMP3.dll" (pListInfo As LIST_INFO) As Boolean
Declare Function vbmp3_setListInfoExVB Lib "VBMP3.dll" (ByVal pszName As String, pListInfo As LIST_INFO_EX_VB) As Boolean
Declare Function vbmp3_getListInfoExVB Lib "VBMP3.dll" (ByVal pszName As String, pListInfo As LIST_INFO_EX_VB) As Boolean
Declare Function vbmp3_setListInfoEX2 Lib "VBMP3.dll" (ByVal pszName As String, pListInfo As LIST_INFO_EX2) As Boolean
Declare Sub vbmp3_setNotDataSiWrite Lib "VBMP3.dll" (writeFlag As Long)
'** ë╠Äîè╓ÿA(Lyrics3) **
Declare Function vbmp3_delFileLyrics3Info Lib "VBMP3.dll" (ByVal pszName As String) As Boolean
Declare Function vbmp3_setFileLyrics3InfoVB Lib "VBMP3.dll" (ByVal pszName As String, pLyrics3Info As LYRICS3_INFO_VB, _
ByVal lyrData As String, ByVal InfData As String, ByVal ImgData As String) As Boolean
Declare Function vbmp3_getFileLyrics3InfoVB Lib "VBMP3.dll" (ByVal pszName As String, pLyrics3Info As LYRICS3_INFO_VB, _
ByVal lyrData As String, ByVal InfData As String, ByVal ImgData As String) As Boolean
Declare Function vbmp3_readLyrics3Data Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_setReadLyrics3Info Lib "VBMP3.dll" (ByVal pszName As String) As Boolean
Declare Sub vbmp3_setLyrics3InsField Lib "VBMP3.dll" (ByVal field As Long)
Declare Sub vbmp3_setLyrics3Use Lib "VBMP3.dll" (ByVal useLyrics3 As Long)
'** ë╠Äîè╓ÿA **
Declare Function vbmp3_setLyricsFile Lib "VBMP3.dll" (ByVal pszLyricsName As String) As Boolean
Declare Function vbmp3_getLyrics Lib "VBMP3.dll" (pLyricsInfo As LYRICS_INFO) As Boolean
Declare Function vbmp3_getLyrics2 Lib "VBMP3.dll" (pLyricsInfo As LYRICS_INFO2) As Boolean
Declare Function vbmp3_clearLyrics Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_checkKaraokeTag Lib "VBMP3.dll" () As Boolean
Declare Sub vbmp3_setKaraokeUse Lib "VBMP3.dll" (ByVal useKaraoke As Long)
Declare Sub vbmp3_setLyricsTime Lib "VBMP3.dll" (ByVal flag As Long)
Declare Sub vbmp3_setNotTagLyricsLine Lib "VBMP3.dll" (ByVal readFlag As Long)
Declare Sub vbmp3_setLyricsAdjustTime Lib "VBMP3.dll" (ByVal ms As Long)
Declare Sub vbmp3_setLyricsNextAdjustTime Lib "VBMP3.dll" (ByVal ms As Long)
Declare Function vbmp3_convTimeN2W Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_convTimeW2N Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_outLyricsFile Lib "VBMP3.dll" (ByVal pszLyricsName As String) As Boolean
Declare Sub vbmp3_useAtMarkTag Lib "VBMP3.dll" (ByVal useFlag As Long)
Declare Sub vbmp3_setTimeRatio Lib "VBMP3.dll" (ByVal TimeRatio As Double)
Declare Function vbmp3_checkTimeTag Lib "VBMP3.dll" () As Long
Declare Function vbmp3_getCallbackLyricsData Lib "VBMP3.dll" (ByVal pProc As Long) As Boolean
Declare Function vbmp3_getAtTagData Lib "VBMP3.dll" (pAtTagData As AT_TAG_DATA) As Boolean
Declare Function vbmp3_getLyricsPoint Lib "VBMP3.dll" () As Long
'Declare Function vbmp3_getLyricsData Lib "VBMP3.dll" (pLyricsData As LYRICS_DATA, ByVal elmNo As Long) As Long
'Declare Function vbmp3_getLyricsCount Lib "VBMP3.dll" () As Long
'** ô┴ÄΩì─É╢ **
Declare Function vbmp3_setStepPitch Lib "VBMP3.dll" (ByVal pitch As Long, Optional ByVal flames As Long = 5) As Boolean
Declare Function vbmp3_getStepPitch Lib "VBMP3.dll" () As Long
Declare Function vbmp3_setPitch Lib "VBMP3.dll" (ByVal pitch As Long) As Boolean
Declare Function vbmp3_getPitch Lib "VBMP3.dll" () As Long
Declare Sub vbmp3_setFadeIn Lib "VBMP3.dll" (ByVal fin As Long)
Declare Sub vbmp3_setFadeOut Lib "VBMP3.dll" (ByVal fout As Long)
Declare Sub vbmp3_fadeOut Lib "VBMP3.dll" ()
Declare Sub vbmp3_setOverTime Lib "VBMP3.dll" (ByVal tmOver As Long)
Declare Sub vbmp3_setSeekPlay Lib "VBMP3.dll" (ByVal seekPlay As Long)
Declare Sub vbmp3_setFrameReadFlag Lib "VBMP3.dll" (ByVal readFlag As Long)
Declare Sub vbmp3_quickSeek Lib "VBMP3.dll" (ByVal quickSeekFlag As Long)
'** â{âèâàü[âÇ **
Declare Function vbmp3_setVolume Lib "VBMP3.dll" (ByVal lVol As Long, ByVal rVol As Long) As Boolean
Declare Function vbmp3_getVolume Lib "VBMP3.dll" (lVol As Long, rVol As Long) As Boolean
Declare Sub vbmp3_setSoftVolume Lib "VBMP3.dll" (ByVal lVol As Long, ByVal rVol As Long)
Declare Sub vbmp3_getSoftVolume Lib "VBMP3.dll" (lVol As Long, rVol As Long)
'** âfâRü[âh **
Declare Function vbmp3_playDecodeWave Lib "VBMP3.dll" (ByVal pszWaveName As String) As Boolean
Declare Function vbmp3_decodeWave Lib "VBMP3.dll" (ByVal pszWaveName As String) As Boolean
'** âGâôâRü[âhîn **
Declare Function vbmp3_encodeOpen Lib "VBMP3.dll" (ByVal pszWaveName As String, pWaveForm As WAVE_FORM) As Boolean
Declare Function vbmp3_encodeStart Lib "VBMP3.dll" (ByVal pszMp3Name As String) As Boolean
Declare Function vbmp3_encodeStop Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_getEncodeState Lib "VBMP3.dll" (readSize As Long, encodeSize As Long) As Long
'** âIâVâìüEâXâyâAâiüEâOâëâCâR **
Declare Sub vbmp3_getWave Lib "VBMP3.dll" (pWaveL As Long, pWaveR As Long)
Declare Sub vbmp3_getSpectrum Lib "VBMP3.dll" (pSpecL As Long, pSpecR As Long)
Declare Sub vbmp3_setFftWindow Lib "VBMP3.dll" (ByVal window As Long)
Declare Sub vbmp3_setEqualizer Lib "VBMP3.dll" (pTable As Long)
'** âtâ@âCâïî`Ä«ò╧è╖ **
Declare Function vbmp3_changeWav Lib "VBMP3.dll" (ByVal pszName As String) As Boolean
Declare Function vbmp3_changeRmp Lib "VBMP3.dll" (ByVal pszName As String) As Boolean
Declare Function vbmp3_changeMp3 Lib "VBMP3.dll" (ByVal pszName As String) As Boolean
Declare Function vbmp3_cutMacBinary Lib "VBMP3.dll" (ByVal pszName As String) As Boolean
'** âRü[âïâoâbâNè╓Éö **
Declare Function vbmp3_callback Lib "VBMP3.dll" (ByVal pProc As Long) As Boolean
Declare Function vbmp3_startCallback Lib "VBMP3.dll" () As Boolean
Declare Function vbmp3_stopCallback Lib "VBMP3.dll" () As Boolean
'Declare Function vbmp3_startCallBackTimer Lib "VBMP3.dll" (ByVal pProc As Long, ByVal wDelay As Long, ByVal wResolution As Long, ByVal userData As Long) As Boolean
'Declare Function vbmp3_stopCallBackTimer Lib "VBMP3.dll" (ByVal pProc As Long) As Boolean
'** âfâoâbâO **
Declare Function vbmp3_getLastErrorNo Lib "VBMP3.dll" () As Long
Declare Function vbmp3_debug Lib "VBMP3.dll" () As Long
'** û╝Å╠òsÉ│ **
Declare Function vbmp3_setPlayFlames Lib "VBMP3.dll" (ByVal flames As Long) As Boolean
Declare Function vbmp3_getPlayFlames Lib "VBMP3.dll" () As Long
'** ûóÄgùp **
Declare Sub vbmp3_startAnalyzeThread Lib "VBMP3.dll" ()
Declare Sub vbmp3_stopAnalyzeThread Lib "VBMP3.dll" ()
Declare Sub vbmp3_startAnalyze Lib "VBMP3.dll" ()
Declare Sub vbmp3_stopAnalyze Lib "VBMP3.dll" ()
Declare Function vbmp3_getWaveData Lib "VBMP3.dll" (pWaveData As WAVE_DATA) As Boolean
Public Type InputInfo
szTrackName As String * 128 'ï╚û╝
szArtistName As String * 128 '▒░├¿╜─û╝
channels As Long '┴¼▌╚┘Éö
bitrate As Long '╦▐»─┌░─(kbit/s)
samplingRate As Long '╗▌╠▀┘┌░─(Hz)
TotalSec As Long 'ëëætÄ₧è╘(s)
End Type
Public Type TAG_INFO
szTrackName As String * 128 'ï╚û╝
szArtistName As String * 128 '▒░├¿╜─û╝
szAlbumName As String * 128 '▒┘╩▐╤û╝
szYear As String * 5 '╪╪░╜öNìå
szComment As String * 128 '║╥▌─
genre As Long '╝▐¼▌┘
szGenreName As String * 128 '╝▐¼▌┘û╝
End Type
Public Type TAG_INFO_11
szTrackName As String * 128 'ï╚û╝
szArtistName As String * 128 '▒░├¿╜─û╝
szAlbumName As String * 128 '▒┘╩▐╤û╝
szYear As String * 5 '╪╪░╜öNìå
szComment As String * 128 '║╥▌─
genre As Long '╝▐¼▌┘
szGenreName As String * 128 '╝▐¼▌┘û╝
trackNo As Long 'âgâëâbâNö╘ìå (-1 = v1.0)
End Type
Public Type MPEG_INFO
version As Long '╩▐░╝▐«▌ 1:MPEG-1, 2:MPEG-2, 3:MPEG-2.5
layer As Long '┌▓╘ 1:Layer1. 2:Layer2, 3:Layer3
crcDisable As Long '┤╫░ò█î∞ 0:û│î°, 1:ùLî°
extension As Long '┤╕╜├▌╝«▌ 0:é╚é╡, 1:╠▀╫▓═▐░─
mode As Long '┴¼▌╚┘╙░─▐ 0:Stereo, 1:Joint stereo, 3:Dual channel, 4:Mono
copyright As Long 'Æÿì∞îá 0:Æÿì∞îáò█î∞éáéΦ, 1:Æÿì∞îáò█î∞é╚é╡
original As Long '╡╪╝▐┼┘ 0:║╦▀░, 1:╡╪╝▐┼┘
emphasis As Long '┤▌╠½╝╜ 0:None, 1:50/15ms, 2:Reserved, 3:CCITT j.17
channels As Long '┴¼▌╚┘Éö
bitrate As Long '╦▐»─┌░─(kbit/s)(0 é╚éτ VBRî`Ä«)
samplingRate As Long '╗▌╠▀┘┌░─(Hz)
fileSize As Long '╠º▓┘╗▓╜▐(Byte)
flames As Long '╠┌░╤Éö
TotalSec As Long 'ëëætÄ₧è╘(s)
End Type
Public Type DEC_OPTION
reduction As Long 'âTâôâvâèâôâO 0:1/1 1:1/2 2:1/4 [Default = 0]
convert As Long 'â`âââôâlâï 0:âXâeâîâI 1:âéâmâëâï[Default = 0]
freqLimit As Long 'ÄⁿögÉö[Default = 24000]
End Type
Public Type VBMP3_OPTION
inputBlock As Long 'ôⁿù═âtâîü[âÇÉö[Default = 40]
outputBlock As Long 'Åoù═âtâîü[âÇÉö[Default = 30]
inputSleep As Long 'ôⁿù═Æ╝îπé╠╜╪░╠▀Ä₧è╘(╨╪òb)[Default = 5]
outputSleep As Long 'Åoù═Æ╝îπé╠╜╪░╠▀Ä₧è╘(╨╪òb)[Default = 0]
End Type
Public Type LIST_INFO
INAM As String * 128 'ï╚û╝
IART As String * 128 'âAü[âeâBâXâgû╝
IPRD As String * 128 'É╗òiû╝
ICMT As String * 128 'âRâüâôâgò╢ÄÜù±
ICRD As String * 128 'âèâèü[âXöNìå
IGNR As String * 128 'âWâââôâïû╝
ICOP As String * 128 'Æÿì∞îá
IENG As String * 128 'âGâôâWâjâA
ISRC As String * 128 'â\ü[âX
ISFT As String * 128 'â\âtâgâEâFâA
IKEY As String * 128 'âLü[âÅü[âh
ITCH As String * 128 'ïZÅpÄ╥
ICMS As String * 128 'âRâ~âbâVâçâô
ILYC As String * 128 'ë╠Äî
End Type
Public Type LIST_INFO_EX_VB
INAM As String * 512 'ï╚û╝
IART As String * 512 'âAü[âeâBâXâgû╝
IPRD As String * 512 'É╗òiû╝
ICMT As String * 512 'âRâüâôâgò╢ÄÜù±
ICRD As String * 512 'âèâèü[âXöNìå
IGNR As String * 512 'âWâââôâïû╝
ICOP As String * 512 'Æÿì∞îá
IENG As String * 512 'âGâôâWâjâA
ISRC As String * 512 'â\ü[âX
ISFT As String * 512 'â\âtâgâEâFâA
IKEY As String * 512 'âLü[âÅü[âh
ITCH As String * 512 'ïZÅpÄ╥
ICMS As String * 512 'âRâ~âbâVâçâô
IMED As String * 512 'Æåè╘
ISBJ As String * 512 'â^âCâgâï
IMP3 As String * 512 'MP3Åεò±
ILYC As String * 512 'ë╠Äî
End Type
Public Type LIST_INFO_EX2
INAM As String 'ï╚û╝
IART As String 'âAü[âeâBâXâgû╝
IPRD As String 'É╗òiû╝
ICMT As String 'âRâüâôâgò╢ÄÜù±
ICRD As String 'âèâèü[âXöNìå
IGNR As String 'âWâââôâïû╝
ICOP As String 'Æÿì∞îá
IENG As String 'âGâôâWâjâA
ISRC As String 'â\ü[âX
ISFT As String 'â\âtâgâEâFâA
IKEY As String 'âLü[âÅü[âh
ITCH As String 'ïZÅpÄ╥
ICMS As String 'âRâ~âbâVâçâô
IMED As String 'Æåè╘
ISBJ As String 'â^âCâgâï
IMP3 As String 'MP3Åεò±
ILYC As String 'ë╠Äî
End Type
Public Type LYRICS_INFO
sec As Long 'â~âèòb
LyricsNext2 As String * 128 'ăüXìsé╠ë╠Äî
LyricsNext1 As String * 128 'ăìsé╠ë╠Äî
LyricsCurrent As String * 128 'âJâîâôâgìsé╠ë╠Äî
LyricsPrev1 As String * 128 'æOìsé╠ë╠Äî
LyricsPrev2 As String * 128 'æOüXìsé╠ë╠Äî
End Type
Public Type LYRICS_INFO2
sec As Long 'â~âèòb
lineno As Long 'ìsÉö
point As Long 'âJâîâôâgìsé┼é╠â^âOé╠ê╩Æu
length As Long 'âJâîâôâgâ^âOé╠Æ╖é│üiâ~âèòbüj
LyricsNext2 As String * 128 'ăüXìsé╠ë╠Äî
LyricsNext1 As String * 128 'ăìsé╠ë╠Äî
LyricsCurrent As String * 128 'âJâîâôâgâ^âOé╠ë╠Äî
LyricsCurrentBegin As String * 128 'âJâîâôâgâ^âOéµéΦæOé╠ë╠Äî
LyricsCurrentLyrics As String * 128 'âJâîâôâgâ^âOé▄é┼é╠ë╠Äî
LyricsCurrentAll As String * 128 'âJâîâôâgìsé╠ë╠Äî
LyricsPrev1 As String * 128 'æOìsé╠ë╠Äî
LyricsPrev2 As String * 128 'æOüXìsé╠ë╠Äî
End Type
'ûóÄgùp
Public Type WAVE_DATA
channels As Long
bitsPerSample As Long
left As Long
right As Long
End Type
Public Type WAVE_FORM
channels As Long 'â`âââôâlâïÉö
bitsPerSample As Long 'ârâbâgÉö/1âTâôâvâï
samplingRate As Long 'âTâôâvâèâôâOâîü[âg
dataSize As Long 'âtâ@âCâïâTâCâY
End Type
Public Type LYRICS3_INFO_VB
IND_LYR As String * 1 'LYRâtâBü[âïâhé╠ùLû│ '0':û│é╡ '1':ùLéΦ
IND_TIMETAG As String * 1 'â^âCâÇâ^âOé╠ùLû│ '0':û│é╡ '1':ùLéΦ
AUT As String * 250 'ì∞Äîü^ì∞ï╚Ä╥û╝
EAL As String * 250 'ègÆúâAâïâoâÇû╝
EAR As String * 250 'ègÆúâAü[âeâBâXâgû╝
ETT As String * 250 'ègÆúâgâëâbâNâ^âCâgâï
End Type
'Public lyrData As String * 60000 'ë╠ÄîâtâBü[âïâh
'Public InfData As String * 60000 'Åεò±âtâBü[âïâh
'Public ImgData As String * 60000 'âCâüü[âWâtâ@âCâïé╓é╠âèâôâN
'üùâ^âO
Public Type AT_TAG_DATA
Artist As String * 1024 'âAü[âeâBâXâgû╝
Title As String * 1024 'â^âCâgâï
Album As String * 1024 'âAâïâoâÇû╝
Bgfile As String * 1024 'öwîiâtâ@âCâïû╝
Bgfolder As String * 1024 'öwîiâtâHâïâ_û╝
TimeRatio As Double 'Ä₧è╘öΣ
Offset As Long 'òΓÉ│Ä₧è╘[ms]
SilencemSec As Long 'û│ë╣òöÄ₧è╘[ms]
TaggingBy As String * 1024 'â^âOì∞ɼÄ╥
EditedBy As String * 1024 'â^âOÅCÉ│Ä╥
Silence As Long 'û│ë╣âtâîü[âÇÉö
flames As Long 'æìâtâîü[âÇÉö
TotalSec As Long 'ëëætæìÄ₧è╘[s]
TimeType As String * 1024 'ì─É╢Ä₧è╘Äφò╩(WinAmp or Normal)