Sounds Not working Ubuntu 14.04

Deploying to Linux? Get penguinated here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 9834
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
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Post Reply

Return to “Linux”