Talk:Play Sound Multiplatform

From Free Pascal wiki
Jump to navigationJump to search

Additional tools


Perhaps you could also check for sox and mplayer? AFAIR these can also play sound...

Also, looks you're missing an error message when no player command can be found on Linux?

Finally (don't know if that fits into the architecture), perhaps replace the showmessage with raise Exception.Create/raise Exception.CreateFmt so the code can be used by command line programs as well...

Thanks,--BigChimp 11:04, 12 September 2014 (CEST)

Good suggestions. The Linux 'play' command invokes sox apparently (it does in Linux Mint). I was looking for a way to play WAVE files in Linux, and this wiki and the forum were full of complicated solutions, hence the component/code. Refactored now.

The title of this wiki page is not good (it was done in a hurry) Can it be changed? - MinesaDorada

Apparently you can click the move link at the top to rename... Thanks, --BigChimp 11:33, 13 September 2014 (CEST)

>Slaps forehead<  Thanks :) MinesaDorada