Hi Fred thanks for the suggestion.
I replaced the previous call as you suggested. (I'm working with WAV files on Linux).
//res := uos_LoadLib(PChar(PA_FileName), PChar(SF_FileName), nil, Nil, Nil, Nil);
res := uos_LoadLib(PChar('system'), PChar('system'), PChar('system'), Nil, Nil, Nil);
Previously I got a non zero result. Now I get an exception.
Project hill3 raised exception class 'External: Unknown exception code 32'.
At address 7FB2F1563462
The call to uos_LoadLib does not return. The exception happens thre.
Hello.
Hum, I never seen that error code 32...
Did you try the uos example
SimplePlayer?
Do you get the same error?
What Linux distro are you using, with what cpu?
When do you get that error, at loading of the libraries or when playing?
If you only want to play wav files, only portaudio and sndfile libraries are needed, so:
(Look at the number of parameters)
res := uos_LoadLib(PChar('system'), PChar('system'), nil, nil, nil, nil, nil);