> What is the value of the handle that was returned?
> 
> Ludo

Re-hello Ludo.

That code :

if ST_Load('/home/fred/dynlib_vs_windows/libSoundTouch.so') then
   writeln('libSoundTouch.so loaded');
 if FHandle <> NilHandle then soundtouch_clear(FHandle);    
 FHandle := soundtouch_createInstance(); 
  writeln(FHandle); 
 FVersionID := soundtouch_getVersionId();
  writeln(FVersionID);
 FVersionString := StrPas(soundtouch_getVersionString());  
  writeln(FVersionString);
 soundtouch_setChannels(FHandle, 2);
 writeln('OK SetChannels');
 soundtouch_setSampleRate(FHandle, 44100);
 writeln('OK SampleRate');
 
 > Gives that result :

libSoundTouch.so loaded
22351184
10800
1.8.0
OK SetChannels
An unhandled exception occurred at $00007FE493CE2AE8:
EAccessViolation: Access violation
  $00007FE493CE2AE8
------------------
(program exited with code: 217)


                                          
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to