Changeset 284 for CoolAudio/Systems
- Timestamp:
- Oct 11, 2011, 8:31:29 AM (13 years ago)
- Location:
- CoolAudio/Systems
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CoolAudio/Systems/UAudioSystem.pas
r280 r284 179 179 if AValue = FFileName then Exit; 180 180 FFileName := AValue; 181 Close; 182 Open; 181 183 end; 182 184 -
CoolAudio/Systems/UAudioSystemMPlayer.pas
r280 r284 256 256 //MPOptions := '-af volume=' + IntToStr(IntTodB(Round(FVolume * 100), 100)) + ' ' + MPOptions;// -volume xx only supported with patched mplayer; 257 257 258 FProcess.CommandLine := TAudioSystemMPlayer(AudioSystem).FPath + ' ' + MPOptions + ' "' + FFileName+ '"';258 FProcess.CommandLine := TAudioSystemMPlayer(AudioSystem).FPath + ' ' + MPOptions + ' "' + UTF8Decode(FFileName) + '"'; 259 259 FProcess.Options := FProcess.Options + [poUsePipes, poDefaultErrorMode, poStderrToOutPut, poNoConsole]; 260 260 //InputBox('', '', FProcess.CommandLine); -
CoolAudio/Systems/UAudioSystemWindows.pas
r280 r284 226 226 Parm.dwCallback := 0; 227 227 Parm.lpstrDeviceType := DeviceName[FDeviceType]; 228 Parm.lpstrElementName := PChar( FFileName);228 Parm.lpstrElementName := PChar(UTF8Decode(FFileName)); 229 229 230 230 FFlags := 0;
Note:
See TracChangeset
for help on using the changeset viewer.