Sounds Not working Ubuntu 14.04

Deploying to Linux? Get penguinated here.

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller, robinmiller

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7727
Joined: Sat Apr 08, 2006 7:05 am
Location: Los Angeles
Contact:

Re: Sounds Not working Ubuntu 14.04

Post by FourthWorld » Wed Jul 23, 2014 3:49 pm

This works for me on Ubuntu -

For synchronous playback:

Code: Select all

put "aplay "&quote& tFile &quote & " &" into tCmd
get shell(tCmd)
For asynchronous playback:

Code: Select all

put "aplay "&quote& tFile &quote & " &" into tCmd
open process tCmd for neither
Thanks to Monte Goulding for reminding me about "open process".
Richard Gaskin
Community volunteer LiveCode Community Liaison

LiveCode development, training, and consulting services: Fourth World Systems: http://FourthWorld.com
LiveCode User Group on Facebook : http://FaceBook.com/groups/LiveCodeUsers/

Post Reply

Return to “Linux”