@molly: Thanks for the quick response! I looked up, but as I mostly get a bunch of files and no idea, where to put them, I followed Jurassic Pork's idea. Thanks for your help though!
@Jurassic Pork: Thanks for the quick response as well! As I now wanted to test it out with the examples from the other post you related to, I get a error message as
res := uos_LoadLib(Pchar(PA_FileName), Pchar(SF_FileName), Pchar(MPG_FileName), nil) ;
is called with 4 parameters instead of 5 (according to the error message):
uos_flat.pas(1165,10) Hint: Found declaration: uos_loadlib(PChar,PChar,PChar,PChar,PChar):LongInt;
Has anything changed or am I to bad even at copy and paste
And I do not quite understand the "mechanic" in playing a sound. Where sndPlaySound() just starts to play, uos seems to need a lot more preparation:
PlayerIndex1 := 0;
uos_CreatePlayer(PlayerIndex1); //// Create the player
In1Index := uos_AddFromFile(PlayerIndex1,(pchar(pathEdit.FileName)));
uos_AddIntoDevOut(PlayerIndex1, -1, -1, uos_InputGetSampleRate(PlayerIndex1, In1Index), -1, -1, -1);
// play File
uos_Play(PlayerIndex1);
So if I want to play file xyz.wav what do I have to do? Nothing more than putting in xyz.wav for pathedit.FileName?
Thanks to anyone helping again
Greetings
gof6yogy