[fpc-pascal]Playing sounds in Fpc?

Thomas Schatzl tom_at_work at yline.com
Thu Jul 19 03:44:17 CEST 2001


Hi again,

> [snipped PlaySound() example program]
>
> This works for sure with wav and mp3 files (verified). Doesn't with
midi's -
> didn't test other.

The docs (MS Platform SDK, highly recommened to get the documentation part
for free from MS ftp) read that it only works with waveform-audio based
files, that's why midi files don't play.
Use the MCI api to do playback of those and other types as well.

Regards,
    Thomas





More information about the fpc-pascal mailing list