This is good. :D
part which becomes a sometimes different sound needs to be improved.
WAV and OMA, Auto Cleaner for RAM disk *use for Debug or experiment
DecodeAudio_cleaner.7z (Size: 731 bytes / Downloads: 270)
2files copy to <jpcsp>\lib\windows-amd64
### DecodeAudio.bat ###
@echo off
setlocal
cls
del %2
echo %date%%time% %1 %2 >> at3p_decode.log
lib\windows-amd64\atrac3plus2wav.exe %1
echo at3p2_return_msg_%ERRORLEVEL% >> at3p_decode.log
move %1.wav %2
IF NOT EXIST "%2" ( lib\windows-amd64\HIMDRender.exe -e -i %1 -o %2 )
copy lib\windows-amd64\clean_tmp.txt %~d1%~p1\clean_tmp.bat
%~d1
cd %~p1
start /MIN /B /LOW clean_tmp.bat
endlocal
exit
#########
### clean_tmp.txt ###
@echo off
cls
ping localhost -m 110 > nul
for /f "skip=5" %%F in ('dir /b /o:d *.wav') do del %%F
for /f "skip=2" %%F in ('dir /b /o:d *.oma') do del %%F
exit
#########
part which becomes a sometimes different sound needs to be improved.
WAV and OMA, Auto Cleaner for RAM disk *use for Debug or experiment
DecodeAudio_cleaner.7z (Size: 731 bytes / Downloads: 270)
2files copy to <jpcsp>\lib\windows-amd64
### DecodeAudio.bat ###
@echo off
setlocal
cls
del %2
echo %date%%time% %1 %2 >> at3p_decode.log
lib\windows-amd64\atrac3plus2wav.exe %1
echo at3p2_return_msg_%ERRORLEVEL% >> at3p_decode.log
move %1.wav %2
IF NOT EXIST "%2" ( lib\windows-amd64\HIMDRender.exe -e -i %1 -o %2 )
copy lib\windows-amd64\clean_tmp.txt %~d1%~p1\clean_tmp.bat
%~d1
cd %~p1
start /MIN /B /LOW clean_tmp.bat
endlocal
exit
#########
### clean_tmp.txt ###
@echo off
cls
ping localhost -m 110 > nul
for /f "skip=5" %%F in ('dir /b /o:d *.wav') do del %%F
for /f "skip=2" %%F in ('dir /b /o:d *.oma') do del %%F
exit
#########