Difference between revisions of "Talk:Play Sound Multiplatform"

From Free Pascal wiki
Jump to navigationJump to search
(nice! Some suggestions)
 
(comments)
Line 9: Line 9:
  
 
Thanks,--[[User:BigChimp|BigChimp]] 11:04, 12 September 2014 (CEST)
 
Thanks,--[[User:BigChimp|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.  I'll refactor the code soon, but for the time being, it works as a quick solution!
 +
*The title of this wiki page is not good (it was done in a hurry)  Can it be changed?  - [[User:minesadorada|MinesaDorada]]

Revision as of 16:08, 12 September 2014

Additional tools

Interesting!

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. I'll refactor the code soon, but for the time being, it works as a quick solution!
  • The title of this wiki page is not good (it was done in a hurry) Can it be changed? - MinesaDorada