mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 04:48:07 +02:00
* PChar -> PAnsichar
This commit is contained in:
parent
c7ec598bf9
commit
8cb2c3f606
@ -45,7 +45,7 @@ var
|
||||
ScaleData: Boolean;
|
||||
begin
|
||||
Writeln(SPlaying,FileName);
|
||||
SoundFile:=sf_open(pChar(FileName), SFM_READ, @Info);
|
||||
SoundFile:=sf_open(PAnsiChar(FileName), SFM_READ, @Info);
|
||||
If (SoundFile=Nil) then
|
||||
begin
|
||||
sf_perror(Nil);
|
||||
|
@ -410,7 +410,7 @@ type
|
||||
** to sf_perror () or sf_error_str ().
|
||||
** All calls to sf_open() should be matched with a call to sf_close().
|
||||
}
|
||||
function sf_open (path : pChar; mode : ctypes.cint; sfinfo : PSF_INFO) : PSNDFILE; cdecl;
|
||||
function sf_open (path : PAnsiChar; mode : ctypes.cint; sfinfo : PSF_INFO) : PSNDFILE; cdecl;
|
||||
external sndfilelib name 'sf_open';
|
||||
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user