-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2011-03-11 at 23:20 -0600, Malcolm wrote:
Tried here and it works both from CLI and cron Gnome DE. The man page for play talks about setting the AUDIODRIVER environment variable, maybe you need to add that.
Interesting... but it doesn't work here. In the CLI I get: cer@Telcontar:~> AUDIODRIVER=oss play /tmp/time.wav play FAIL formats: can't open output file `/dev/dsp': Device or resource busy which is true. With driver "alsa" it succeeds. But inside cron it doesn't. If the driver is oss I get the above error, if it is alsa I get: ALSA lib pcm_dmix.c:1010:(snd_pcm_dmix_open) unable to open slave play FAIL formats: can't open output file `default': snd_pcm_open error: Device or resource busy which is the original error I was getting. Which openSUSE version are you using? Mine is 11.2, and I'm also using gnome. - -- Cheers, Carlos E. R. (from 11.2 x86_64 "Emerald" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (GNU/Linux) iEYEARECAAYFAk17jCwACgkQtTMYHG2NR9XmOACfZX/XIS/uT5U9BDY40/oWXIEs jRQAoIeNg24WwZDYt6X9Guu2C4ub/wd9 =kRsG -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org